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'