Fixes for mypy 0.600 (#324)

* Remove the mypy version constraint and set strict_optional to False.

* Add type annotations for `ISA` variables.

mypy 0.600 seems to require explicit annotations here.

* Annotate the ISA variables in the defs.py files too.
This commit is contained in:
Dan Gohman
2018-05-03 12:12:19 -07:00
committed by GitHub
parent 69468915d5
commit 846a71d93b
10 changed files with 15 additions and 9 deletions

View File

@@ -2,3 +2,4 @@
disallow_untyped_defs = True
warn_unused_ignores = True
warn_return_any = True
strict_optional = False