summaryrefslogtreecommitdiffstats
path: root/src/ukify
diff options
context:
space:
mode:
authorFrantisek Sumsal <frantisek@sumsal.cz>2023-08-09 21:57:47 +0200
committerFrantisek Sumsal <frantisek@sumsal.cz>2023-08-10 18:13:29 +0200
commit79f902eb09842cbecdf082f5ded99f2252c149ac (patch)
tree026c7010190a1a59f2357e0766bd7953d30afc34 /src/ukify
parenttools: pylint meson-render-jinja2.py (diff)
downloadsystemd-79f902eb09842cbecdf082f5ded99f2252c149ac.tar.xz
systemd-79f902eb09842cbecdf082f5ded99f2252c149ac.zip
Add .pylintrc to globally suppress warnings we don't really care about
Also, drop the respective disable directives from existing files.
Diffstat (limited to 'src/ukify')
-rwxr-xr-xsrc/ukify/test/test_ukify.py3
-rwxr-xr-xsrc/ukify/ukify.py8
2 files changed, 3 insertions, 8 deletions
diff --git a/src/ukify/test/test_ukify.py b/src/ukify/test/test_ukify.py
index 9a07f3397c..c83435ec18 100755
--- a/src/ukify/test/test_ukify.py
+++ b/src/ukify/test/test_ukify.py
@@ -1,10 +1,9 @@
#!/usr/bin/env python3
# SPDX-License-Identifier: LGPL-2.1-or-later
-# pylint: disable=missing-docstring,redefined-outer-name,invalid-name
# pylint: disable=unused-import,import-outside-toplevel,useless-else-on-loop
# pylint: disable=consider-using-with,wrong-import-position,unspecified-encoding
-# pylint: disable=protected-access
+# pylint: disable=protected-access,redefined-outer-name
import base64
import json
diff --git a/src/ukify/ukify.py b/src/ukify/ukify.py
index cf7db49bdd..0ddf56ae5e 100755
--- a/src/ukify/ukify.py
+++ b/src/ukify/ukify.py
@@ -16,12 +16,8 @@
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <https://www.gnu.org/licenses/>.
-# pylint: disable=missing-docstring,invalid-name,import-outside-toplevel
-# pylint: disable=consider-using-with,unspecified-encoding,line-too-long
-# pylint: disable=too-many-locals,too-many-statements,too-many-return-statements
-# pylint: disable=too-many-branches,too-many-lines,too-many-instance-attributes
-# pylint: disable=too-many-arguments,unnecessary-lambda-assignment,fixme
-# pylint: disable=unused-argument
+# pylint: disable=import-outside-toplevel,consider-using-with,unused-argument
+# pylint: disable=unnecessary-lambda-assignment
import argparse
import configparser