Bash bootstrap now exits non-zero when executed instead of sourced
(and when run under a non-bash shell), pointing the user at the
source command, per SPEC 7.21.7.
Also clears every ruff and pycustomlint violation so
run_sanity.py passes: five ruff findings in diff_report.py and
the two inline diff_report imports moved to module top in
__main__.py and git_tool.py.