aboutsummaryrefslogtreecommitdiff
path: root/.pylintrc
diff options
context:
space:
mode:
authorWyatt Hepler <hepler@google.com>2020-10-29 12:52:52 -0700
committerCQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com>2020-10-30 18:53:25 +0000
commit2e3619dc017329bad7f2a6c211f734bb94362891 (patch)
tree57d1807ecd4f74bd2973577941b0a9ff293dc52a /.pylintrc
parent98d17fe68bab9552fbc4833ccee0db6678953c1f (diff)
downloadpigweed-2e3619dc017329bad7f2a6c211f734bb94362891.tar.gz
Python: Update mypy and pylint versions
Update mypy and pylint and fix several new warnings. Change-Id: I448eb306a1b7325ab6aae46f02622db781f8b6db Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/22880 Commit-Queue: Wyatt Hepler <hepler@google.com> Reviewed-by: Rob Mohr <mohrr@google.com>
Diffstat (limited to '.pylintrc')
-rw-r--r--.pylintrc7
1 files changed, 4 insertions, 3 deletions
diff --git a/.pylintrc b/.pylintrc
index 3b3216d3f..09055b805 100644
--- a/.pylintrc
+++ b/.pylintrc
@@ -63,13 +63,14 @@ confidence=
# --disable=W".
disable=bad-continuation, # Rely on yapf for formatting
fixme,
- subprocess-run-check
+ subprocess-run-check,
+ raise-missing-from,
# Enable the message, report, category or checker with the given id(s). You can
# either give multiple identifier separated by comma (,) or put this option
# multiple time (only on the command line, not in the configuration file where
# it should appear only once). See also the "--disable" option for examples.
-enable=c-extension-no-member
+enable=c-extension-no-member,
[REPORTS]
@@ -88,7 +89,7 @@ evaluation=10.0 - ((float(5 * error + warning + refactor + convention) / stateme
# Set the output format. Available formats are text, parseable, colorized, json
# and msvs (visual studio). You can also give a reporter class, e.g.
# mypackage.mymodule.MyReporterClass.
-output-format=text
+output-format=colorized
# Tells whether to display a full report or only the messages.
reports=no