From f5e49165564266dc126473b4c8723c781c09f93f Mon Sep 17 00:00:00 2001 From: Marco Paganini Date: Fri, 1 Dec 2023 22:24:51 -0800 Subject: [PATCH] Make pylintrc compatible with version in op-desafios. - Added unspecified-encoding and consider-using-with exclusions. - The presubmit checks in op-desafios use the latest pylint version, which deprecated a number of options. This test uses a fixed version (from docker), so we can't use the same file in both repos anymore. This is a temporary condition until we update pylint here to match the version in op-desafios. --- config/pylint3.rc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/pylint3.rc b/config/pylint3.rc index 4b96025..ea156ee 100644 --- a/config/pylint3.rc +++ b/config/pylint3.rc @@ -60,6 +60,7 @@ disable=apply-builtin, bad-python3-import, basestring-builtin, buffer-builtin, + consider-using-with, cmp-builtin, cmp-method, coerce-builtin, @@ -134,6 +135,7 @@ disable=apply-builtin, unichr-builtin, unicode-builtin, unpacking-in-except, + unspecified-encoding, useless-suppression, using-cmp-argument, xrange-builtin,