Run mypy in pre-commit (#27339)
* Move mypy files config to setup.cfg * Add mypy in pre-commit
This commit is contained in:
committed by
Paulus Schoutsen
parent
d345b58ce6
commit
3e6b9a17cc
@@ -166,9 +166,6 @@ 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 $TYPING_FILES
|
||||
mypy homeassistant
|
||||
displayName: 'Run mypy'
|
||||
|
||||
Reference in New Issue
Block a user