From 7c27bab3c7d497525e9ffe2ee7717c1d97a606a3 Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Sun, 9 Jun 2019 11:25:24 +0200 Subject: [PATCH] Update azure-pipelines-ci.yml for Azure Pipelines --- azure-pipelines-ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/azure-pipelines-ci.yml b/azure-pipelines-ci.yml index 35da6f1c89f..7e609f35084 100644 --- a/azure-pipelines-ci.yml +++ b/azure-pipelines-ci.yml @@ -32,7 +32,10 @@ jobs: container: $[ variables['PythonMain'] ] steps: - script: | - pip install --user flake8 + python -m venv lint + + . lint/bin/activate + pip install flake8 flake8 homeassistant tests script displayName: 'Run flake8'