Changes Formating Tools to Ruff

This commit is contained in:
2025-04-04 21:52:54 -03:00
parent d1984b8ae9
commit 18aab52f84
4 changed files with 49 additions and 124 deletions

View File

@@ -1,13 +1,9 @@
repos:
- repo: https://github.com/psf/black
rev: 25.1.0
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.11.4
hooks:
- id: black
args: [ --config=pyproject.toml ]
- repo: https://github.com/pycqa/isort
rev: 6.0.1
hooks:
- id: isort
files: "\\.(py)$"
args: [ --settings-path=pyproject.toml ]
# Run the linter.
- id: ruff
# Run the formatter.
- id: ruff-format