From b4168389577fae859041a858cbe86a408a3a56db Mon Sep 17 00:00:00 2001 From: Alex Lowe Date: Mon, 10 Aug 2026 21:33:49 +0000 Subject: [PATCH] fix(lint): ignore PLR0917 in tests alongside PLR0913 make lint-ruff was failing with PLR0917 (too many positional arguments) errors across several test files that use many fixtures and parametrize decorators. Extend the existing test per-file-ignore for PLR0913 to also cover PLR0917, for the same reasoning. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 5fe695694..34cdf18ce 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -403,6 +403,7 @@ classmethod-decorators = ["pydantic.validator", "pydantic.root_validator"] "S103", # Allow `os.chmod` setting a permissive mask `0o555` on file or directory "S108", # Allow Probable insecure usage of temporary file or directory "PLR0913", # Allow many arguments for test functions (useful if we need many fixtures) + "PLR0917", # Allow many positional arguments for test functions (same reason as PLR0913) "PLR2004", # Allow magic values in tests "SLF", # Allow accessing private members from tests. "FBT001", # Boolean-typed parametrized tests can be useful