Closed julianharty closed 3 months ago
We've added pre-commit checks via #29 and #30, and I have been using ruff interactively. I'd like to have ruff run as part of the pre-commit checks.
The integration is documented and straight-forward.
https://docs.astral.sh/ruff/integrations/#pre-commit
And can be tested interactively :) before being committed into the git history:
pre-commit run --all-files (from https://pre-commit.com/)
pre-commit run --all-files
Context
We've added pre-commit checks via #29 and #30, and I have been using ruff interactively. I'd like to have ruff run as part of the pre-commit checks.
The integration is documented and straight-forward.
https://docs.astral.sh/ruff/integrations/#pre-commit
And can be tested interactively :) before being committed into the git history:
pre-commit run --all-files
(from https://pre-commit.com/)