diff --git a/pyproject.toml b/pyproject.toml index 9970ad7a..8c2270c3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -189,6 +189,9 @@ exclude = [ ".git", "agentex-server", "examples/tutorials", + # Exclude autogenerated Stainless code from type checking + "src/agentex/resources", + "src/agentex/types", ] reportImplicitOverride = true @@ -329,6 +332,10 @@ extra-standard-library = ["typing_extensions"] known-first-party = ["agentex", "tests"] [tool.ruff.lint.per-file-ignores] +# Exclude autogenerated files from future annotations requirement +"src/agentex/resources/**.py" = ["FA102"] +"src/agentex/types/**.py" = ["FA102"] +"src/agentex/_*.py" = ["FA102"] "bin/**.py" = ["T201", "T203"] "scripts/**.py" = ["T201", "T203"] "tests/**.py" = ["T201", "T203", "ARG001", "ARG002", "ARG005"]