Skip to content

Commit

Permalink
Merge pull request #1953 from EliahKagan/pre-commit
Browse files Browse the repository at this point in the history
Update and adjust pre-commit hooks
  • Loading branch information
Byron authored Aug 17, 2024
2 parents b630eaf + cae0d87 commit 900fc33
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
18 changes: 9 additions & 9 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 900fc33

Please sign in to comment.