Add some debugging to azure mypy job (#25632)
This commit is contained in:
parent
a398b39e12
commit
767b8e9f25
1 changed files with 4 additions and 0 deletions
|
@ -201,15 +201,19 @@ stages:
|
||||||
container: $[ variables['PythonMain'] ]
|
container: $[ variables['PythonMain'] ]
|
||||||
steps:
|
steps:
|
||||||
- script: |
|
- script: |
|
||||||
|
set -x
|
||||||
python -m venv venv
|
python -m venv venv
|
||||||
|
|
||||||
. venv/bin/activate
|
. venv/bin/activate
|
||||||
pip install -r requirements_test.txt -c homeassistant/package_constraints.txt
|
pip install -r requirements_test.txt -c homeassistant/package_constraints.txt
|
||||||
displayName: 'Setup Env'
|
displayName: 'Setup Env'
|
||||||
- script: |
|
- script: |
|
||||||
|
set -x
|
||||||
TYPING_FILES=$(cat mypyrc)
|
TYPING_FILES=$(cat mypyrc)
|
||||||
echo -e "Run mypy on: \n$TYPING_FILES"
|
echo -e "Run mypy on: \n$TYPING_FILES"
|
||||||
|
|
||||||
. venv/bin/activate
|
. venv/bin/activate
|
||||||
|
python --version
|
||||||
|
mypy --version
|
||||||
mypy $TYPING_FILES
|
mypy $TYPING_FILES
|
||||||
displayName: 'Run mypy'
|
displayName: 'Run mypy'
|
||||||
|
|
Loading…
Add table
Reference in a new issue