Add configuration for `pre-commit`. - Should include `ruff` and potentially `mypy` checks (if it doesn't slow things down too much) -- look at - Should this only run on commits to `main`? - Add setup steps to new CONTRIBUTING.md doc (WIP)