pre-commit: Update to latest ruff, set autoupdate schedule to monthly
Apply latest ruff and ruff-format
I can highly recommend enabling and using https://pre-commit.ci/, it will not only run pre-commit very fast, it will also periodically check if there are any updates available to the pre-commit configuration.
This PR does two things:
I can highly recommend enabling and using https://pre-commit.ci/, it will not only run pre-commit very fast, it will also periodically check if there are any updates available to the pre-commit configuration.