summaryrefslogtreecommitdiff
path: root/mypy.ini
diff options
context:
space:
mode:
authorBen Caimano <ben.caimano@10gen.com>2018-10-12 11:34:53 -0400
committerBen Caimano <ben.caimano@10gen.com>2018-10-15 15:51:42 -0400
commitafc927262eaa1ca4957a2fed5cfc7cb8c9e161f9 (patch)
tree1386602281345c8f0b8a976d49f0d0730f29e9e1 /mypy.ini
parent399135312416e5fd5e541246855bdb87fcedd6aa (diff)
downloadmongo-afc927262eaa1ca4957a2fed5cfc7cb8c9e161f9.tar.gz
SERVER-37588 Python linters version incompatability
Diffstat (limited to 'mypy.ini')
-rw-r--r--mypy.ini5
1 files changed, 2 insertions, 3 deletions
diff --git a/mypy.ini b/mypy.ini
index 7d3f3753832..8cf0f9075b2 100644
--- a/mypy.ini
+++ b/mypy.ini
@@ -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