We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b4a3d0 commit 0345a20Copy full SHA for 0345a20
.github/scripts/kernel_checker.py
@@ -83,7 +83,11 @@ def main():
83
checker.ignoreFile(*KERNEL_IGNORED_FILES)
84
checker.ignoreFile(os.path.split(__file__)[-1])
85
86
- return checker.processArgs(args)
+ rc = checker.processArgs(args)
87
+ if rc:
88
+ checker.showHelp(__file__)
89
+
90
+ return rc
91
92
if __name__ == '__main__':
93
exit(main())
.github/workflows/kernel-checks.yml
@@ -41,7 +41,7 @@ jobs:
41
- name: Check File Headers
42
run: |
43
mv tools/.github/scripts/common inspect/.github/scripts
44
+ pip install -r inspect/.github/scripts/common/requirements.txt
45
cd inspect
46
.github/scripts/kernel_checker.py --json ${HOME}/files_modified.json ${HOME}/files_added.json ${HOME}/files_renamed.json
47
exit $?
-
0 commit comments