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 1fc81e3 commit 2eb68a9Copy full SHA for 2eb68a9
pyproject.toml
@@ -138,6 +138,7 @@ distlib = "https://bitbucket.org/pypa/distlib/raw/master/LICENSE.txt"
138
webencodings = "https://github.com/SimonSapin/python-webencodings/raw/master/LICENSE"
139
140
[tool.ruff]
141
+src = ["src"]
142
target-version = "py37"
143
line-length = 88
144
extend-exclude = [
@@ -173,9 +174,8 @@ select = [
173
174
]
175
176
[tool.ruff.lint.isort]
-# We need to explicitly make pip "first party" as it's imported by code in
177
-# the docs and tests directories.
178
-known-first-party = ["pip"]
+# Explicitly make tests "first party" as it's not in the "src" directory
+known-first-party = ["tests"]
179
known-third-party = ["pip._vendor"]
180
181
[tool.ruff.lint.mccabe]
0 commit comments