.travis.yml: Use pre-commit for linting

This commit is contained in:
Jan Holthuis 2020-03-11 13:43:51 +01:00
parent 5d709d35b3
commit 3bc4886fc0

View file

@ -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