diff options
author | Ben Caimano <ben.caimano@10gen.com> | 2018-10-12 11:34:53 -0400 |
---|---|---|
committer | Ben Caimano <ben.caimano@10gen.com> | 2018-10-15 15:51:42 -0400 |
commit | afc927262eaa1ca4957a2fed5cfc7cb8c9e161f9 (patch) | |
tree | 1386602281345c8f0b8a976d49f0d0730f29e9e1 /mypy.ini | |
parent | 399135312416e5fd5e541246855bdb87fcedd6aa (diff) | |
download | mongo-afc927262eaa1ca4957a2fed5cfc7cb8c9e161f9.tar.gz |
SERVER-37588 Python linters version incompatability
Diffstat (limited to 'mypy.ini')
-rw-r--r-- | mypy.ini | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -2,7 +2,6 @@ # Check Python 2 code for type annotations in comments. python_version = 2.7 -[mypy-*] disallow_untyped_defs = False # Do not error on imported files since all imported files may not be mypy clean. follow_imports = silent @@ -11,10 +10,10 @@ follow_imports = silent # This will limit effectiveness but avoids mypy complaining about running code. ignore_missing_imports = True -[mypy-idl*] +[mypy-idl.*] # Error if any code is missing type annotations. disallow_untyped_defs = True -[mypy-lint*] +[mypy-lint.*] # Error if any code is missing type annotations. disallow_untyped_defs = True |