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:
Jakob Stoklund Olesen
2017-03-30 19:52:06 -07:00
parent fc979c474f
commit 98ecebd85b
4 changed files with 15 additions and 8 deletions

View File

@@ -0,0 +1,5 @@
[mypy]
python_version = 2.7
disallow_untyped_defs = True
warn_unused_ignores = True
warn_return_any = True