This PR adds a pre-commit config which sets up Git hooks for linting and formatting.
Python files are linted and formatted with Ruff, while the pyproject.toml file is linted with validate-pyproject. YAML files are checked with the default pre-commit hooks.
This PR will generate a rather large diff, since the pre-commit hooks were run on all files with pre-commit run --all-files.
This PR adds a pre-commit config which sets up Git hooks for linting and formatting.
Python files are linted and formatted with Ruff, while the pyproject.toml file is linted with validate-pyproject. YAML files are checked with the default pre-commit hooks.
This PR will generate a rather large diff, since the pre-commit hooks were run on all files with
pre-commit run --all-files
.