Switch pre-commit checks to `ruff`, as in https://github.com/xCDAT/xcdat/pull/702/files.
Switch pre-commit checks to
ruff, as in https://github.com/xCDAT/xcdat/pull/702/files.