From f56accb6ef6caf359f5eb5d1c28f15984ed07205 Mon Sep 17 00:00:00 2001 From: Frantisek Sumsal Date: Mon, 17 Jul 2023 18:37:17 +0200 Subject: [PATCH] tools: pylint check-includes.py --- tools/check-includes.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/check-includes.py b/tools/check-includes.py index afb957a2e12..5d5b39f778a 100755 --- a/tools/check-includes.py +++ b/tools/check-includes.py @@ -1,7 +1,7 @@ #!/usr/bin/env python3 # SPDX-License-Identifier: LGPL-2.1-or-later -# pylint: disable=missing-docstring,invalid-name,unspecified-encoding,consider-using-with +# pylint: disable=consider-using-with import os import pathlib @@ -28,5 +28,5 @@ def check_file(filename): return good if __name__ == '__main__': - good = all(check_file(name) for name in sys.argv[1:]) - sys.exit(0 if good else 1) + all_good = all(check_file(name) for name in sys.argv[1:]) + sys.exit(0 if all_good else 1)