2023-08-10 16:01:40 -04:00
|
|
|
exclude: ^test_data/
|
2023-01-11 22:06:34 -05:00
|
|
|
repos:
|
2023-08-10 16:01:40 -04:00
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
|
|
rev: v4.4.0
|
2023-01-11 22:06:34 -05:00
|
|
|
hooks:
|
|
|
|
- id: check-yaml
|
2023-08-10 16:01:40 -04:00
|
|
|
- id: check-json
|
|
|
|
- id: check-xml
|
|
|
|
- id: check-toml
|
|
|
|
- id: check-symlinks
|
|
|
|
- id: check-added-large-files
|
|
|
|
args: [--maxkb=1024]
|
|
|
|
- id: detect-private-key
|
|
|
|
- id: end-of-file-fixer
|
|
|
|
- id: fix-byte-order-marker
|
|
|
|
- id: debug-statements
|
|
|
|
- id: check-merge-conflict
|
2023-01-11 22:06:34 -05:00
|
|
|
- id: end-of-file-fixer
|
|
|
|
- id: trailing-whitespace
|
2023-08-10 16:01:40 -04:00
|
|
|
- id: requirements-txt-fixer
|
|
|
|
- id: mixed-line-ending
|
|
|
|
|
|
|
|
- repo: https://github.com/pycqa/isort
|
|
|
|
rev: 5.12.0
|
|
|
|
hooks:
|
|
|
|
- id: isort
|
|
|
|
args: ["--profile=black"]
|
|
|
|
|
|
|
|
- repo: https://github.com/psf/black
|
2023-01-11 22:06:34 -05:00
|
|
|
rev: 22.12.0
|
|
|
|
hooks:
|
|
|
|
- id: black
|
2023-08-10 16:01:40 -04:00
|
|
|
|
2023-05-20 11:01:18 -04:00
|
|
|
- repo: https://github.com/Riverside-Healthcare/djLint
|
2023-08-10 11:27:31 -04:00
|
|
|
rev: v1.32.1
|
2023-05-20 11:01:18 -04:00
|
|
|
hooks:
|
|
|
|
- id: djlint-reformat-django
|
|
|
|
- id: djlint-django
|
2023-08-11 01:43:19 -04:00
|
|
|
|
|
|
|
- repo: local
|
|
|
|
hooks:
|
|
|
|
- id: pyright
|
|
|
|
name: pyright
|
|
|
|
entry: python -m pyright
|
|
|
|
language: system
|
|
|
|
pass_filenames: false
|