diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 729ff8d0bc..9848112c31 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -22,13 +22,13 @@ repos: - id: black - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.15.20 + rev: v0.16.1 hooks: - id: ruff-check args: [--fix] - repo: https://github.com/pre-commit/mirrors-mypy - rev: v2.1.0 + rev: v2.3.0 hooks: - id: mypy exclude: tests/data @@ -60,14 +60,14 @@ repos: exclude: NEWS.rst # The errors flagged in NEWS.rst are old. - repo: https://github.com/codespell-project/codespell - rev: v2.4.2 + rev: v2.4.3 hooks: - id: codespell exclude: AUTHORS.txt|tests/data args: ["--ignore-words", tools/codespell-ignore.txt] - repo: https://github.com/zizmorcore/zizmor-pre-commit - rev: v1.26.1 + rev: v1.29.0 hooks: - id: zizmor args: ["--fix=all"] diff --git a/pyproject.toml b/pyproject.toml index 4cedb3e537..48f64c8018 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -229,6 +229,7 @@ ignore = [ "B904", # Ruff enables opinionated warnings by default "B905", # Ruff enables opinionated warnings by default "C420", # unnecessary-dict-comprehension-for-iterable (worsens readability) + "ISC004" # implicit-string-concatenation-in-collection-literal ] select = [ "ASYNC",