Skip to content

Commit 391a0c2

Browse files
authored
MNT: Upgrade ruff pre-commit, add fixing checks (#3283)
Should make life a little easier on @DimitriPapadopoulos :-).
1 parent 15c29d8 commit 391a0c2

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.pre-commit-config.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,10 @@ repos:
1212
- id: check-toml
1313
- id: check-added-large-files
1414
- repo: https://github.com/astral-sh/ruff-pre-commit
15-
rev: v0.2.0
15+
rev: v0.4.3
1616
hooks:
1717
- id: ruff
18+
args: [ --fix ]
1819
- id: ruff-format
20+
- id: ruff
21+
args: [ --select, ISC001, --fix ]

0 commit comments

Comments
 (0)