forked from biswaz/rescuekerala
-
Notifications
You must be signed in to change notification settings - Fork 575
/
.pre-commit-config.yaml
29 lines (29 loc) · 898 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
repos:
- repo: 'https://github.com/pre-commit/pre-commit-hooks'
rev: master
hooks:
- id: trailing-whitespace
files: (^|/)a/.+\.(py|html|sh|css|js)$
- id: check-merge-conflict
name: check for merge conflict
description: Prevent accidentally commiting files with merge conflicts.
- id: end-of-file-fixer
name: fix end of files.
description: 'Ensures that a file is either empty, or ends with one newline.'
- repo: 'https://github.com/ambv/black'
rev: stable
hooks:
- id: black
language_version: python3.6
- repo: 'https://gitlab.com/pycqa/flake8'
rev: 3.7.9
hooks:
- id: flake8
- repo: https://github.com/asottile/seed-isort-config
rev: v2.1.0
hooks:
- id: seed-isort-config
- repo: https://github.com/pre-commit/mirrors-isort
rev: v4.3.21
hooks:
- id: isort