Skip to content

Commit

Permalink
Merge pull request #11 from hz-b/PierreSchnizer-patch-1
Browse files Browse the repository at this point in the history
[Chk] flake not making errors:
  • Loading branch information
PierreSchnizer authored Dec 16, 2024
2 parents 70dea72 + 1855c20 commit fc1b785
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
strategy:
fail-fast: False
matrix:
python-version: ["3.9", "3.10", "3.11"]
python-version: ["3.9", "3.10", "3.11"]
numpy-version: [ "numpy<2.0" , "numpy>=2.0" ]

steps:
Expand Down Expand Up @@ -55,10 +55,9 @@ jobs:
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
flake8 . --count --exit-zero --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=127 --statistics
- name: Test with pytest
run: |
find . -type f
(cd tests && python -m pytest --log-cli-level INFO)

0 comments on commit fc1b785

Please sign in to comment.