diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 3c590c5..800ed78 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -33,10 +33,10 @@ jobs: - name: Lint with flake8 run: | # stop the build if there are Python syntax errors or undefined names - ruff --select=E9,F63,F7,F82 --exit-zero --statistics . - ruff --select=E9,F63,F7,F82 --show-source . + poetry run ruff --select=E9,F63,F7,F82 --exit-zero --statistics . + poetry run ruff --select=E9,F63,F7,F82 --show-source . # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide - ruff --exit-zero --statistics + poetry run ruff --exit-zero --statistics - name: Test with pytest run: | - pytest + poetry run pytest diff --git a/.gitignore b/.gitignore index b0e8307..8d79d39 100644 --- a/.gitignore +++ b/.gitignore @@ -5,6 +5,7 @@ __pycache__/ *.py[cod] *$py.class *.log +.ruff_cache # C extensions *.so