.pre-commit-config.yaml
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.4.0
hooks:
- id: check-added-large-files
- id: trailing-whitespace
- id: mixed-line-ending
- id: end-of-file-fixer
- id: double-quote-string-fixer
- id: requirements-txt-fixer
- id: check-yaml
- id: check-case-conflict
- id: check-merge-conflict
- id: check-docstring-first
- id: debug-statements
- id: name-tests-test
args: ['--django']
- id: no-commit-to-branch
args: ['--branch', 'main']