mirror of
https://github.com/esphome/esphome.git
synced 2026-06-24 12:35:25 +00:00
[core] Enable ruff C4 (flake8-comprehensions) lint family (#16653)
This commit is contained in:
@@ -12,9 +12,9 @@ if __name__ == "__main__":
|
||||
components = get_components_with_dependencies(files, True)
|
||||
|
||||
dump = {
|
||||
"actions": sorted(list(ACTION_REGISTRY.keys())),
|
||||
"conditions": sorted(list(CONDITION_REGISTRY.keys())),
|
||||
"pin_providers": sorted(list(PIN_SCHEMA_REGISTRY.keys())),
|
||||
"actions": sorted(ACTION_REGISTRY.keys()),
|
||||
"conditions": sorted(CONDITION_REGISTRY.keys()),
|
||||
"pin_providers": sorted(PIN_SCHEMA_REGISTRY.keys()),
|
||||
}
|
||||
|
||||
print(json.dumps(dump, indent=2))
|
||||
|
||||
Reference in New Issue
Block a user