/ .pre-commit-config.yaml
.pre-commit-config.yaml
1 exclude: .*migrations\/.* 2 repos: 3 - repo: https://github.com/pre-commit/pre-commit-hooks 4 rev: v4.5.0 5 hooks: 6 - id: check-yaml 7 - id: end-of-file-fixer 8 - id: trailing-whitespace 9 10 - repo: https://github.com/psf/black 11 rev: 23.11.0 12 hooks: 13 - id: black 14 language_version: python3.10 15 16 - repo: https://github.com/charliermarsh/ruff-pre-commit 17 rev: "v0.1.7" 18 hooks: 19 - id: ruff 20 21 - repo: https://github.com/pycqa/isort 22 rev: 5.13.0 23 hooks: 24 - id: isort 25 name: isort (python) 26 27 - repo: https://github.com/pycqa/flake8 28 rev: 6.1.0 29 hooks: 30 - id: flake8 31 32 - repo: https://github.com/Riverside-Healthcare/djLint 33 rev: v1.34.0 34 hooks: 35 - id: djlint-django 36 37 - repo: https://github.com/python-poetry/poetry 38 rev: "1.7.0" 39 hooks: 40 - id: poetry-export 41 args: 42 [ 43 "-f", 44 "requirements.txt", 45 "-o", 46 "requirements.txt", 47 "--without-hashes", 48 ]