2023-11-22 10:42:57 -05:00
|
|
|
# See https://pre-commit.com for more information
|
|
|
|
|
# See https://pre-commit.com/hooks.html for more hooks
|
|
|
|
|
repos:
|
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
2024-05-20 12:04:25 -04:00
|
|
|
rev: v4.6.0
|
2023-11-22 10:42:57 -05:00
|
|
|
hooks:
|
|
|
|
|
- id: trailing-whitespace
|
|
|
|
|
- id: end-of-file-fixer
|
|
|
|
|
- id: check-yaml
|
|
|
|
|
- id: check-added-large-files
|
2025-04-04 11:29:53 -07:00
|
|
|
exclude: ^app/assets/pdf/.*\.pdf$
|
2023-11-22 10:42:57 -05:00
|
|
|
- id: debug-statements
|
|
|
|
|
- id: check-merge-conflict
|
|
|
|
|
- id: check-toml
|
2024-05-20 12:04:25 -04:00
|
|
|
- id: check-ast
|
|
|
|
|
- id: fix-byte-order-marker
|
|
|
|
|
- id: detect-aws-credentials
|
|
|
|
|
args: [--allow-missing-credentials]
|
|
|
|
|
- id: detect-private-key
|
|
|
|
|
- id: mixed-line-ending
|
2025-10-06 09:38:54 -04:00
|
|
|
- repo: https://github.com/pycqa/flake8
|
|
|
|
|
rev: 7.1.1
|
|
|
|
|
hooks:
|
|
|
|
|
- id: flake8
|
|
|
|
|
- repo: https://github.com/pycqa/isort
|
|
|
|
|
rev: 5.13.2
|
|
|
|
|
hooks:
|
|
|
|
|
- id: isort
|
|
|
|
|
args: ["--profile", "black"]
|
2024-05-20 12:04:25 -04:00
|
|
|
- repo: https://github.com/Yelp/detect-secrets
|
|
|
|
|
rev: v1.5.0
|
|
|
|
|
hooks:
|
|
|
|
|
- id: detect-secrets
|
|
|
|
|
args: ['--baseline', '.ds.baseline']
|