From: Frantisek Sumsal Date: Thu, 3 Feb 2022 18:31:15 +0000 (+0100) Subject: test-network: disable irrelevant or one-time pylint checks X-Git-Tag: v251-rc1~356^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=87bf983c55b098440b2302009c309a539e38d09e;p=thirdparty%2Fsystemd.git test-network: disable irrelevant or one-time pylint checks --- diff --git a/test/test-network/systemd-networkd-tests.py b/test/test-network/systemd-networkd-tests.py index 6be4b0eb76c..1f962470d45 100755 --- a/test/test-network/systemd-networkd-tests.py +++ b/test/test-network/systemd-networkd-tests.py @@ -1,5 +1,8 @@ #!/usr/bin/env python3 # SPDX-License-Identifier: LGPL-2.1-or-later +# pylint: disable=line-too-long,too-many-lines,too-many-branches,too-many-statements,too-many-arguments +# pylint: disable=too-many-public-methods,too-many-boolean-expressions,invalid-name +# pylint: disable=missing-function-docstring,missing-class-docstring,missing-module-docstring # systemd-networkd tests import argparse @@ -276,6 +279,7 @@ def expectedFailureIfFQPIEIsNotAvailable(): return f def setUpModule(): + # pylint: disable=global-statement global running_units os.makedirs(network_unit_file_path, exist_ok=True) @@ -380,6 +384,7 @@ def setUpModule(): check_output('systemctl restart systemd-udevd') def tearDownModule(): + # pylint: disable=global-statement global running_units shutil.rmtree(networkd_ci_path)