Add a mypy.ini file and enable some more warnings.
Also require all Python functions to have a type declaration.
This commit is contained in:
5
lib/cretonne/meta/mypy.ini
Normal file
5
lib/cretonne/meta/mypy.ini
Normal file
@@ -0,0 +1,5 @@
|
||||
[mypy]
|
||||
python_version = 2.7
|
||||
disallow_untyped_defs = True
|
||||
warn_unused_ignores = True
|
||||
warn_return_any = True
|
||||
Reference in New Issue
Block a user