diff --git a/pyproject.toml b/pyproject.toml index 6d729319..a0651fde 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -157,6 +157,8 @@ max-complexity = 10 exclude_also = [ # Imports only used by type checkers "if TYPE_CHECKING:", + # Exclude ellipses used in function stubs + "^\\s*\\.\\.\\.", ] [tool.poetry-dynamic-versioning]