incorporate updates from common (#255)

* incorporate updates from common

* empty commit to rerun check
This commit is contained in:
David Chalco 2021-01-29 18:58:55 -08:00 committed by GitHub
parent 6b4a3d0a6e
commit 0345a20202
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View File

@ -83,7 +83,11 @@ def main():
checker.ignoreFile(*KERNEL_IGNORED_FILES) checker.ignoreFile(*KERNEL_IGNORED_FILES)
checker.ignoreFile(os.path.split(__file__)[-1]) checker.ignoreFile(os.path.split(__file__)[-1])
return checker.processArgs(args) rc = checker.processArgs(args)
if rc:
checker.showHelp(__file__)
return rc
if __name__ == '__main__': if __name__ == '__main__':
exit(main()) exit(main())

View File

@ -41,7 +41,7 @@ jobs:
- name: Check File Headers - name: Check File Headers
run: | run: |
mv tools/.github/scripts/common inspect/.github/scripts mv tools/.github/scripts/common inspect/.github/scripts
pip install -r inspect/.github/scripts/common/requirements.txt
cd inspect cd inspect
.github/scripts/kernel_checker.py --json ${HOME}/files_modified.json ${HOME}/files_added.json ${HOME}/files_renamed.json .github/scripts/kernel_checker.py --json ${HOME}/files_modified.json ${HOME}/files_added.json ${HOME}/files_renamed.json
exit $? exit $?