Skip to content

Commit f5a1630

Browse files
authored
Add ruff auto sort imports hook (#3342)
1 parent 6cdf9d2 commit f5a1630

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.pre-commit-config.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@ repos:
5050
rev: v0.11.3
5151
hooks:
5252
- id: ruff
53+
args: ["check", "--select", "I", "--fix"]
54+
fail_fast: true
55+
- id: ruff
5356
- repo: local
5457
hooks:
5558
- id: pylint

0 commit comments

Comments
 (0)