lib.itmens/.pre-commit-config.yaml

53 lines
1.2 KiB
YAML
Raw Normal View History

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
2024-04-06 00:13:50 -04:00
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.3.5
hooks:
- id: ruff
# - id: ruff-format
2023-08-10 16:01:40 -04:00
- repo: https://github.com/pycqa/isort
2024-04-06 00:13:50 -04:00
rev: 5.13.2
2023-08-10 16:01:40 -04:00
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
- repo: https://github.com/Riverside-Healthcare/djLint
2023-12-31 08:32:19 -05:00
rev: v1.34.1
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