mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
Merge pull request #1872 from bigchaindb/pre-commit-proposal
pre-commit proposal
This commit is contained in:
commit
7aa1f09588
18
.pre-commit-config.yaml
Normal file
18
.pre-commit-config.yaml
Normal 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/)'
|
Loading…
x
Reference in New Issue
Block a user