Skip to content

Commit

Permalink
exclude _version.py from flake8 check
Browse files Browse the repository at this point in the history
  • Loading branch information
pehses committed Feb 6, 2025
1 parent 5c660da commit 212a9ce
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test_action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,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 --exclude twixtools/twixzip.py
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics --exclude _version.py
# 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 --exclude twixtools/twixzip.py
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics --exclude _version.py
- name: Test with pytest
run: |
pytest
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ dependencies = [
"numpy",
"scipy",
"matplotlib",
"setuptools",
"tqdm"
]

Expand Down

0 comments on commit 212a9ce

Please sign in to comment.