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' architecture: 'x64'
- script: | - script: |
python -m pip install --upgrade pip python -m pip install --upgrade tox
python -m pip install --upgrade black flake8
displayName: 'Install dependencies' displayName: 'Install dependencies'
- script: | - script: |
flake8 --statistics --count tox -e lint
black --check --diff . displayName: 'Lint'
displayName: 'Static analysis'