From 35c048fe6bb87d3d7f1dab49265f3a8d41a3d1b3 Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Wed, 31 Jul 2019 09:26:47 +0200 Subject: [PATCH] Update azure-pipelines-ci.yml for Azure Pipelines --- azure-pipelines-ci.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/azure-pipelines-ci.yml b/azure-pipelines-ci.yml index bdf37623f22..58879ef6029 100644 --- a/azure-pipelines-ci.yml +++ b/azure-pipelines-ci.yml @@ -189,11 +189,9 @@ stages: pip install -r requirements_test.txt -c homeassistant/package_constraints.txt displayName: 'Setup Env' - script: | + TYPING_FILES=$(cat mypyrc) + echo -e "Run mypy on: \n$TYPING_FILES" + . venv/bin/activate - mypy \ - homeassistant/*.py \ - homeassistant/auth/ \ - homeassistant/helpers/ \ - homeassistant/scripts/ \ - homeassistant/util/ + mypy $TYPING_FILES displayName: 'Run mypy'