Add pre-commit to the repo
This adds pre-commit which can be used to enforce consistent style and common errors (like committing large files)
This commit is contained in:
@@ -13,6 +13,12 @@ steps:
|
||||
commands:
|
||||
- make test
|
||||
|
||||
- name: check
|
||||
image: python:3
|
||||
commands:
|
||||
- pip install pre-commit==1.20.0
|
||||
- make check
|
||||
|
||||
- name: notify
|
||||
image: drillster/drone-email
|
||||
settings:
|
||||
|
||||
Reference in New Issue
Block a user