Skip to content

Commit 08abb2d

Browse files
committed
run ruff linter and formatter
1 parent d621712 commit 08abb2d

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.pre-commit-config.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,14 @@ repos:
2828
- id: check-yaml
2929
- id: check-ast
3030
- repo: https://github.com/astral-sh/ruff-pre-commit
31-
# Ruff version (Used for linting)
31+
# Ruff version.
3232
rev: v0.8.6
3333
hooks:
34+
# Run the linter.
3435
- id: ruff
35-
args: [ --fix, --exit-non-zero-on-fix, --preview ]
36+
args: [ --fix ]
37+
# Run the formatter.
3638
- id: ruff-format
37-
args: [ --preview ]
3839
- repo: https://github.com/pre-commit/mirrors-mypy
3940
rev: v1.14.1
4041
hooks:

0 commit comments

Comments
 (0)