From aa575ca69841db02d05450879fdad7e1621a78a7 Mon Sep 17 00:00:00 2001 From: Johanna England Date: Fri, 8 Nov 2024 13:47:03 +0100 Subject: [PATCH] Remove selected rules from ruff config We are using the default rules now so no explicit list needed. The workflow has been renamed since we now lint all the things, not just things serous enough that it would prevent testing. --- .github/workflows/lint.yml | 2 +- pyproject.toml | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 2de9f42e..c36d946e 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -8,7 +8,7 @@ on: jobs: ruff: runs-on: ubuntu-latest - name: Critical lint Python + name: Lint Python steps: - uses: actions/checkout@v4 - uses: astral-sh/ruff-action@v1 diff --git a/pyproject.toml b/pyproject.toml index 363c258a..94f708b2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -39,9 +39,6 @@ name = "argus_htmx" line-length = 120 output-format = "full" -[tool.ruff.lint] -select = ["E4", "E7", "E9", "F4", "F5", "F6", "F7", "F8", "F9"] - [tool.djlint] profile="django" indent = 2