diff options
Diffstat (limited to 'zephyr/projects/.pylintrc')
-rw-r--r-- | zephyr/projects/.pylintrc | 30 |
1 files changed, 18 insertions, 12 deletions
diff --git a/zephyr/projects/.pylintrc b/zephyr/projects/.pylintrc index 9ca0b5f8c9..f4609e3781 100644 --- a/zephyr/projects/.pylintrc +++ b/zephyr/projects/.pylintrc @@ -1,15 +1,3 @@ -[MASTER] -init-hook='import sys; sys.path.append("/usr/lib64/python3.6/site-packages")' - -[MESSAGES CONTROL] - -disable=bad-continuation,bad-whitespace,format,fixme - -[format] - -max-line-length=88 -string-quote=double - [BASIC] additional-builtins= here, @@ -19,3 +7,21 @@ additional-builtins= register_npcx_project, register_raw_project, good-names=BUILD + +# cros lint doesn't inherit the pylintrc from the parent dir. +# These settings are copied from platform/ec/pylintrc +[MESSAGES CONTROL] + +disable= + bad-continuation, + bad-whitespace, + # These have nothing to do with black, they are just annoying + fixme, + too-many-arguments, + too-many-statements, + too-many-branches, + too-many-locals + +[format] + +string-quote=double |