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
|
2024-10-28 11:14:22 -04:00
|
|
|
rev: v5.0.0
|
2023-01-11 22:06:34 -05:00
|
|
|
hooks:
|
2024-10-28 11:14:22 -04:00
|
|
|
- id: check-yaml
|
2024-06-05 21:53:02 -04:00
|
|
|
args: [--unsafe]
|
2024-10-28 11:14:22 -04:00
|
|
|
- id: check-json
|
|
|
|
- id: check-xml
|
|
|
|
- id: check-toml
|
|
|
|
- id: check-ast
|
|
|
|
- id: check-docstring-first
|
|
|
|
- id: check-executables-have-shebangs
|
|
|
|
- id: check-symlinks
|
|
|
|
- id: check-added-large-files
|
2023-08-10 16:01:40 -04:00
|
|
|
args: [--maxkb=1024]
|
2024-10-28 11:14:22 -04:00
|
|
|
- id: detect-private-key
|
|
|
|
- id: end-of-file-fixer
|
|
|
|
- id: fix-byte-order-marker
|
|
|
|
- id: debug-statements
|
|
|
|
- id: check-merge-conflict
|
|
|
|
- id: end-of-file-fixer
|
|
|
|
- id: trailing-whitespace
|
|
|
|
- id: requirements-txt-fixer
|
|
|
|
- id: mixed-line-ending
|
2023-08-10 16:01:40 -04:00
|
|
|
|
2024-04-06 00:13:50 -04:00
|
|
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
2025-01-11 17:20:02 -05:00
|
|
|
rev: v0.9.1
|
2024-04-06 00:13:50 -04:00
|
|
|
hooks:
|
|
|
|
- id: ruff
|
2025-01-11 17:20:02 -05:00
|
|
|
- id: ruff-format
|
2024-04-06 00:13:50 -04:00
|
|
|
|
2025-01-11 17:20:02 -05:00
|
|
|
# - repo: https://github.com/pycqa/isort
|
|
|
|
# rev: 5.13.2
|
|
|
|
# hooks:
|
|
|
|
# - id: isort
|
|
|
|
# args: ["--profile=black"]
|
2023-08-10 16:01:40 -04:00
|
|
|
|
2025-01-11 17:20:02 -05:00
|
|
|
# - repo: https://github.com/psf/black
|
|
|
|
# rev: 24.4.2
|
|
|
|
# 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
|
2024-12-26 11:47:36 -05:00
|
|
|
rev: v1.36.4
|
2023-05-20 11:01:18 -04:00
|
|
|
hooks:
|
|
|
|
- id: djlint-reformat-django
|
|
|
|
- id: djlint-django
|
2023-08-11 01:43:19 -04:00
|
|
|
|
2024-10-28 11:14:22 -04:00
|
|
|
# - repo: https://github.com/RobertCraigie/pyright-python
|
|
|
|
# rev: v1.1.386
|
|
|
|
# hooks:
|
|
|
|
# - id: pyright
|
|
|
|
|
2023-08-11 01:43:19 -04:00
|
|
|
- repo: local
|
|
|
|
hooks:
|
|
|
|
- id: pyright
|
|
|
|
name: pyright
|
|
|
|
entry: python -m pyright
|
|
|
|
language: system
|
|
|
|
pass_filenames: false
|