mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-10 19:56:47 +03:00
Lint with tox, like in Travis CI
This commit is contained in:
parent
03fc6c05e8
commit
409e810924
|
@ -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'
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user