diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 692c7fa2a..424cc5f37 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,14 +1,13 @@ repos: - repo: https://github.com/codespell-project/codespell - rev: v2.2.4 + rev: v2.3.0 hooks: - id: codespell additional_dependencies: [tomli] - # args: ["--write-changes"] # consider enabling for auto-fif - exclude: "test/fixtures/" + exclude: ^test/fixtures/ - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.4.3 + rev: v0.6.0 hooks: - id: ruff args: ["--fix"] @@ -17,22 +16,23 @@ repos: exclude: ^git/ext/ - repo: https://github.com/shellcheck-py/shellcheck-py - rev: v0.9.0.6 + rev: v0.10.0.1 hooks: - id: shellcheck args: [--color] exclude: ^test/fixtures/polyglot$|^git/ext/ - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.5.0 + rev: v4.6.0 hooks: - id: end-of-file-fixer - exclude: test/fixtures/ + exclude: ^test/fixtures/|COPYING|LICENSE + - id: check-symlinks - id: check-toml - id: check-yaml - id: check-merge-conflict - repo: https://github.com/abravalheri/validate-pyproject - rev: v0.16 + rev: v0.19 hooks: - - id: validate-pyproject + - id: validate-pyproject diff --git a/pyproject.toml b/pyproject.toml index 6cf4b3f5d..090972eed 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -84,6 +84,6 @@ lint.unfixable = [ [tool.codespell] -ignore-words-list="gud,doesnt" +ignore-words-list="afile,assertIn,doesnt,gud,uptodate" #count = true quiet-level = 3