summaryrefslogtreecommitdiff
path: root/pylintrc
diff options
context:
space:
mode:
authorJeremy Bettis <jbettis@google.com>2022-10-14 12:45:31 -0600
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-10-18 13:35:32 +0000
commitc8b1e5a372885e7a49da17ab0014f2c2f3f7b4f3 (patch)
tree6e910aa8b7be7a023535d3bd9b876ad0375822ec /pylintrc
parentcbd3db225609fa0425f288d41db8f36a7979fd6f (diff)
downloadchrome-ec-c8b1e5a372885e7a49da17ab0014f2c2f3f7b4f3.tar.gz
ec: Fix cros lint warnings, and add new disables
Fix all the cros lint warnings in util/config_option_check.py except for too-many-nested-blocks and too-few-public-methods which are really just opinions and have nothing to do with formatting or potential errors. BRANCH=None BUG=None TEST=cros lint util/config_option_check.py Signed-off-by: Jeremy Bettis <jbettis@google.com> Change-Id: I443dd7f8fc4906d7eee979c1a9b666babd4e2ad8 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3957261 Tested-by: Jeremy Bettis <jbettis@chromium.org> Auto-Submit: Jeremy Bettis <jbettis@chromium.org> Reviewed-by: Sam Hurst <shurst@google.com> Commit-Queue: Sam Hurst <shurst@google.com>
Diffstat (limited to 'pylintrc')
-rw-r--r--pylintrc6
1 files changed, 4 insertions, 2 deletions
diff --git a/pylintrc b/pylintrc
index 43a8deb58b..a795a7a199 100644
--- a/pylintrc
+++ b/pylintrc
@@ -11,10 +11,12 @@ disable=
bad-whitespace,
# These have nothing to do with black, they are just annoying
fixme,
+ too-few-public-methods,
too-many-arguments,
- too-many-statements,
too-many-branches,
- too-many-locals
+ too-many-locals,
+ too-many-nested-blocks,
+ too-many-statements
[format]