1exclude: '^($|.*\.bin)' 2repos: 3 - repo: https://github.com/ambv/black 4 rev: 18.6b4 5 hooks: 6 - id: black 7 args: [--safe, --quiet] 8 language_version: python3.6 9 - repo: https://github.com/pre-commit/pre-commit-hooks 10 rev: v1.3.0 11 hooks: 12 - id: trailing-whitespace 13 - id: end-of-file-fixer 14 - repo: local 15 hooks: 16 - id: rst 17 name: rst 18 entry: rst-lint --encoding utf-8 19 files: ^(CHANGELOG.rst|README.rst|HOWTORELEASE.rst|changelog/.*)$ 20 language: python 21 additional_dependencies: [pygments, restructuredtext_lint] 22 python_version: python3.6 23