Skip to content

Commit 37c9a52

Browse files
committed
feat: Updated pre-commit hooks
1 parent f21c459 commit 37c9a52

1 file changed

Lines changed: 8 additions & 15 deletions

File tree

.pre-commit-config.yaml

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,21 @@
11
fail_fast: false
22
repos:
33
- repo: https://github.com/pre-commit/pre-commit-hooks
4-
rev: v5.0.0
4+
rev: v6.0.0
55
hooks:
66
- id: check-merge-conflict
77
- id: debug-statements
88
- id: trailing-whitespace
99
- id: end-of-file-fixer
10-
- repo: https://github.com/ambv/black
11-
rev: 25.1.0
12-
hooks:
13-
- id: black
14-
- repo: https://github.com/pycqa/flake8
15-
rev: 7.2.0
16-
hooks:
17-
- id: flake8
18-
additional_dependencies:
19-
- importlib_metadata<5
2010
- repo: https://github.com/asottile/pyupgrade
21-
rev: v3.19.1
11+
rev: v3.21.2
2212
hooks:
2313
- id: pyupgrade
2414
args: [--py36-plus]
25-
- repo: https://github.com/pycqa/isort
26-
rev: 6.0.1
15+
- repo: https://github.com/astral-sh/ruff-pre-commit
16+
rev: v0.14.10
2717
hooks:
28-
- id: isort
18+
# Run the linter.
19+
- id: ruff-check
20+
# Run the formatter.
21+
- id: ruff-format

0 commit comments

Comments
 (0)