Thanks for the review. :)
I believe this might introduce slightly different behavior with output from the old script.
With the old script there would be no output if the shellcheck tests pass, but while using subprocess.run(shellcheck_cmd, check=True)
, I see the following if the tests pass:
0$ ./test/lint/lint-shell.py
1ShellCheck - shell script analysis tool
2version: 0.8.0
3license: GNU General Public License, version 3
4website: https://www.shellcheck.net
The exit codes still work the same, but are there downstream impacts with this standard output change?