Skip to content

Commit 785bbfd

Browse files
committed
Use the isort functionality from ruff instead of isort as a module
Sometimes they are conflicting.
1 parent 1c48e64 commit 785bbfd

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ repos:
1616
hooks:
1717
# Run the linter.
1818
- id: ruff
19-
args: [ --fix ]
19+
args: [ "--select", "I", "--fix" ]
2020

2121
# Run the formatter.
2222
- id: ruff-format
@@ -27,10 +27,3 @@ repos:
2727
hooks:
2828
- id: mypy
2929
additional_dependencies: []
30-
31-
# Sort imports alphabetically
32-
- repo: https://github.com/PyCQA/isort
33-
rev: 6.0.1
34-
hooks:
35-
- id: isort
36-
args: ["--profile", "black"]

0 commit comments

Comments
 (0)