From 784123b9e16691c543a6011612afbf96dd07d55e Mon Sep 17 00:00:00 2001 From: Sam <61994039+fourthDimensional@users.noreply.github.com> Date: Sun, 1 Jun 2025 16:20:19 -0500 Subject: [PATCH] Add Ruff linter and formatter to pre-commit configuration --- .pre-commit-config.yaml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b46af42..ff9a845 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -19,4 +19,12 @@ repos: hooks: # Compile requirements - id: pip-compile - args: [ pyproject.toml, -o, requirements.txt ] \ No newline at end of file + args: [ pyproject.toml, -o, requirements.txt ] + - repo: https://github.com/astral-sh/ruff-pre-commit + # Ruff version. + rev: v0.11.12 + hooks: + # Run the linter. + - id: ruff + # Run the formatter. + - id: ruff-format \ No newline at end of file