flake8.yml 371 Bytes
Newer Older
Gao, Xiang's avatar
Gao, Xiang committed
1
2
queue:
  name: Hosted Linux Preview
3
  timeoutInMinutes: 10
Gao, Xiang's avatar
Gao, Xiang committed
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

variables:
  python.version: '3.7'

steps:

- task: UsePythonVersion@0
  displayName: 'Use Python $(python.version)'
  inputs:
    versionSpec: '$(python.version)'

- script: 'azure/install_dependencies.sh'
  displayName: 'Install dependencies'

- script: 'pip install flake8 && flake8 .'
  displayName: Flake8