mirror of
https://github.com/rendercv/rendercv.git
synced 2025-12-23 21:47:55 -05:00
Switch from pyright to ty (https://github.com/astral-sh/ty)
This commit is contained in:
@@ -99,7 +99,10 @@ def define_env(env):
|
||||
]
|
||||
|
||||
# Available themes strings (put available themes between ``)
|
||||
themes = [f"`{theme}`" if theme != "classic" else "`classic` (default)" for theme in available_themes]
|
||||
themes = [
|
||||
f"`{theme}`" if theme != "classic" else "`classic` (default)"
|
||||
for theme in available_themes
|
||||
]
|
||||
env.variables["available_themes"] = ", ".join(themes)
|
||||
env.variables["theme_count"] = len(available_themes)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user