Skip to content

Commit 4bd2735

Browse files
committed
fix: update pre-commit config to use ruff
1 parent f080dda commit 4bd2735

1 file changed

Lines changed: 6 additions & 7 deletions

File tree

.pre-commit-config.yaml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,10 @@ repos:
2121
- id: trailing-whitespace
2222
- id: end-of-file-fixer
2323
- id: check-yaml
24-
- repo: https://github.com/psf/black
25-
rev: 22.3.0
24+
- repo: https://github.com/astral-sh/ruff-pre-commit
25+
rev: v0.14.14
2626
hooks:
27-
- id: black
28-
- repo: https://github.com/pycqa/flake8
29-
rev: 3.9.2 # version-scanner: ignore
30-
hooks:
31-
- id: flake8
27+
- id: ruff
28+
args: [--select, I, --fix, --line-length=88, --target-version=py310]
29+
- id: ruff-format
30+
args: [--line-length=88, --target-version=py310]

0 commit comments

Comments
 (0)