Skip to content

Commit 36a2daa

Browse files
committed
pre-commit: Replace flake8, isort, and pyupgrade with ruff
1 parent ae9d626 commit 36a2daa

File tree

1 file changed

+5
-13
lines changed

1 file changed

+5
-13
lines changed

.pre-commit-config.yaml

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,14 @@
44
# pre-commit autoupdate
55
repos:
66
- repo: https://github.com/pre-commit/pre-commit-hooks
7-
rev: v4.3.0
7+
rev: v4.4.0
88
hooks:
99
- id: trailing-whitespace
1010
- id: end-of-file-fixer
1111
exclude: '.*\.pth$'
1212
- id: debug-statements
13-
- repo: https://github.com/PyCQA/isort
14-
rev: 5.10.1
13+
- repo: https://github.com/charliermarsh/ruff-pre-commit
14+
rev: v0.0.253
1515
hooks:
16-
- id: isort
17-
- repo: https://github.com/asottile/pyupgrade
18-
rev: v3.2.2
19-
hooks:
20-
- id: pyupgrade
21-
args: [--py36-plus]
22-
- repo: https://github.com/PyCQA/flake8
23-
rev: 5.0.4
24-
hooks:
25-
- id: flake8
16+
- id: ruff
17+
# args: [--fix, --exit-non-zero-on-fix]

0 commit comments

Comments
 (0)