Skip to content

Commit 3589af0

Browse files
committed
update precommit config
1 parent e3fad08 commit 3589af0

1 file changed

Lines changed: 3 additions & 16 deletions

File tree

.pre-commit-config.yaml

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -13,22 +13,9 @@ repos:
1313
- id: trailing-whitespace
1414
- id: mixed-line-ending
1515

16-
- repo: https://github.com/psf/black
17-
rev: 24.2.0
18-
hooks:
19-
- id: black
20-
args: ["--line-length=100"]
21-
language_version: python3
22-
2316
- repo: https://github.com/astral-sh/ruff-pre-commit
24-
rev: v0.2.1
17+
rev: v0.15.2
2518
hooks:
2619
- id: ruff
27-
args:
28-
["--fix"]
29-
30-
- repo: https://github.com/pycqa/flake8
31-
rev: 7.0.0
32-
hooks:
33-
- id: flake8
34-
language_version: python3
20+
args: ["--fix-only", "--show-fixes"]
21+
- id: ruff-format

0 commit comments

Comments
 (0)