MAESTRO: fix linting and formatting

This commit is contained in:
Mariusz Banach
2026-02-18 04:55:03 +01:00
parent af339e784e
commit 930495cd00
13 changed files with 22 additions and 29 deletions

View File

@@ -68,9 +68,7 @@ class Settings(BaseSettings):
parsed = json.loads(text)
if isinstance(parsed, list):
return [
str(item).strip()
for item in parsed
if str(item).strip()
str(item).strip() for item in parsed if str(item).strip()
]
except json.JSONDecodeError:
pass