diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b098986f..67e33da3 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -19,11 +19,11 @@ repos: hooks: - id: tox-toml-fmt - repo: https://github.com/tox-dev/pyproject-fmt - rev: "v2.24.1" + rev: "v2.25.0" hooks: - id: pyproject-fmt - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.15.17" + rev: "v0.15.18" hooks: - id: ruff-format - id: ruff-check @@ -36,7 +36,7 @@ repos: - prettier@3.8.1 - "@prettier/plugin-xml@3.4.2" - repo: https://github.com/zizmorcore/zizmor-pre-commit - rev: v1.25.2 + rev: v1.26.1 hooks: - id: zizmor - repo: meta diff --git a/pyproject.toml b/pyproject.toml index 6ff86bcb..1e24a7e8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -116,6 +116,7 @@ lint.per-file-ignores."tests/**/*.py" = [ "PLR0913", # any number of arguments in tests "PLR0917", # any number of arguments in tests "PLR2004", # Magic value used in comparison, consider replacing with a constant variable + "PYI033", # we test for legacy `# type:` comments "S101", # asserts allowed in tests "S603", # `subprocess` call: check for execution of untrusted input "UP006", # we test for old List/Tuple syntax