mirror of
https://github.com/alexhopeoconnor/default.git
synced 2026-10-22 10:42:11 +10:00
New Github actions (#481)
* Test new check * Add quote * test * test * move check * move back * use env * test multistep * test trigger * if: github.event.label.name * quotes * hassfest? * Fix clone * Update hassfest * check hassfest * Use real domain * Lmit * Test hassfest * Check domain * Fix domain * No changes * Enable on unlable * Change HACS validate * Move inputs * Add dummy integration * TEst * Move to env * Fix repo * Remove entry
This commit is contained in:
+10
-2
@@ -1,10 +1,18 @@
|
||||
import json
|
||||
|
||||
categories = ["blacklist", "appdaemon", "integration", "netdaemon", "plugin", "python_script", "theme"]
|
||||
categories = [
|
||||
"blacklist",
|
||||
"appdaemon",
|
||||
"integration",
|
||||
"netdaemon",
|
||||
"plugin",
|
||||
"python_script",
|
||||
"theme",
|
||||
]
|
||||
|
||||
for category in categories:
|
||||
with open(category, "r") as cat_file:
|
||||
content = json.loads(cat_file.read())
|
||||
if content != sorted(content, key=str.casefold):
|
||||
print(f"{category} is not sorted correctly")
|
||||
exit(1)
|
||||
exit(1)
|
||||
|
||||
Reference in New Issue
Block a user