23 lines
632 B
YAML
23 lines
632 B
YAML
exclude: '^($|.*\.bin)'
|
|
repos:
|
|
- repo: https://github.com/ambv/black
|
|
rev: 18.6b4
|
|
hooks:
|
|
- id: black
|
|
args: [--safe, --quiet]
|
|
language_version: python3.6
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v1.3.0
|
|
hooks:
|
|
- id: trailing-whitespace
|
|
- id: end-of-file-fixer
|
|
- repo: local
|
|
hooks:
|
|
- id: rst
|
|
name: rst
|
|
entry: rst-lint --encoding utf-8
|
|
files: ^(CHANGELOG.rst|README.rst|HOWTORELEASE.rst|changelog/.*)$
|
|
language: python
|
|
additional_dependencies: [pygments, restructuredtext_lint]
|
|
python_version: python3.6
|