Merge pull request #1872 from bigchaindb/pre-commit-proposal

pre-commit proposal
This commit is contained in:
Katha 2017-11-30 15:03:30 +01:00 committed by GitHub
commit 7aa1f09588
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 19 additions and 0 deletions

18
.pre-commit-config.yaml Normal file
View File

@ -0,0 +1,18 @@
repos:
- repo: git://github.com/pre-commit/pre-commit-hooks
sha: v1.1.1
hooks:
- id: trailing-whitespace
args: ['--no-markdown-linebreak-ext']
- id: check-merge-conflict
- id: debug-statements
- id: check-added-large-files
- id: flake8
- repo: git://github.com/chewse/pre-commit-mirrors-pydocstyle
sha: v2.1.1
hooks:
- id: pydocstyle
args: ['--select=D204,D201,D209,D210,D212,D300,D403']
exclude: '^(?!bigchaindb/)(?!tests/)'

View File

@ -32,6 +32,7 @@ dev_require = [
'ipython',
'watchdog',
'logging_tree',
'pre-commit'
]
docs_require = [