Skip to content

Commit 2dd6623

Browse files
Feat/linting once more once more (#158)
* added exclusions to linting * linting excludes too
1 parent dc80fba commit 2dd6623

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

pyproject.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,9 @@ exclude = [
189189
".git",
190190
"agentex-server",
191191
"examples/tutorials",
192+
# Exclude autogenerated Stainless code from type checking
193+
"src/agentex/resources",
194+
"src/agentex/types",
192195
]
193196

194197
reportImplicitOverride = true
@@ -329,6 +332,10 @@ extra-standard-library = ["typing_extensions"]
329332
known-first-party = ["agentex", "tests"]
330333

331334
[tool.ruff.lint.per-file-ignores]
335+
# Exclude autogenerated files from future annotations requirement
336+
"src/agentex/resources/**.py" = ["FA102"]
337+
"src/agentex/types/**.py" = ["FA102"]
338+
"src/agentex/_*.py" = ["FA102"]
332339
"bin/**.py" = ["T201", "T203"]
333340
"scripts/**.py" = ["T201", "T203"]
334341
"tests/**.py" = ["T201", "T203", "ARG001", "ARG002", "ARG005"]

0 commit comments

Comments
 (0)