pyinfra/.pre-commit-config.yaml

24 lines
701 B
YAML
Raw Normal View History

2024-06-08 00:53:33 +02:00
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
2024-10-15 22:26:17 +02:00
rev: v5.0.0
2024-06-08 00:53:33 +02:00
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
- repo: https://github.com/asottile/add-trailing-comma
rev: v3.1.0
hooks:
- id: add-trailing-comma
- repo: https://github.com/asottile/reorder-python-imports
2024-10-15 22:26:17 +02:00
rev: v3.14.0
2024-06-08 00:53:33 +02:00
hooks:
- id: reorder-python-imports
- repo: https://github.com/astral-sh/ruff-pre-commit
2025-02-07 13:58:37 +01:00
rev: v0.9.5
2024-06-08 00:53:33 +02:00
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]