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
|
|
|
|
|
- repo: https://github.com/Yelp/detect-secrets
|
|
|
|
|
rev: v1.5.0
|
|
|
|
|
hooks:
|
|
|
|
|
- id: detect-secrets
|
|
|
|
|
args: ['--baseline', '.ds.baseline']
|