Browse code

disable pylint warnings recommending with/open syntax

Hanno Böck authored on15/05/2021 08:30:07
Showing1 changed files
... ...
@@ -12,8 +12,8 @@ class TestCodingstyle(unittest.TestCase):
12 12
                        + pyfiles, check=True)
13 13
         subprocess.run(["pyflakes"] + pyfiles, check=True)
14 14
 
15
-        pylint_disable = "missing-docstring,invalid-name," \
16
-                         + "too-many-arguments,duplicate-code"
15
+        pylint_disable = "missing-docstring,invalid-name,duplicate-code," \
16
+                         + "too-many-arguments,consider-using-with"
17 17
         subprocess.run(["pylint", "--disable=%s" % pylint_disable]
18 18
                        + pyfiles, check=True)
19 19