mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2025-05-14 05:52:55 +00:00
Add pre-commit to automatically run formatting when committing
This commit is contained in:
parent
7d07967574
commit
25168ba6e1
14 changed files with 74 additions and 34 deletions
|
@ -44,7 +44,7 @@ def get_alternate_locale_links():
|
|||
tmpl = os.environ.get("LT_LOCALE_LINK_TEMPLATE")
|
||||
if tmpl is None:
|
||||
return []
|
||||
|
||||
|
||||
locales = get_available_locale_codes()
|
||||
result = []
|
||||
for l in locales:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue