Add a precommit hook that runs ruff and ruff format.
ruff
ruff format
If anything is wrong, it will try and fix it for you, so hopefully no more frustrating CI pipeline fails