diff options
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 |