From e593181785873dcc38ffbb1dc9313cafeec48070 Mon Sep 17 00:00:00 2001 From: Krzysztof kuhy Rudnicki Date: Tue, 6 Jan 2026 13:11:34 +0100 Subject: [PATCH] fix: remove invalid bandit B608 test, disable pyupgrade (Python 3.14 incompatible) --- .pre-commit-config.yaml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 519595b..9a61a76 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -127,7 +127,7 @@ repos: - pyproject.toml - --severity-level=high - --confidence-level=medium - - --skip=B113,B608 + - --skip=B113 additional_dependencies: ["bandit[toml]"] exclude: ^(Bash/|\.venv/|tests/|.*test.*\.py$) @@ -144,14 +144,14 @@ repos: # exclude: ^(Bash/|\.venv/) # =========================================================================== - # PYUPGRADE - Upgrade Python syntax + # PYUPGRADE - Upgrade Python syntax (disabled - incompatible with Python 3.14) # =========================================================================== - - repo: https://github.com/asottile/pyupgrade - rev: v3.19.0 - hooks: - - id: pyupgrade - args: - - --py310-plus + # - repo: https://github.com/asottile/pyupgrade + # rev: v3.19.0 + # hooks: + # - id: pyupgrade + # args: + # - --py310-plus # =========================================================================== # CODESPELL - Spell checking in code (expanded ignore list for non-English)