fix: remove invalid bandit B608 test, disable pyupgrade (Python 3.14 incompatible)

This commit is contained in:
Krzysztof Rudnicki 2026-01-06 13:11:34 +01:00
parent c834bcb433
commit e593181785

View File

@ -127,7 +127,7 @@ repos:
- pyproject.toml - pyproject.toml
- --severity-level=high - --severity-level=high
- --confidence-level=medium - --confidence-level=medium
- --skip=B113,B608 - --skip=B113
additional_dependencies: ["bandit[toml]"] additional_dependencies: ["bandit[toml]"]
exclude: ^(Bash/|\.venv/|tests/|.*test.*\.py$) exclude: ^(Bash/|\.venv/|tests/|.*test.*\.py$)
@ -144,14 +144,14 @@ repos:
# exclude: ^(Bash/|\.venv/) # exclude: ^(Bash/|\.venv/)
# =========================================================================== # ===========================================================================
# PYUPGRADE - Upgrade Python syntax # PYUPGRADE - Upgrade Python syntax (disabled - incompatible with Python 3.14)
# =========================================================================== # ===========================================================================
- repo: https://github.com/asottile/pyupgrade # - repo: https://github.com/asottile/pyupgrade
rev: v3.19.0 # rev: v3.19.0
hooks: # hooks:
- id: pyupgrade # - id: pyupgrade
args: # args:
- --py310-plus # - --py310-plus
# =========================================================================== # ===========================================================================
# CODESPELL - Spell checking in code (expanded ignore list for non-English) # CODESPELL - Spell checking in code (expanded ignore list for non-English)