-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit.yml
40 lines (40 loc) · 951 Bytes
/
.pre-commit.yml
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
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v1.2.3
hooks:
- id: no-commit-to-branch
- id: trailing-whitespace
- id: check-merge-conflict
- id: double-quote-string-fixer
- id: requirements-txt-fixer
- id: check-yaml
- id: check-docstring-first
- id: end-of-file-fixer
- id: name-tests-test
- id: check-ast
- id: debug-statements
- id: flake8
exclude: blog/migrations/
- repo: https://github.com/asottile/add-trailing-comma
rev: v1.3.0
hooks:
- id: add-trailing-comma
- repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.1.6
hooks:
- id: remove-tabs
- repo: git://github.com/chewse/pre-commit-mirrors-pydocstyle
rev: v2.1.1
hooks:
- id: pydocstyle
exclude: blog/migrations/
- repo: local
hooks:
- id: pylint
name: pylint
entry: python3 -m pylint
language: system
types: [python]
args:
- --good-names=urlpatterns
exclude: blog/migrations/