From 0d3f59a743b19ab6a9ec60036af4b27ae8329bbe Mon Sep 17 00:00:00 2001 From: rdbende Date: Tue, 26 Mar 2024 13:15:47 +0100 Subject: [PATCH] Fixup Ruff config --- .github/workflows/checks.yml | 2 +- pyproject.toml | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index d9d9b846..0a3e1a00 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -13,4 +13,4 @@ jobs: - uses: actions/checkout@v4 - uses: chartboost/ruff-action@v1 with: - args: --exit-zero \ No newline at end of file + args: --output-format github diff --git a/pyproject.toml b/pyproject.toml index 9e634c5d..763385ad 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,7 +10,9 @@ multi_line_output = 3 [tool.ruff] line-length = 100 builtins = ["_"] -output-format = "github" +output-format = "grouped" [tool.ruff.lint] extend-select = ["B", "SIM", "PIE", "C4", "INT", "LOG"] +extend-ignore = ["E731"] +exclude = ["cozy/ext/inject/*"]