commit | 71b73249a30d589c97e15b387d4a18e8e6b795a9 | [log] [tgz] |
---|---|---|
author | Patrick Williams <patrick@stwcx.xyz> | Fri Dec 02 21:07:52 2022 -0600 |
committer | Patrick Williams <patrick@stwcx.xyz> | Mon Dec 05 15:17:59 2022 -0600 |
tree | 13da43ab6e31789d75e773a30de140431b83b5dc | |
parent | d535ecb4460e7d6f1bdeae8bd5ab3f7633740119 [diff] |
format-code: call linters by file types Revamp the format-code script to only look at git-managed files, so that we don't need to worry about subproject exclusions, and classify affected files based on their file type. Allow linters to specify the file types they are applicable to and call each applicable linter with the explicit files, rather than allowing the linter programs to do directory traversals (which causes problems in some cases). Tested: I have ran this against every active repository in Gerrit to ensure I don't break any existing repositories with this change. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I70ac6de1f9925ccd35396c894b45f16e33884551
Build script for CI jobs in Jenkins.