summaryrefslogtreecommitdiff
path: root/.pre-commit-config.yaml
blob: f5bfd114a0f7130e90c4e54ab74d1c743729e5f8 (plain)
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
- repo: git://github.com/pre-commit/pre-commit-hooks
  sha: master
  hooks:
  - id: trailing-whitespace
    exclude: cherrypy/test/static/index.html
  - id: flake8
  - 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
  - id: check-docstring-first
  - id: check-json
  - id: pretty-format-json
  - id: check-symlinks
  - id: check-yaml
  - id: detect-private-key
    exclude: cherrypy/test/test.pem
  - id: requirements-txt-fixer

- repo: git://github.com/FalconSocial/pre-commit-mirrors-pep257
  sha: master
  hooks:
  - id: pep257

- repo: git://github.com/Lucas-C/pre-commit-hooks
  sha: master
  hooks:
  - id: remove-tabs
  - id: forbid-html-img-without-alt-text