From 7558e7d06a3a34c7eb8dcd7db6731152709267ee Mon Sep 17 00:00:00 2001 From: Benedikt Fuchs Date: Sun, 15 Sep 2024 14:39:37 +0200 Subject: [PATCH] use pytest plugins for linter --- .github/workflows/ci.yml | 3 --- pyproject.toml | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 05dc829..97e52ac 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -49,7 +49,6 @@ jobs: shell: bash image: ${{steps.docker-build.outputs.imageid}} run: | - ruff . && black --check . pytest -vv prep-vars: runs-on: ubuntu-latest @@ -80,8 +79,6 @@ jobs: cache: 'poetry' - name: Install Dependencies run: poetry install - - name: Run linter - run: poetry run ruff . - name: Run tests run: poetry run pytest -vv build-n-publish: diff --git a/pyproject.toml b/pyproject.toml index eef37ce..d9d5b90 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -39,7 +39,7 @@ line-length = 120 target-version = 'py39' [tool.pytest.ini_options] -addopts = "--mypy -n auto" +addopts = "--mypy --black --ruff -n auto" filterwarnings = [ "error", "ignore:SelectableGroups dict interface is deprecated. Use select."