We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 37c6047 commit 957a786Copy full SHA for 957a786
.pre-commit-config.yaml
@@ -10,17 +10,11 @@ repos:
10
- id: check-json
11
- id: check-yaml
12
13
- - repo: https://github.com/charliermarsh/ruff-pre-commit
14
- rev: 'v0.0.253'
+ - repo: https://github.com/astral-sh/ruff-pre-commit
+ # Ruff version.
15
+ rev: v0.4.4
16
hooks:
17
+ # Run the linter.
18
- id: ruff
- args: [ --fix, --exit-non-zero-on-fix ]
-
19
- # code formatting with black
20
- - repo: https://github.com/psf/black
21
- rev: 22.10.0
22
- hooks:
23
- - id: black
24
- language_version: python3
25
- args:
26
- - --line-length=100
+ # Run the formatter.
+ - id: ruff-format
0 commit comments