forked from sajib1066/event-calendar
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pre-commit-config.yaml
36 lines (34 loc) · 982 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
32
33
34
35
36
# repos:
# - repo: local
# hooks:
# - id: check-django-migrations
# name: Check Django Migrations
# entry: python manage.py makemigrations --check --no-input
# types: [ python ]
# language: system
# pass_filenames: false
# - id: run-django-tests
# name: Run Django Tests
# entry: python manage.py test && flake8
# types: [ python ]
# language: system
# pass_filenames: false
# - repo: https://github.com/pre-commit/pre-commit-hooks
# rev: v2.3.0
# hooks:
# - id: check-merge-conflict
# - id: check-yaml
# - id: end-of-file-fixer
# - id: trailing-whitespace
# - id: requirements-txt-fixer
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.3.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/psf/black
rev: 19.3b0
hooks:
- id: black