Add pylint CodeStyle extension (#53147)

This commit is contained in:
Marc Mueller 2021-07-19 15:57:06 +02:00 committed by GitHub
parent c35b5a1c64
commit f6b162bc39
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
60 changed files with 103 additions and 98 deletions

View file

@ -56,7 +56,7 @@ async def device_scan(identifier, loop, cache=None):
if matches:
return cache, matches[0]
for hosts in [_host_filter(), None]:
for hosts in (_host_filter(), None):
scan_result = await scan(loop, timeout=3, hosts=hosts)
matches = [atv for atv in scan_result if _filter_device(atv)]