forked from django-extensions/django-extensions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
31 lines (31 loc) · 930 Bytes
/
.pre-commit-config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
- repo: git://github.com/pre-commit/pre-commit-hooks
sha: v0.9.1
hooks:
- id: trailing-whitespace
- id: check-added-large-files
args:
- --maxkb=128
- id: check-ast
- id: check-case-conflict
- id: check-docstring-first
- id: check-json
- id: check-merge-conflict
- id: check-xml
- id: check-yaml
- id: detect-private-key
- id: end-of-file-fixer
- id: fix-encoding-pragma
- id: flake8
- id: name-tests-test
args:
- --django
exclude: ^tests/testapp|^tests/management/|^tests/collisions/|^tests/pythonrc.py
- repo: git://github.com/Lucas-C/pre-commit-hooks.git
sha: v1.0.1
hooks:
- id: forbid-crlf
- repo: git://github.com/trbs/pre-commit-hooks-trbs.git
sha: e233916fb2b4b9019b4a3cc0497994c7926fe36b
hooks:
- id: forbid-executables
exclude: manage.py|setup.py