mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 12:17:07 +00:00
Update azure-pipelines-ci.yml for Azure Pipelines
This commit is contained in:
parent
48dd5af9e3
commit
9616fbdc36
@ -160,3 +160,19 @@ stages:
|
|||||||
. venv/bin/activate
|
. venv/bin/activate
|
||||||
pylint homeassistant
|
pylint homeassistant
|
||||||
displayName: 'Run pylint'
|
displayName: 'Run pylint'
|
||||||
|
- job: 'Mypy'
|
||||||
|
pool:
|
||||||
|
vmImage: 'ubuntu-latest'
|
||||||
|
container: $[ variables['PythonMain'] ]
|
||||||
|
steps:
|
||||||
|
- script: |
|
||||||
|
python -m venv venv
|
||||||
|
|
||||||
|
. venv/bin/activate
|
||||||
|
pip install -r requirements_test.txt
|
||||||
|
displayName: 'Setup Env'
|
||||||
|
- script: |
|
||||||
|
. venv/bin/activate
|
||||||
|
TYPING_FILES=$(cat mypyrc)
|
||||||
|
mypy $TYPING_FILES
|
||||||
|
displayName: 'Run mypy'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user