We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e784b5b commit 673741bCopy full SHA for 673741b
.pre-commit-config.yaml
@@ -1,19 +1,14 @@
1
fail_fast: true
2
repos:
3
- repo: https://github.com/pre-commit/pre-commit-hooks
4
- rev: v4.0.1
+ rev: v4.6.0
5
hooks:
6
- - id: check-ast
7
- id: end-of-file-fixer
8
- id: trailing-whitespace
9
10
- - repo: https://github.com/psf/black
11
- rev: 21.5b1
+ - repo: https://github.com/charliermarsh/ruff-pre-commit
+ rev: v0.3.5
12
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
+ - id: ruff
+ args: [--fix, --exit-non-zero-on-fix]
+ - id: ruff-format
0 commit comments