diff --git a/tools/check-includes.py b/tools/check-includes.py index afb957a2e1..5d5b39f778 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)