From 8cb2d0546d14574977c4943d33bb103954078bbd Mon Sep 17 00:00:00 2001 From: Lidi Zheng Date: Mon, 10 Dec 2018 16:19:35 -0800 Subject: 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 --- .pylintrc-tests | 6 ++++++ 1 file changed, 6 insertions(+) (limited to '.pylintrc-tests') 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, -- cgit v1.2.3