1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 12:59:34 +00:00

Type check homeassistant.scripts (#25464)

* Run mypy on homeassistant.scripts, disabling bunch of checks for now

* Declare async_initialize in AuthProvider

* Add some type hints

* Remove unreachable code

* Help mypy out

* Script docstring fixes
This commit is contained in:
Ville Skyttä
2019-07-24 23:18:40 +03:00
committed by Paulus Schoutsen
parent 10b120f11f
commit e8e84fb764
10 changed files with 39 additions and 14 deletions

View File

@@ -3,6 +3,8 @@ import os
import time
# mypy: allow-untyped-calls, allow-untyped-defs
def install_osx():
"""Set up to run via launchd on OS X."""
with os.popen('which hass') as inp: