Codebase list cherrypy3 / 4d0b8d10-28f3-4455-ad0e-1967dcbb46d5/main .pre-commit-config.yaml
4d0b8d10-28f3-4455-ad0e-1967dcbb46d5/main

Tree @4d0b8d10-28f3-4455-ad0e-1967dcbb46d5/main (Download .tar.gz)

.pre-commit-config.yaml @4d0b8d10-28f3-4455-ad0e-1967dcbb46d5/mainraw · history · blame

repos:
-   repo: git://github.com/pre-commit/pre-commit-hooks
    rev: v1.1.1
    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
        include: cherrypy/test/
        args:
        - --django
        exclude: tests/dist-check.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
        include: .mention-bot
    -   id: check-symlinks
    -   id: check-yaml
    -   id: detect-private-key
        exclude: cherrypy/test/test.pem
    -   id: requirements-txt-fixer

-   repo: git://github.com/chewse/pre-commit-mirrors-pydocstyle
    rev: v2.1.1
    hooks:
    -   id: pydocstyle
        exclude: |
            (?x)
            tests/dist|
            cherrypy/(
                _cp(
                    compat|modpy|logging|error|wsgi|dispatch|tools|reqbody|request
                )|
                (
                    lib/(
                        auth|auth_basic|auth_digest|caching|covercp|
                        cpstats|cptools|encoding|gctools|httpauth|httputil|
                        jsontools|lockfile|locking|profiler|reprconf|sessions
                    )|
                    process/(plugins|servers|win32)
                ).py|
                test|tutorial
            )

-   repo: git://github.com/Lucas-C/pre-commit-hooks
    rev: v1.1.1
    hooks:
    -   id: remove-tabs

-   repo: git://github.com/Lucas-C/pre-commit-hooks-lxml
    rev: v1.0.2
    hooks:
    -   id: forbid-html-img-without-alt-text