Skip to content

Commit ec4a831

Browse files
committed
Pre-commit update
1 parent 4e911aa commit ec4a831

File tree

1 file changed

+24
-26
lines changed

1 file changed

+24
-26
lines changed

.pre-commit-config.yaml

Lines changed: 24 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -13,32 +13,30 @@
1313
# See https://github.com/pre-commit/pre-commit
1414

1515
repos:
16-
# Standard hooks
17-
- repo: https://github.com/pre-commit/pre-commit-hooks
18-
rev: v4.5.0
19-
hooks:
20-
- id: check-added-large-files
21-
- id: check-case-conflict
22-
- id: check-docstring-first
23-
- id: check-merge-conflict
24-
- id: check-symlinks
25-
- id: check-toml
26-
- id: debug-statements
27-
- id: mixed-line-ending
28-
- id: requirements-txt-fixer
29-
- id: trailing-whitespace
30-
31-
- repo: https://github.com/psf/black
32-
rev: 24.1.1
33-
hooks:
34-
- id: black
16+
- repo: https://github.com/astral-sh/ruff-pre-commit
17+
rev: v0.8.0
18+
hooks:
19+
# Run the linter.
20+
- id: ruff
21+
args: [ --fix ]
22+
# Run the formatter.
23+
- id: ruff-format
3524

36-
- repo: https://github.com/astral-sh/ruff-pre-commit
37-
rev: v0.2.1
38-
hooks:
39-
- id: ruff
25+
- repo: https://github.com/pre-commit/pre-commit-hooks
26+
rev: v5.0.0
27+
hooks:
28+
- id: check-added-large-files
29+
- id: check-case-conflict
30+
- id: check-docstring-first
31+
- id: check-merge-conflict
32+
- id: check-symlinks
33+
- id: check-toml
34+
- id: debug-statements
35+
- id: mixed-line-ending
36+
- id: requirements-txt-fixer
37+
- id: trailing-whitespace
4038

41-
- repo: https://github.com/asottile/pyupgrade
42-
rev: v3.15.0
39+
- repo: https://github.com/asottile/pyupgrade
40+
rev: v3.19.0
4341
hooks:
44-
- id: pyupgrade
42+
- id: pyupgrade

0 commit comments

Comments
 (0)