Skip to content

Commit 673741b

Browse files
committed
chore: updated pre-commit hook
1 parent e784b5b commit 673741b

File tree

1 file changed

+6
-11
lines changed

1 file changed

+6
-11
lines changed

.pre-commit-config.yaml

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,14 @@
11
fail_fast: true
22
repos:
33
- repo: https://github.com/pre-commit/pre-commit-hooks
4-
rev: v4.0.1
4+
rev: v4.6.0
55
hooks:
6-
- id: check-ast
76
- id: end-of-file-fixer
87
- id: trailing-whitespace
98

10-
- repo: https://github.com/psf/black
11-
rev: 21.5b1
9+
- repo: https://github.com/charliermarsh/ruff-pre-commit
10+
rev: v0.3.5
1211
hooks:
13-
- id: black
14-
language_version: python3
15-
16-
- repo: https://github.com/pycqa/flake8
17-
rev: 3.9.2 # pick a git hash / tag to point to
18-
hooks:
19-
- id: flake8
12+
- id: ruff
13+
args: [--fix, --exit-non-zero-on-fix]
14+
- id: ruff-format

0 commit comments

Comments
 (0)