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:
committed by
Paulus Schoutsen
parent
d570d38d5c
commit
08226a4864
@@ -8,8 +8,13 @@ matrix:
|
||||
env: TOXENV=requirements
|
||||
- python: "3.5"
|
||||
env: TOXENV=lint
|
||||
- python: "3.5"
|
||||
env: TOXENV=typing
|
||||
- python: "3.5"
|
||||
env: TOXENV=py35
|
||||
allow_failures:
|
||||
- python: "3.5"
|
||||
env: TOXENV=typing
|
||||
cache:
|
||||
directories:
|
||||
- $HOME/.cache/pip
|
||||
|
||||
Reference in New Issue
Block a user