]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test-network: disable irrelevant or one-time pylint checks 22408/head
authorFrantisek Sumsal <frantisek@sumsal.cz>
Thu, 3 Feb 2022 18:31:15 +0000 (19:31 +0100)
committerFrantisek Sumsal <frantisek@sumsal.cz>
Thu, 3 Feb 2022 18:31:15 +0000 (19:31 +0100)
test/test-network/systemd-networkd-tests.py

index 6be4b0eb76c6613a31ce7793986b6ad17c47e38e..1f962470d45c27b0d74c5ffc733be16672b78e09 100755 (executable)
@@ -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)