Update azure-pipelines-ci.yml for Azure Pipelines

This commit is contained in:
Pascal Vizeli 2019-06-09 11:25:24 +02:00
parent accfedce87
commit 7c27bab3c7

View File

@ -32,7 +32,10 @@ jobs:
container: $[ variables['PythonMain'] ] container: $[ variables['PythonMain'] ]
steps: steps:
- script: | - script: |
pip install --user flake8 python -m venv lint
. lint/bin/activate
pip install flake8
flake8 homeassistant tests script flake8 homeassistant tests script
displayName: 'Run flake8' displayName: 'Run flake8'