Multi-line tag support, watch component files, and cleanup (#624)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
Juro Oravec 2024-08-28 07:46:48 +02:00 committed by GitHub
parent b26a201138
commit ab059f362d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 217 additions and 50 deletions

View file

@ -102,6 +102,14 @@ class AppSettings:
def LIBRARIES(self) -> List:
return self.settings.get("libraries", [])
@property
def MULTILINE_TAGS(self) -> bool:
return self.settings.get("multiline_tags", True)
@property
def RELOAD_ON_TEMPLATE_CHANGE(self) -> bool:
return self.settings.get("reload_on_template_change", False)
@property
def TEMPLATE_CACHE_SIZE(self) -> int:
return self.settings.get("template_cache_size", 128)