From 3bc4886fc058eceacaad6de37da56ce783519107 Mon Sep 17 00:00:00 2001 From: Jan Holthuis Date: Wed, 11 Mar 2020 13:43:51 +0100 Subject: [PATCH] .travis.yml: Use pre-commit for linting --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index fb1d9bf..b1dfbdc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,12 +7,12 @@ cache: pip: true install: -- python -m pip install flake8 setuptools wheel +- python -m pip install pre-commit setuptools wheel - python -m pip install -r requirements.txt - python setup.py install before_script: -- flake8 --statistics . +- pre-commit run --all-files script: - mkdir html - sphinx-multiversion docs html