-
-
Notifications
You must be signed in to change notification settings - Fork 90
/
Copy path.pre-commit-config.yaml
54 lines (50 loc) · 1.32 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
44
45
46
47
48
49
50
51
52
53
54
repos:
- repo: git://github.com/asottile/add-trailing-comma
rev: v0.7.0
hooks:
- id: add-trailing-comma
- repo: git://github.com/pre-commit/pre-commit-hooks
rev: v2.3.0
hooks:
- id: trailing-whitespace
- id: flake8
args:
# W503 ignored for https://github.com/PyCQA/pycodestyle/issues/498
- --ignore=W503
exclude: cheroot/test/test_(http|config_server).py
additional_dependencies:
- flake8-2020==1.0.0
- id: check-merge-conflict
- id: double-quote-string-fixer
- id: end-of-file-fixer
- id: name-tests-test
args:
- --django
exclude: (tests/dist-check|cheroot/test/(helper|webtest)).py
files: cheroot/test/.+\.py$
- id: debug-statements
- id: check-added-large-files
- id: check-ast
- id: check-byte-order-marker
- id: check-case-conflict
# disabled due to pre-commit/pre-commit-hooks#159
#- id: check-docstring-first
- id: check-json
- id: check-symlinks
- id: check-yaml
args:
- --unsafe
- id: detect-private-key
- id: requirements-txt-fixer
- repo: git://github.com/chewse/pre-commit-mirrors-pydocstyle
rev: v2.1.1
hooks:
- id: pydocstyle
- repo: git://github.com/Lucas-C/pre-commit-hooks
rev: v1.1.6
hooks:
- id: remove-tabs
- repo: git://github.com/Lucas-C/pre-commit-hooks-lxml
rev: v1.1.0
hooks:
- id: forbid-html-img-without-alt-text