File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ before_install:
2424 - sudo ldconfig
2525 - cd ..
2626 - pip install coverage coveralls
27- - if [[ $RUN_LINTER ]]; then pip install pylint black; fi
27+ - if [[ $RUN_LINTER ]]; then pip install pylint black mypy ; fi
2828 - |
2929 if [[ $RUN_SNYK && $SNYK_TOKEN ]]; then
3030 sudo apt-get install -y nodejs;
@@ -35,6 +35,7 @@ script:
3535 - if [[ $TRAVIS_PYTHON_VERSION != 'pypy' ]]; then export MM_FORCE_EXT_TESTS=1; fi
3636 - CFLAGS="-Werror -Wall -Wextra" coverage run --source maxminddb setup.py test
3737 - if [[ $RUN_SNYK && $SNYK_TOKEN ]]; then snyk test --org=maxmind --file=requirements.txt; fi
38+ - if [[ $RUN_LINTER ]]; then mypy maxminddb tests; fi
3839 - if [[ $RUN_LINTER ]]; then pylint --rcfile .pylintrc maxminddb/*.py; fi
3940 - if [[ $RUN_LINTER ]]; then ./.travis-black.sh; fi
4041
You can’t perform that action at this time.
0 commit comments