1
0
mirror of https://github.com/checktheroads/hyperglass synced 2024-05-11 05:55:08 +00:00

Update code formatting - line length

This commit is contained in:
thatmattlove
2021-09-12 15:09:24 -07:00
parent a62785227e
commit 52ebf4663c
50 changed files with 151 additions and 464 deletions

View File

@@ -125,14 +125,12 @@ def register_all_plugins(devices: "Devices") -> None:
"""Validate and register configured plugins."""
for plugin_file in {
Path(p)
for p in (p for d in devices.objects for c in d.commands for p in c.plugins)
Path(p) for p in (p for d in devices.objects for c in d.commands for p in c.plugins)
}:
failures = register_plugin(plugin_file)
for failure in failures:
log.warning(
"Plugin '{}' is not a valid hyperglass plugin, and was not registered",
failure,
"Plugin '{}' is not a valid hyperglass plugin, and was not registered", failure,
)