Skip to content

Commit 42a6970

Browse files
committed
Disable too-many-positional-arguments pylint check in tests
This is a new check performed by the new `pylint` version, and we want to disable it too for all test functions. Signed-off-by: Leandro Lucarella <[email protected]>
1 parent 8915349 commit 42a6970

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_dispatch_cli.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@ def mock_client(fake_client: FakeClient) -> Generator[None, None, None]:
4848
yield
4949

5050

51-
# For test functions we want to disable some pylint checks, we need many
51+
# For test functions we want to disable some pylint checks, we need many (positional)
5252
# arguments to pass fixtures, these functions are not meant to be called directly, and
5353
# having too many locals in tests is not a problem either.
54-
# pylint: disable=too-many-arguments,too-many-locals
54+
# pylint: disable=too-many-arguments,too-many-positional-arguments,too-many-locals
5555

5656

5757
@pytest.mark.asyncio

0 commit comments

Comments
 (0)