File tree Expand file tree Collapse file tree 2 files changed +6
-12
lines changed Expand file tree Collapse file tree 2 files changed +6
-12
lines changed Original file line number Diff line number Diff line change @@ -20,10 +20,6 @@ repos:
20
20
- id : double-quote-string-fixer
21
21
- id : end-of-file-fixer
22
22
- id : trailing-whitespace
23
- - repo : https://github.com/PyCQA/isort
24
- rev : 5.12.0
25
- hooks :
26
- - id : isort
27
23
- repo : https://github.com/astral-sh/ruff-pre-commit
28
24
rev : v0.1.5
29
25
hooks :
Original file line number Diff line number Diff line change @@ -84,21 +84,19 @@ select = [
84
84
' C4' , # flake8-comprehensions
85
85
' E' , # pycodestyle
86
86
' F' , # pyflakes
87
+ ' I' , # isort
87
88
' W' , # pycodestyle
88
89
' RUF100' , # ruff
89
90
]
90
91
exclude = [
91
92
' docs/conf.py' ,
92
93
]
93
94
94
- [tool .isort ]
95
- lines_between_types = 1
96
- lines_after_imports = 2
97
- multi_line_output = 5
98
- known_first_party = ' mesonpy'
99
- line_length = 127
100
- skip = [
101
- ' docs/conf.py' ,
95
+ [tool .ruff .lint .isort ]
96
+ lines-between-types = 1
97
+ lines-after-imports = 2
98
+ known-first-party = [
99
+ ' mesonpy' ,
102
100
]
103
101
104
102
You can’t perform that action at this time.
0 commit comments