From bff5c7a2486952e53036ccbe567187ca2051938b Mon Sep 17 00:00:00 2001 From: tcely Date: Fri, 7 Aug 2026 04:33:57 -0400 Subject: [PATCH] fix(ci): enable C4 and ignore specific rules The rules I disagree with are all about literals. --- .github/workflows/ci.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index bbc8b99e..80d5481b 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -125,7 +125,7 @@ jobs: continue-on-error: false run: | target_version='py312' - ignore_csv_list='C408,E701,E722,E731,I001,UP017,UP018' + ignore_csv_list='C408,C409,C410,E701,E722,E731,I001,UP017,UP018' cd tubesync # output formats: # "full" | "concise" | "grouped" | @@ -161,7 +161,7 @@ jobs: ruff check \ --target-version "${target_version}" \ --output-format github \ - --select 'E4,E7,E9,F' \ + --select 'C4,E4,E7,E9,F' \ --ignore "${ignore_csv_list}" - name: Run Django tests timeout-minutes: 5