mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-09-21 11:28:58 +03:00
31 lines
624 B
YAML
31 lines
624 B
YAML
|
parameters:
|
||
|
name: '' # defaults for any parameters that aren't specified
|
||
|
vmImage: ''
|
||
|
|
||
|
jobs:
|
||
|
|
||
|
- job: ${{ parameters.name }}
|
||
|
pool:
|
||
|
vmImage: ${{ parameters.vmImage }}
|
||
|
|
||
|
strategy:
|
||
|
matrix:
|
||
|
Python37:
|
||
|
python.version: '3.7'
|
||
|
|
||
|
steps:
|
||
|
- task: UsePythonVersion@0
|
||
|
inputs:
|
||
|
versionSpec: '$(python.version)'
|
||
|
architecture: 'x64'
|
||
|
|
||
|
- script: |
|
||
|
python -m pip install --upgrade pip
|
||
|
python -m pip install --upgrade black flake8
|
||
|
displayName: 'Install dependencies'
|
||
|
|
||
|
- script: |
|
||
|
flake8 --statistics --count
|
||
|
black --check --diff .
|
||
|
displayName: 'Static analysis'
|