Skip to content

Commit

Permalink
chore: Update Makefile to use 'pdm run' for running flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
drazisil committed Aug 9, 2024
1 parent 134c8d3 commit 44a7b55
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ certs:

lint:
# stop the build if there are Python syntax errors or undefined names
@flake8 pyrace --count --select=E9,F63,F7,F82 --show-source --statistics
@pdm run flake8 pyrace --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
@flake8 pyrace --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
@pdm run flake8 pyrace --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics


test:
Expand Down

0 comments on commit 44a7b55

Please sign in to comment.