exclude export_tests.py from linting for Python<3.8
This commit is contained in:
9
.github/workflows/tests.yml
vendored
9
.github/workflows/tests.yml
vendored
@@ -53,7 +53,14 @@ jobs:
|
|||||||
|
|
||||||
- name: Lint with flake8
|
- name: Lint with flake8
|
||||||
run: |
|
run: |
|
||||||
flake8 .
|
case "${{ matrix.python-version }}" in
|
||||||
|
3.4|3.5|3.6|3.7)
|
||||||
|
flake8 --extend-exclude scripts/export_tests.py .
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
flake8 .
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user