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 tox
    displayName: 'Install dependencies'

  - script: |
      tox -e lint
    displayName: 'Lint'
