Created
September 12, 2023 14:29
-
-
Save PramodBisht/7b2284667d6f30286f1e53d0a9605d71 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- repo: https://github.com/pre-commit/pre-commit-hooks | |
rev: v1.2.3 | |
hooks: | |
- id: trailing-whitespace | |
exclude: (\.css$|\.html$) | |
- id: check-merge-conflict | |
- id: debug-statements | |
- id: flake8 | |
args: [--max-line-length=131, --ignore=W503] | |
exclude: (.*/migrations/.*|.*/data/.*|.*/settings/.*)$ | |
- repo: https://github.com/asottile/seed-isort-config | |
rev: v1.2.0 | |
hooks: | |
- id: seed-isort-config | |
- repo: https://github.com/pre-commit/mirrors-isort | |
rev: v4.3.4 | |
hooks: | |
- id: isort | |
- repo: local | |
hooks: | |
- id: migrations | |
name: Django migration checks | |
entry: python scripts/check_django_migrations.py | |
language: system | |
files: (requirements\.txt|\.py)$ | |
- id: pytest-check | |
name: pytest-check | |
entry: pytest | |
language: system | |
pass_filenames: false | |
always_run: true | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment