setup travis to check mypy

This commit is contained in:
xmatthias 2018-05-31 22:09:31 +02:00
parent 3fb1dd02f1
commit 41a47df93f
2 changed files with 5 additions and 1 deletions

View File

@ -13,7 +13,7 @@ addons:
install:
- ./install_ta-lib.sh
- export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
- pip install --upgrade flake8 coveralls pytest-random-order
- pip install --upgrade flake8 coveralls pytest-random-order mypy
- pip install -r requirements.txt
- pip install -e .
jobs:
@ -26,6 +26,7 @@ jobs:
- cp config.json.example config.json
- python freqtrade/main.py hyperopt -e 5
- script: flake8 freqtrade
- script: mypy freqtrade
after_success:
- coveralls
notifications:

View File

@ -2,3 +2,6 @@
#ignore =
max-line-length = 100
max-complexity = 12
[mypy]
ignore_missing_imports = True