summaryrefslogtreecommitdiffstats
path: root/.pylintrc
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 /.pylintrc
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 '.pylintrc')
-rw-r--r--.pylintrc23
1 files changed, 23 insertions, 0 deletions
diff --git a/.pylintrc b/.pylintrc
new file mode 100644
index 0000000000..afd811a154
--- /dev/null
+++ b/.pylintrc
@@ -0,0 +1,23 @@
+[MAIN]
+extension-pkg-allow-list=lxml
+
+[MESSAGES CONTROL]
+disable=fixme,
+ invalid-name,
+ line-too-long,
+ missing-class-docstring,
+ missing-docstring,
+ missing-function-docstring,
+ missing-module-docstring,
+ too-few-public-methods,
+ too-many-arguments,
+ too-many-boolean-expressions,
+ too-many-branches,
+ too-many-instance-attributes,
+ too-many-instance-attributes,
+ too-many-lines,
+ too-many-locals,
+ too-many-public-methods,
+ too-many-return-statements,
+ too-many-statements,
+ unspecified-encoding,