-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pre-commit-config.yaml
43 lines (40 loc) · 1.35 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
- repo: git://github.com/pre-commit/pre-commit-hooks
sha: a11d9314b22d8f8c7556443875b731ef05965464
hooks:
- id: trailing-whitespace
- id: flake8
args:
# 79 chars is too strict and we don't have 80-char terminals nowadays,
# 160 chars is too much since it doesn't let us use split view efficiently:
- --max-line-length=120
- --ignore=E731
exclude: cheroot/test/test_(http|config_server).py
- id: check-merge-conflict
- id: double-quote-string-fixer
- id: end-of-file-fixer
- id: name-tests-test
- 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: pretty-format-json
- id: check-symlinks
- id: check-yaml
- id: detect-private-key
- id: requirements-txt-fixer
- repo: git://github.com/FalconSocial/pre-commit-mirrors-pep257
sha: 149e61b7a717945143fe51f010fe1c576e729a9f
hooks:
- id: pep257
- repo: git://github.com/Lucas-C/pre-commit-hooks
sha: v1.0.1
hooks:
- id: remove-tabs
- repo: git://github.com/Lucas-C/pre-commit-hooks-lxml
sha: v1.0.2
hooks:
- id: forbid-html-img-without-alt-text