exclude export_tests.py from linting for Python<3.8

This commit is contained in:
Mike Fährmann
2023-09-14 18:49:58 +02:00
parent d13c82eff1
commit 05f183d7d4

View File

@@ -53,7 +53,14 @@ jobs:
- name: Lint with flake8
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
run: |