Skip to content

Commit e361130

Browse files
authored
Use poetry to run flake8
1 parent 8f56482 commit e361130

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/python-package.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ jobs:
3939
- name: Lint with flake8
4040
run: |
4141
# stop the build if there are Python syntax errors or undefined names
42-
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
42+
poetry run flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
4343
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
44-
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
44+
poetry run flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
4545
4646
- name: Run unit tests
4747
run: poetry run pytest

0 commit comments

Comments
 (0)