2017-11-21 15:35:51 +00:00
|
|
|
repos:
|
|
|
|
- repo: git://github.com/pre-commit/pre-commit-hooks
|
|
|
|
sha: v1.1.1
|
|
|
|
hooks:
|
|
|
|
- id: trailing-whitespace
|
|
|
|
- id: end-of-file-fixer
|
|
|
|
- id: mixed-line-ending
|
|
|
|
- id: double-quote-string-fixer
|
|
|
|
- id: fix-encoding-pragma
|
|
|
|
- id: check-yaml
|
|
|
|
- id: flake8
|
|
|
|
exclude: docs/conf.py
|
2015-12-21 03:05:20 +00:00
|
|
|
|
2017-11-21 15:35:51 +00:00
|
|
|
- repo: git://github.com/chewse/pre-commit-mirrors-pydocstyle
|
|
|
|
sha: v2.1.1
|
|
|
|
hooks:
|
|
|
|
- id: pydocstyle
|
2018-03-01 03:18:39 +00:00
|
|
|
exclude: bidict/_version.py
|
2017-11-21 15:35:51 +00:00
|
|
|
|
|
|
|
- repo: git://github.com/Lucas-C/pre-commit-hooks
|
|
|
|
sha: v1.1.4
|
|
|
|
hooks:
|
|
|
|
- id: forbid-crlf
|
|
|
|
- id: remove-crlf
|
|
|
|
- id: forbid-tabs
|
|
|
|
- id: remove-tabs
|
|
|
|
- id: insert-license
|
|
|
|
files: \.py$
|
|
|
|
args:
|
|
|
|
- --license-filepath
|
|
|
|
- LICENSE_HEADER
|
|
|
|
|
|
|
|
# TODO: get this working:
|
|
|
|
#- repo: git://github.com/pre-commit/mirrors-pylint
|
|
|
|
# sha: v1.7.4
|
|
|
|
# hooks:
|
|
|
|
# - id: pylint
|
|
|
|
# args:
|
|
|
|
# - bidict
|
|
|
|
# - tests
|
|
|
|
# - setup.py
|