mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2026-05-24 16:02:28 -04:00
Edit publish workflow to reuse existing test workflow, and use the build package to build the libretranslate package
This commit is contained in:
+3
-2
@@ -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 = [
|
||||
|
||||
Reference in New Issue
Block a user