Add shellcheck `pre-commit` hook to the base repo and the cookiecutter template
Closes #298 (closed)
Using shellcheck-py rather than shellcheck to prevent having to explicitely install Docker in CI jobs => https://github.com/koalaman/shellcheck/issues/2646#issuecomment-1379245703
Edited by Eva Bardou