From 22bd441dc5e6bca972e19f2ef878229ea403cb6f Mon Sep 17 00:00:00 2001
From: Moul <moul@moul.re>
Date: Sun, 16 Feb 2020 18:33:04 +0200
Subject: [PATCH] [lint] Add following rules to .pylintrc:

--disable=C,R0902,R0903,R0904,R0912,R0913,R0914,R0915,W0613

--enable=C0121,C0202,C0321 --jobs=0
---
 .pylintrc | 51 ++++++++++++++++++++++++++++++++++++++++++++++++---
 1 file changed, 48 insertions(+), 3 deletions(-)

diff --git a/.pylintrc b/.pylintrc
index b41ac276..a2f87e08 100644
--- a/.pylintrc
+++ b/.pylintrc
@@ -19,7 +19,7 @@ ignore-patterns=
 
 # Use multiple processes to speed up Pylint. Specifying 0 will auto-detect the
 # number of processors available to use.
-jobs=1
+jobs=0
 
 # Control the amount of potential inferred values when inferring a single
 # object. This can help the performance when dealing with large functions or
@@ -60,7 +60,41 @@ confidence=
 # --enable=similarities". If you want to run only the classes checker, but have
 # no Warning level messages displayed, use "--disable=all --enable=classes
 # --disable=W".
-disable=print-statement,
+disable=blacklisted-name,
+        invalid-name,
+        empty-docstring,
+        unneeded-not,
+        missing-module-docstring,
+        missing-class-docstring,
+        missing-function-docstring,
+        misplaced-comparison-constant,
+        unidiomatic-typecheck,
+        consider-using-enumerate,
+        consider-iterating-dictionary,
+        bad-mcs-method-argument,
+        bad-mcs-classmethod-argument,
+        single-string-used-for-slots,
+        line-too-long,
+        too-many-lines,
+        trailing-whitespace,
+        missing-final-newline,
+        trailing-newlines,
+        superfluous-parens,
+        bad-whitespace,
+        mixed-line-endings,
+        unexpected-line-ending-format,
+        bad-continuation,
+        wrong-spelling-in-comment,
+        wrong-spelling-in-docstring,
+        invalid-characters-in-docstring,
+        multiple-imports,
+        wrong-import-order,
+        ungrouped-imports,
+        wrong-import-position,
+        useless-import-alias,
+        import-outside-toplevel,
+        len-as-condition,
+        print-statement,
         parameter-unpacking,
         unpacking-in-except,
         old-raise-syntax,
@@ -78,6 +112,14 @@ disable=print-statement,
         useless-suppression,
         deprecated-pragma,
         use-symbolic-message-instead,
+        too-many-instance-attributes,
+        too-few-public-methods,
+        too-many-public-methods,
+        too-many-branches,
+        too-many-arguments,
+        too-many-locals,
+        too-many-statements,
+        unused-argument,
         apply-builtin,
         basestring-builtin,
         buffer-builtin,
@@ -144,7 +186,10 @@ disable=print-statement,
 # either give multiple identifier separated by comma (,) or put this option
 # multiple time (only on the command line, not in the configuration file where
 # it should appear only once). See also the "--disable" option for examples.
-enable=c-extension-no-member
+enable=singleton-comparison,
+       bad-classmethod-argument,
+       multiple-statements,
+       c-extension-no-member
 
 
 [REPORTS]
-- 
GitLab