1repos: 2- repo: git://github.com/pre-commit/pre-commit-hooks 3 rev: v1.1.1 4 hooks: 5 - id: trailing-whitespace 6 exclude: cherrypy/test/static/index.html 7 - id: flake8 8 - id: check-merge-conflict 9 - id: double-quote-string-fixer 10 - id: end-of-file-fixer 11 - id: name-tests-test 12 include: cherrypy/test/ 13 args: 14 - --django 15 exclude: tests/dist-check.py 16 - id: debug-statements 17 - id: check-added-large-files 18 - id: check-ast 19 - id: check-byte-order-marker 20 - id: check-case-conflict 21 # disabled due to pre-commit/pre-commit-hooks#159 22 #- id: check-docstring-first 23 - id: check-json 24 include: .mention-bot 25 - id: check-symlinks 26 - id: check-yaml 27 - id: detect-private-key 28 exclude: cherrypy/test/test.pem 29 - id: requirements-txt-fixer 30 31- repo: git://github.com/chewse/pre-commit-mirrors-pydocstyle 32 rev: v2.1.1 33 hooks: 34 - id: pydocstyle 35 exclude: | 36 (?x) 37 tests/dist| 38 cherrypy/( 39 _cp( 40 compat|modpy|logging|error|wsgi|dispatch|tools|reqbody|request 41 )| 42 ( 43 lib/( 44 auth|auth_basic|auth_digest|caching|covercp| 45 cpstats|cptools|encoding|gctools|httpauth|httputil| 46 jsontools|lockfile|locking|profiler|reprconf|sessions 47 )| 48 process/(plugins|servers|win32) 49 ).py| 50 test|tutorial 51 ) 52 53- repo: git://github.com/Lucas-C/pre-commit-hooks 54 rev: v1.1.1 55 hooks: 56 - id: remove-tabs 57 58- repo: git://github.com/Lucas-C/pre-commit-hooks-lxml 59 rev: v1.0.2 60 hooks: 61 - id: forbid-html-img-without-alt-text 62