Lint with tox, like in Travis CI

This commit is contained in:
Hugo 2019-02-21 21:02:46 +02:00
parent 03fc6c05e8
commit 409e810924

View File

@ -20,11 +20,9 @@ jobs:
architecture: 'x64'
- script: |
python -m pip install --upgrade pip
python -m pip install --upgrade black flake8
python -m pip install --upgrade tox
displayName: 'Install dependencies'
- script: |
flake8 --statistics --count
black --check --diff .
displayName: 'Static analysis'
tox -e lint
displayName: 'Lint'