Attrs cleanups (#37849)

This commit is contained in:
Ville Skyttä authored and GitHub committed 2020-07-14 10:30:30 -07:00
1 parent 7e280e2b27
commit ac0dbb17af
22 files changed
+141 -148

No files matched your search

@@ -35,9 +35,9 @@ class DeviceTrackerPlatform:
"setup_scanner",
)
name = attr.ib(type=str)
platform = attr.ib(type=ModuleType)
config = attr.ib(type=Dict)
name: str = attr.ib()
platform: ModuleType = attr.ib()
config: Dict = attr.ib()
@property
def type(self):