Attrs cleanups (#37849)
This commit is contained in:
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):
|
||||
|
||||
Reference in new issue
Block a user