Merge pull request #28743 from mrc0mmand/lint-python-scripts
tools: lint Python scripts
This commit is contained in:
@@ -1,8 +1,5 @@
|
||||
#!/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,no-self-use
|
||||
# pylint: disable=missing-function-docstring,missing-class-docstring,missing-module-docstring
|
||||
#
|
||||
# Copyright © 2017 Michal Sekletar <msekleta@redhat.com>
|
||||
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
#!/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
|
||||
|
||||
# These tests can be executed in the systemd mkosi image when booted in QEMU. After booting the QEMU VM,
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/usr/bin/python3
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
# pylint: disable=line-too-long,invalid-name,missing-module-docstring,missing-function-docstring,too-many-statements,broad-except
|
||||
# pylint: disable=broad-except
|
||||
|
||||
import argparse
|
||||
import logging
|
||||
|
||||
+2
-4
@@ -1,10 +1,8 @@
|
||||
#!/usr/bin/env python3
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
# pylint: disable=missing-docstring,redefined-outer-name,invalid-name
|
||||
# pylint: disable=unspecified-encoding,no-else-return,line-too-long,too-many-lines
|
||||
# pylint: disable=multiple-imports,too-many-instance-attributes,consider-using-with
|
||||
# pylint: disable=global-statement
|
||||
# pylint: disable=redefined-outer-name,no-else-return,multiple-imports
|
||||
# pylint: disable=consider-using-with,global-statement
|
||||
|
||||
# udev test
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user