From afc927262eaa1ca4957a2fed5cfc7cb8c9e161f9 Mon Sep 17 00:00:00 2001 From: Ben Caimano Date: Fri, 12 Oct 2018 11:34:53 -0400 Subject: SERVER-37588 Python linters version incompatability --- mypy.ini | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'mypy.ini') 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 -- cgit v1.2.1