-   repo: git://github.com/pre-commit/pre-commit-hooks
    sha: master
    hooks:
    -   id: trailing-whitespace
    -   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
    -   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

Add my basic config for pre-commit hook runner
Add my basic config for pre-commit hook runner

:seealso: http://pre-commit.com/
As mentioned in #1477

Install:
pip install pre-commit

Add as git hook (optionally):
pre-commit install

Run manually or in CI:
pre-commit run --all-files