We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fdc178e commit d837684Copy full SHA for d837684
1 file changed
.pre-commit-config.yaml
@@ -1,23 +1,10 @@
1
repos:
2
-- repo: https://github.com/pre-commit/pre-commit-hooks
3
- rev: v4.5.0
+ - repo: https://github.com/astral-sh/ruff-pre-commit
+ # Ruff version.
4
+ rev: v0.4.2
5
hooks:
- - id: trailing-whitespace
6
- - id: check-added-large-files
7
- - id: check-ast
8
- - id: fix-byte-order-marker
9
- - id: check-case-conflict
10
- - id: check-docstring-first
11
- - id: check-merge-conflict
12
- - id: detect-private-key
13
- - id: end-of-file-fixer
14
-
15
-- repo: https://github.com/astral-sh/ruff-pre-commit
16
- # Ruff version.
17
- rev: v0.3.0
18
- hooks:
19
- # Run the linter.
20
- - id: ruff
21
- args: [ --fix ]
22
- # Run the formatter.
23
- - id: ruff-format
+ # Run the linter.
+ - id: ruff
+ args: [ --fix ]
+ # Run the formatter.
+ - id: ruff-format
0 commit comments