swydd/.pre-commit-config.yaml

13 lines
330 B
YAML
Raw Permalink Normal View History

2024-03-05 13:52:37 -06:00
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
2024-10-23 15:30:49 -05:00
# Ruff version.
rev: v0.7.0
2024-03-05 13:52:37 -06:00
hooks:
2024-10-23 15:30:49 -05:00
# Run the linter.
2024-03-05 13:52:37 -06:00
- id: ruff
args: [ --fix ]
2024-10-23 15:30:49 -05:00
# Run the formatter.
- id: ruff-format