summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2022-08-01 23:04:58 +0200
committerSébastien Helleu <flashcode@flashtux.org>2022-08-03 21:51:51 +0200
commitfe892460ba3c56f4876f5ce1450b1c673d136b59 (patch)
tree691079fa1dd592c04ea583dc792e883a4ad433b8 /tests
parent0bb7a347489d4d9aec29e5af1e4b699284580859 (diff)
downloadweechat-fe892460ba3c56f4876f5ce1450b1c673d136b59.zip
tests: fix pylint errors
Diffstat (limited to 'tests')
-rwxr-xr-xtests/scripts/python/testapigen.py4
-rwxr-xr-xtests/scripts/python/unparse.py2
2 files changed, 6 insertions, 0 deletions
diff --git a/tests/scripts/python/testapigen.py b/tests/scripts/python/testapigen.py
index 3d529ea4c..1baa62d44 100755
--- a/tests/scripts/python/testapigen.py
+++ b/tests/scripts/python/testapigen.py
@@ -31,6 +31,10 @@ It uses the following scripts:
# pylint: disable=wrong-import-order,wrong-import-position
# pylint: disable=useless-object-inheritance
+# pylint: disable=consider-using-f-string
+# pylint: disable=super-with-arguments
+# pylint: disable=consider-using-with
+# pylint: disable=unspecified-encoding
from __future__ import print_function
import argparse
diff --git a/tests/scripts/python/unparse.py b/tests/scripts/python/unparse.py
index d9c7516ad..f9afdf69a 100755
--- a/tests/scripts/python/unparse.py
+++ b/tests/scripts/python/unparse.py
@@ -23,6 +23,8 @@ Unparse AST tree to generate scripts in all supported languages
"""
# pylint: disable=too-many-lines,unnecessary-pass,useless-object-inheritance
+# pylint: disable=consider-using-f-string
+# pylint: disable=super-with-arguments
from __future__ import print_function
import argparse