diff options
author | Jeremy Bettis <jbettis@google.com> | 2022-04-11 12:37:29 -0600 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-04-11 21:51:56 +0000 |
commit | b27e04aff8b4a30ff96749b6db722d6dffc3ec14 (patch) | |
tree | 7442af1882f97b8bbed412a60be31a58bb80d81a /zephyr/test/.pylintrc | |
parent | d84412caa5ac3fd6af129d6dc4d21b3c6dcf1918 (diff) | |
download | chrome-ec-b27e04aff8b4a30ff96749b6db722d6dffc3ec14.tar.gz |
zephyr: Get zephyr BUILD.py files to 0 warnings
Create a .pylintrc and fix all docstring warnings.
BRANCH=None
BUG=b:217969201
TEST=find zephyr/projects zephyr/test -name '*.py' -print | xargs cros lint
Signed-off-by: Jeremy Bettis <jbettis@google.com>
Change-Id: I43eb7b62032463f5ffeda1f8c5ac95722ac43f8b
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3581654
Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
Commit-Queue: Jeremy Bettis <jbettis@chromium.org>
Tested-by: Jeremy Bettis <jbettis@chromium.org>
Auto-Submit: Jeremy Bettis <jbettis@chromium.org>
Diffstat (limited to 'zephyr/test/.pylintrc')
-rw-r--r-- | zephyr/test/.pylintrc | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/zephyr/test/.pylintrc b/zephyr/test/.pylintrc new file mode 100644 index 0000000000..9ca0b5f8c9 --- /dev/null +++ b/zephyr/test/.pylintrc @@ -0,0 +1,21 @@ +[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, + register_binman_project, + register_host_project, + register_host_test, + register_npcx_project, + register_raw_project, +good-names=BUILD |