diff options
author | Lidi Zheng <lidiz@google.com> | 2018-12-10 16:19:35 -0800 |
---|---|---|
committer | Lidi Zheng <lidiz@google.com> | 2018-12-10 16:21:49 -0800 |
commit | 8cb2d0546d14574977c4943d33bb103954078bbd (patch) | |
tree | c7090a0cd3c81e36c95c8a5ca0232d88a6184689 /.pylintrc-tests | |
parent | 60f2d379fec3364ff59f4f0d463b16275525863d (diff) |
Upgrade sanity Docker image to debian:stretch
* Use latest pylint in Python 3.7 (they dropped support for PY2)
* Make latest pylint happy
* Forced to upgrade to shellcheck 0.4.4
* Make shellcheck 0.4.4 happy
* Adopt reviewers' advice to reduce global disabled rules
Diffstat (limited to '.pylintrc-tests')
-rw-r--r-- | .pylintrc-tests | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/.pylintrc-tests b/.pylintrc-tests index e68755c674..0d408fbb56 100644 --- a/.pylintrc-tests +++ b/.pylintrc-tests @@ -1,3 +1,7 @@ +[MASTER] +ignore-patterns= + .+?(beta|framework).+?\.py + [VARIABLES] # TODO(https://github.com/PyCQA/pylint/issues/1345): How does the inspection @@ -115,3 +119,5 @@ disable= # if:/else: and for:/else:. useless-else-on-loop, no-else-return, + # NOTE(lidiz): Python 3 make object inheritance default, but not PY2 + useless-object-inheritance, |