Update and adjust pre-commit hooks by EliahKagan · Pull Request #1953 · gitpython-developers/GitPython
@@ -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"]Expand All
@@ -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
- repo: https://github.com/astral-sh/ruff-pre-commit rev: v0.4.3 rev: v0.6.0 hooks: - id: ruff args: ["--fix"]
- 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