atheon-in-action / .pre-commit-config.yaml
dexter2389's picture
Add 'tailwind-sorter' precommit
d554492
raw
history blame contribute delete
854 Bytes
repos:
- repo: local
hooks:
- id: ruff-check
name: ruff-check
entry: ruff check --fix --force-exclude app etc
language: system
always_run: true
pass_filenames: false
- id: ruff-format
name: ruff-format
entry: ruff format --force-exclude app etc
language: system
always_run: true
pass_filenames: false
- id: tailwind-sorter-check
name: tailwind-sorter-check
entry: tailwind-sorter --config pyproject.toml --fix app/static
language: system
always_run: true
pass_filenames: false
- id: branch-name-and-commit-permission-check
name: branch name and commit permission check
entry: bash ./etc/branch-name-check.sh
language: system
always_run: true
pass_filenames: false