summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorJan Willhaus <mail@janwillhaus.de>2019-05-19 19:25:47 +0200
committerJan Willhaus <mail@janwillhaus.de>2019-05-19 22:20:25 +0200
commit77dc2d846fad4b95758b2aa7d3a46c48e045ca1a (patch)
treed279e65d5fb3c2236b6bf46d3345b99b0e5f7e87 /.travis.yml
parent44ca6f5d0f8cdc2c5fbe691eb0924c49ad33b470 (diff)
downloadwarlock-77dc2d846fad4b95758b2aa7d3a46c48e045ca1a.tar.gz
Adjust travis linting pipeline to use pre-commit framework
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml7
1 files changed, 3 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml
index a7dfcf3..032af2b 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -30,12 +30,11 @@ jobs:
after_success:
- coveralls
-
- stage: linting
python: 3.7
dist: xenial
install:
- - pip install -U black flake8 flake8-bugbear flake8-todo
+ - pip install pre-commit
+ - pre-commit install-hooks
script:
- - black --check --verbose .
- - flake8 warlock
+ - pre-commit run --all-files