24 lines
674 B
YAML
24 lines
674 B
YAML
|
repos:
|
||
|
- repo: https://github.com/psf/black
|
||
|
rev: 24.10.0
|
||
|
hooks:
|
||
|
- id: black
|
||
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||
|
rev: v5.0.0
|
||
|
hooks:
|
||
|
- id: trailing-whitespace
|
||
|
- id: end-of-file-fixer
|
||
|
- id: debug-statements
|
||
|
language_version: python3
|
||
|
- id: check-yaml
|
||
|
args:
|
||
|
- --allow-multiple-documents
|
||
|
- id: check-merge-conflict
|
||
|
- id: name-tests-test
|
||
|
exclude: tests/(common.py|util.py|(helpers|integration/factories)/(.+).py)
|
||
|
- repo: https://github.com/Yelp/detect-secrets
|
||
|
rev: v1.5.0
|
||
|
hooks:
|
||
|
- id: detect-secrets
|
||
|
args: ['--baseline', '.secrets-baseline']
|