From fe892460ba3c56f4876f5ce1450b1c673d136b59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Mon, 1 Aug 2022 23:04:58 +0200 Subject: [PATCH] tests: fix pylint errors --- tests/scripts/python/testapigen.py | 4 ++++ tests/scripts/python/unparse.py | 2 ++ 2 files changed, 6 insertions(+) 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