summaryrefslogtreecommitdiff
path: root/zephyr/zmake/.pylintrc
diff options
context:
space:
mode:
authorJeremy Bettis <jbettis@google.com>2022-02-08 13:15:23 -0700
committerCommit Bot <commit-bot@chromium.org>2022-02-12 04:29:46 +0000
commit0ab6c10da0394f2887a26b1ac7c696baed801517 (patch)
tree085451ea93585ee33589b730ebce3ed77b8fc13b /zephyr/zmake/.pylintrc
parent4a4bc3599b8885d55eb0e7650cfe758c82ecc23a (diff)
downloadchrome-ec-0ab6c10da0394f2887a26b1ac7c696baed801517.tar.gz
zmake: Add .pylintrc and some fixes for pylint
With this .pylintrc, and these tweaks, there are no errors reported by cros lint. Many warnings, but no errors. Added a pylint call to run_tests.sh. It only checks for errors, once we get the warnings cleaned up, we should change it to call cros lint instead. BRANCH=None BUG=b:217969201 TEST=run_tests.sh Change-Id: I1ad75fda3d6f818f1d1c66654823bac97ce09942 Signed-off-by: Jeremy Bettis <jbettis@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3449124 Reviewed-by: Jack Rosenthal <jrosenth@chromium.org> Commit-Queue: Jeremy Bettis <jbettis@chromium.org> Tested-by: Jeremy Bettis <jbettis@chromium.org>
Diffstat (limited to 'zephyr/zmake/.pylintrc')
-rw-r--r--zephyr/zmake/.pylintrc11
1 files changed, 11 insertions, 0 deletions
diff --git a/zephyr/zmake/.pylintrc b/zephyr/zmake/.pylintrc
new file mode 100644
index 0000000000..dc6b05c654
--- /dev/null
+++ b/zephyr/zmake/.pylintrc
@@ -0,0 +1,11 @@
+[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