mirror of
https://github.com/davidhalter/parso.git
synced 2025-12-06 21:04:29 +08:00
Run mypy and flake8 in CI
This commit is contained in:
@@ -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'
|
||||||
|
|||||||
Reference in New Issue
Block a user