Type Hints - __main__ (#2574)

* Add __main__ type hints

* Fix most errors of __main__

* Add ignore for script.run()

* Add type annotations for from_config_dict and from_config_file

* Fix errors

* Fix requirement error

* Add mypy type check to tests

* Enable travis typing check

* Messed up the tox deps

* Laxer type checker
This commit is contained in:
Fabian Heredia Montiel 2016-07-21 00:38:52 -05:00 committed by Paulus Schoutsen
parent d570d38d5c
commit 08226a4864
10 changed files with 58 additions and 32 deletions

View file

@ -17,6 +17,7 @@ REQUIRES = [
'pip>=7.0.0',
'jinja2>=2.8',
'voluptuous==0.8.9',
'typing>=3,<4',
'sqlalchemy==1.0.14',
]