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

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

View File

@ -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)