From 83ddca76902bb54735528fa365e4b6c323b640fe Mon Sep 17 00:00:00 2001 From: Tom Krizek Date: Thu, 10 Aug 2023 16:53:10 +0200 Subject: [PATCH] Silence pylint's refactoring suggestions for system_test_dir() While it'd be fairly easy to split the function up into smaller ones, the readability wouldn't be improved in this case. Silence the suggestions instead. --- bin/tests/system/conftest.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/tests/system/conftest.py b/bin/tests/system/conftest.py index 63b992eb40..fcdc379c47 100644 --- a/bin/tests/system/conftest.py +++ b/bin/tests/system/conftest.py @@ -378,7 +378,9 @@ else: return logging.getLogger(f"{system_test_name}.{request.node.name}") @pytest.fixture(scope="module") - def system_test_dir(request, env, system_test_name, mlogger): + def system_test_dir( + request, env, system_test_name, mlogger + ): # pylint: disable=too-many-statements,too-many-locals """ Temporary directory for executing the test.