We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 102d818 commit 9da160fCopy full SHA for 9da160f
pyproject.toml
@@ -185,9 +185,19 @@ select = [
185
]
186
187
[tool.ruff.lint.isort]
188
-# Explicitly make tests "first party" as it's not in the "src" directory
189
-known-first-party = ["tests"]
190
-known-third-party = ["pip._vendor"]
+section-order = [
+ "future",
+ "standard-library",
191
+ "third-party",
192
+ "vendored",
193
+ "first-party",
194
+ "tests",
195
+ "local-folder",
196
+]
197
+
198
+[tool.ruff.lint.isort.sections]
199
+"vendored" = ["pip._vendor"]
200
+"tests" = ["tests"]
201
202
[tool.ruff.lint.mccabe]
203
max-complexity = 33 # default is 10
0 commit comments