summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
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