Type hint additions (#26831)
* Type hint additions * Remove optional from sidebar_icon comment Co-Authored-By: Franck Nijhof <frenck@frenck.nl> * Remove optional from sidebar_title comment Co-Authored-By: Franck Nijhof <frenck@frenck.nl> * Fix issues after rebase and mypy 0.730
This commit is contained in:
1 parent
4f55235aa2
commit
f259ff17d5
27 files changed
+184
-68
No files matched your search
@@ -7,6 +7,8 @@ from homeassistant.helpers import config_validation as cv
|
||||
from . import const
|
||||
|
||||
|
||||
# mypy: allow-untyped-defs
|
||||
|
||||
# Minimal requirements of a message
|
||||
MINIMAL_MESSAGE_SCHEMA = vol.Schema(
|
||||
{vol.Required("id"): cv.positive_int, vol.Required("type"): cv.string},
|
||||
|
||||
Reference in new issue
Block a user