Skip to content

Commit

Permalink
Update .pre-commit-config
Browse files Browse the repository at this point in the history
Updates runners and .codespell config.
  • Loading branch information
ross-spencer committed Oct 23, 2024
1 parent 7953b07 commit d324f35
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
Empty file added .codespellignore
Empty file.
15 changes: 10 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v5.0.0
hooks:
- id: check-yaml
- id: check-json
Expand All @@ -9,16 +9,16 @@ repos:
- id: trailing-whitespace
- id: check-case-conflict
- repo: https://github.com/psf/black
rev: 23.3.0
rev: 24.8.0
hooks:
- id: black
- repo: https://github.com/pycqa/isort
rev: 5.12.0
rev: 5.13.2
hooks:
- id: isort
language_version: python3
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.0.270
rev: v0.6.3
hooks:
- id: ruff
args: ["--fix", "--show-fixes"]
Expand All @@ -27,9 +27,10 @@ repos:
hooks:
- id: markdownlint
- repo: https://github.com/codespell-project/codespell
rev: v2.2.4
rev: v2.3.0
hooks:
- id: codespell
args: [-I, .codespellignore]
- repo: local
hooks:
- id: pylint
Expand All @@ -43,3 +44,7 @@ repos:
"-sn", # Don't display the pylint score.
"--rcfile=.pylintrc"
]
exclude: |
(?x) (
^html/
)

0 comments on commit d324f35

Please sign in to comment.