Edit publish workflow to reuse existing test workflow, and use the build package to build the libretranslate package

This commit is contained in:
Vincent Emonet
2023-07-10 08:11:51 +02:00
parent 1c0fb597fb
commit a1eb871bb6
5 changed files with 20 additions and 66 deletions
+3 -2
View File
@@ -84,8 +84,10 @@ features = [
"test",
]
[tool.hatch.envs.default.scripts]
dev = "python main.py {args}"
locales = "python scripts/compile_locales.py"
fmt = [
"ruff libretranslate scripts --fix",
]
@@ -145,8 +147,7 @@ select = [
"PLE", # pylint error
# "PLR", # pylint refactor
# "PLW", # pylint warning
"RUF", # ruff specific
"T",
# "RUF", # ruff specific
]
ignore = [