Update `ruff` version in pre-commit config 
so that it corresponds to the one that is being run in CI
The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_6049). All of your documentation changes will be reflected on that endpoint.