Files
ihrm/.pre-commit-config.yaml

22 lines
600 B
YAML

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
exclude: ^.*/migrations/.*$
- id: trailing-whitespace
exclude: ^.*/migrations/.*$
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 24.4.2
hooks:
- id: black
language_version: python3.10
exclude: ^.*/migrations/.*$
- repo: https://github.com/pycqa/isort
rev: 5.13.2
hooks:
- id: isort
args: ["--profile", "black", "--filter-files"]
exclude: ^.*/migrations/.*$