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:
1 parent
10b120f11f
commit
e8e84fb764
10 files changed
+39
-14
No files matched your search
@@ -6,6 +6,8 @@ from homeassistant.core import HomeAssistant
|
||||
import homeassistant.config as config_util
|
||||
|
||||
|
||||
# mypy: allow-untyped-calls, allow-untyped-defs
|
||||
|
||||
def run(args):
|
||||
"""Handle ensure config commandline script."""
|
||||
parser = argparse.ArgumentParser(
|
||||
|
||||
Reference in new issue
Block a user