ci: runs on windows, exclude linting for Python 3.7

This commit is contained in:
scito
2022-12-31 17:52:19 +01:00
parent 3558eba93b
commit 0212e54f42

View File

@@ -13,9 +13,7 @@ jobs:
matrix:
python-version: ["3.x", "3.11", "3.10", "3.9", "3.8", "3.7"]
platform: [ubuntu-latest, macos-latest, windows-latest]
exclude:
- platform: windows-latest
- python-version: [pypy-3.9]
# exclude:
runs-on: ${{ matrix.platform }}
@@ -44,6 +42,7 @@ jobs:
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=200 --statistics
if: matrix.python-version != '3.7'
- name: Type checking with mypy
run: |
mypy --install-types --non-interactive src/*.py tests/*.py