From c8b1e5a372885e7a49da17ab0014f2c2f3f7b4f3 Mon Sep 17 00:00:00 2001 From: Jeremy Bettis Date: Fri, 14 Oct 2022 12:45:31 -0600 Subject: 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 Change-Id: I443dd7f8fc4906d7eee979c1a9b666babd4e2ad8 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3957261 Tested-by: Jeremy Bettis Auto-Submit: Jeremy Bettis Reviewed-by: Sam Hurst Commit-Queue: Sam Hurst --- pylintrc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'pylintrc') 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] -- cgit v1.2.1