projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4048aa
)
tools: pylint check-includes.py
author
Frantisek Sumsal
<frantisek@sumsal.cz>
Mon, 17 Jul 2023 16:37:17 +0000
(18:37 +0200)
committer
Frantisek Sumsal
<frantisek@sumsal.cz>
Thu, 10 Aug 2023 09:08:17 +0000
(11:08 +0200)
tools/check-includes.py
patch
|
blob
|
history
diff --git
a/tools/check-includes.py
b/tools/check-includes.py
index afb957a2e12eb75bc6b52f3d2c429347520f2a88..5d5b39f778a21e5165aad7d4ca0cc264e996ea59 100755
(executable)
--- 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)