Skip to content

Commit ba0f23c

Browse files
committed
Update precommit config
1 parent 18a85af commit ba0f23c

File tree

1 file changed

+6
-14
lines changed

1 file changed

+6
-14
lines changed

.pre-commit-config.yaml

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,10 @@ ci:
22
autofix_prs: true
33
autoupdate_commit_msg: '[pre-commit.ci] pre-commit suggestions'
44
autoupdate_schedule: quarterly
5-
# submodules: true
65

76
repos:
87
- repo: https://github.com/pre-commit/pre-commit-hooks
9-
rev: v4.5.0
8+
rev: v6.0.0
109
hooks:
1110
- id: end-of-file-fixer
1211
- id: trailing-whitespace
@@ -18,35 +17,28 @@ repos:
1817
- id: check-docstring-first
1918
- id: detect-private-key
2019

21-
#- repo: https://github.com/myint/docformatter
22-
# rev: v1.5.0
23-
# hooks:
24-
# - id: docformatter
25-
# args: [--in-place, --wrap-summaries=120, --wrap-descriptions=120]
26-
2720
- repo: https://github.com/codespell-project/codespell
28-
rev: v2.2.6
21+
rev: v2.4.1
2922
hooks:
3023
- id: codespell
3124
additional_dependencies: [tomli]
32-
#args: ["--write-changes"] # uncomment if you want to get automatic fixing
33-
25+
3426
- repo: https://github.com/psf/black
35-
rev: 23.12.1
27+
rev: 25.11.0
3628
hooks:
3729
- id: black
3830
name: Black code
3931

4032
- repo: https://github.com/executablebooks/mdformat
41-
rev: 0.7.17
33+
rev: 1.0.0
4234
hooks:
4335
- id: mdformat
4436
additional_dependencies:
4537
- mdformat-gfm
4638
- mdformat_frontmatter
4739

4840
- repo: https://github.com/astral-sh/ruff-pre-commit
49-
rev: v0.1.9
41+
rev: v0.14.5
5042
hooks:
5143
- id: ruff
5244
args: ["--fix"]

0 commit comments

Comments
 (0)