Skip to content

Commit f4feab5

Browse files
committed
Update pre-commit-config
Version update (autoupdate) Remove hooks `debug-statements` and `mixed-line-endings` as rarely used.
1 parent eae084b commit f4feab5

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,14 @@ ci:
44
repos:
55
# Batch of helpful formatters and patterns
66
- repo: https://github.com/pre-commit/pre-commit-hooks
7-
rev: "v4.6.0"
7+
rev: "v5.0.0"
88
hooks:
99
- id: check-json
1010
- id: check-toml
1111
- id: check-yaml
1212
- id: trailing-whitespace
1313
- id: end-of-file-fixer
1414
- id: check-docstring-first
15-
- id: debug-statements
16-
- id: mixed-line-ending
1715

1816
# Adds a standard feel to import segments
1917
- repo: https://github.com/pycqa/isort
@@ -29,7 +27,7 @@ repos:
2927

3028
# Format code. No, I don't like everything black does either.
3129
- repo: https://github.com/psf/black-pre-commit-mirror
32-
rev: 24.4.2
30+
rev: 24.10.0
3331
hooks:
3432
- id: black
3533

@@ -45,6 +43,6 @@ repos:
4543

4644
# Type enforcement for Python
4745
- repo: https://github.com/pre-commit/mirrors-mypy
48-
rev: v1.11.1
46+
rev: v1.14.0
4947
hooks:
5048
- id: mypy

0 commit comments

Comments
 (0)