1
0
mirror of https://github.com/LibreTranslate/LibreTranslate.git synced 2025-11-23 22:04:43 +02:00

Add pre-commit to automatically run formatting when committing

This commit is contained in:
Vincent Emonet
2023-07-23 13:24:15 +02:00
parent 7d07967574
commit 25168ba6e1
14 changed files with 74 additions and 34 deletions

View File

@@ -1,5 +1,6 @@
from libretranslate import main
def app(*args, **kwargs):
import sys
sys.argv = ['--wsgi']