diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 64d3910..df89581 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -15,7 +15,7 @@ jobs: - name: Install dependencies run: | - dnf install -y pre-commit git libpq-devel + dnf install -y git libpq-devel pip install poetry>=1.2 - name: Mark the working directory as safe for Git @@ -25,7 +25,7 @@ jobs: run: poetry install - name: Run pre-commit checks - run: pre-commit run --all-files + run: poetry run pre-commit run --all-files licenses: diff --git a/tox.ini b/tox.ini index f82ccef..bc9064d 100644 --- a/tox.ini +++ b/tox.ini @@ -32,7 +32,7 @@ commands= poetry run sphinx-build -W -b html -d {envtmpdir}/doctrees . _build/html [testenv:checks] -commands = pre-commit run --all-files +commands = poetry run pre-commit run --all-files [testenv:licenses] commands = poetry run devel/run-liccheck.sh