Skip to content

Commit 2b9b9db

Browse files
committed
CI: Use poetry to run flake8
1 parent 4494255 commit 2b9b9db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/pythonpackage.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ jobs:
2323
- name: Lint with flake8
2424
run: |
2525
# stop the build if there are Python syntax errors or undefined names
26-
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
26+
poetry run flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
2727
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
28-
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
28+
poetry run flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
2929
- name: Test with pytest
3030
run: |
3131
poetry run pytest

0 commit comments

Comments
 (0)