mirror of
https://github.com/davidhalter/parso.git
synced 2025-12-06 12:54:29 +08:00
Run mypy and flake8 in CI
This commit is contained in:
@@ -9,6 +9,13 @@ matrix:
|
||||
allow_failures:
|
||||
- python: nightly
|
||||
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
|
||||
script:
|
||||
- 'pip install coverage'
|
||||
|
||||
Reference in New Issue
Block a user