Skip to content

Commit 6d0e850

Browse files
authored
fasta2a as known-third-party (#2176)
1 parent b14ce91 commit 6d0e850

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

pyproject.toml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,6 @@ extend-select = [
125125
"TID251",
126126
]
127127
flake8-quotes = { inline-quotes = "single", multiline-quotes = "double" }
128-
isort = { combine-as-imports = true, known-first-party = ["pydantic_ai"] }
129128
mccabe = { max-complexity = 15 }
130129
ignore = [
131130
"D100", # ignore missing docstring in module
@@ -135,6 +134,12 @@ ignore = [
135134
"D107", # ignore missing docstring in __init__ methods
136135
]
137136

137+
[tool.ruff.lint.isort]
138+
combine-as-imports = true
139+
known-first-party = ["pydantic_ai"]
140+
# weird issue with ruff thinking fasta2a is still editable
141+
known-third-party = ["fasta2a"]
142+
138143
[tool.ruff.lint.pydocstyle]
139144
convention = "google"
140145

@@ -187,10 +192,7 @@ files = "tests/typed_agent.py,tests/typed_graph.py"
187192
strict = true
188193

189194
[tool.pytest.ini_options]
190-
testpaths = [
191-
"tests",
192-
"docs/.hooks"
193-
]
195+
testpaths = ["tests", "docs/.hooks"]
194196
xfail_strict = true
195197
filterwarnings = [
196198
"error",

0 commit comments

Comments
 (0)