Run mypy and flake8 in CI

This commit is contained in:
Dave Halter
2020-07-25 15:54:55 +02:00
parent 67904f4d24
commit b176ed6eee

View File

@@ -9,6 +9,13 @@ matrix:
allow_failures: allow_failures:
- python: nightly - python: nightly
include: include:
- python: 3.8
install:
- 'pip install .[qa]'
script:
# Ignore F401, which are unused imports. flake8 is a primitive tool and is sometimes wrong.
- 'flake8 --extend-ignore F401 parso test/*.py setup.py scripts/'
- mypy parso
- python: 3.8.2 - python: 3.8.2
script: script:
- 'pip install coverage' - 'pip install coverage'