-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
43 lines (43 loc) · 1.07 KB
/
.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
37
38
39
40
41
42
43
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
- id: no-commit-to-branch
- id: check-merge-conflict
- id: check-docstring-first
- id: check-ast
- id: debug-statements
- id: double-quote-string-fixer
- id: name-tests-test
args:
- --django
- id: requirements-txt-fixer
- id: flake8
- repo: https://github.com/asottile/add-trailing-comma
rev: v2.0.1
hooks:
- id: add-trailing-comma
- repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.1.6
hooks:
- id: remove-tabs
- repo: https://github.com/pycqa/pydocstyle
rev: 5.0.1
hooks:
- id: pydocstyle
exclude: blog/migrations/
- repo: https://github.com/pre-commit/mirrors-mypy
rev: ''
hooks:
- id: mypy
- repo: local
hooks:
- id: pylint
name: pylint
entry: pylint
language: system
types: [python]
exclude: blog/migrations/