diff --git a/template/.pre-commit-config.yaml b/template/.pre-commit-config.yaml index 7e55ae5..fbfa793 100644 --- a/template/.pre-commit-config.yaml +++ b/template/.pre-commit-config.yaml @@ -31,4 +31,14 @@ repos: - repo: https://github.com/rvben/rumdl-pre-commit rev: v0.1.94 hooks: - - id: rumdl-fmt # Auto-format + - id: rumdl-fmt + + - repo: https://github.com/astral-sh/ruff-pre-commit + # Ruff version. + rev: v0.15.16 + hooks: + # Run the linter. + - id: ruff-check + args: [--fix] + # Run the formatter. + - id: ruff-format