Skip to content

Commit 957a786

Browse files
committed
Uses ruff formatter
1 parent 37c6047 commit 957a786

File tree

1 file changed

+6
-12
lines changed

1 file changed

+6
-12
lines changed

.pre-commit-config.yaml

+6-12
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,11 @@ repos:
1010
- id: check-json
1111
- id: check-yaml
1212

13-
- repo: https://github.com/charliermarsh/ruff-pre-commit
14-
rev: 'v0.0.253'
13+
- repo: https://github.com/astral-sh/ruff-pre-commit
14+
# Ruff version.
15+
rev: v0.4.4
1516
hooks:
17+
# Run the linter.
1618
- id: ruff
17-
args: [ --fix, --exit-non-zero-on-fix ]
18-
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
19+
# Run the formatter.
20+
- id: ruff-format

0 commit comments

Comments
 (0)