You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

pyproject.toml 879 B

10 months ago
1234567891011121314151617181920212223242526272829303132
  1. [project]
  2. name = "dora-argotranslate"
  3. version = "0.3.11"
  4. description = "Dora Node for Text translating using Argostranslate"
  5. authors = [
  6. { name = "Haixuan Xavier Tao", email = "tao.xavier@outlook.com" },
  7. { name = "Enzo Le Van", email = "dev@enzo-le-van.fr" },
  8. { name = "Félix Huang", email = "felix.huang.net@gmail.com" },
  9. ]
  10. license = { text = "MIT" }
  11. readme = "README.md"
  12. requires-python = ">=3.8"
  13. dependencies = ["dora-rs >= 0.3.9", "numpy < 2.0.0", "argostranslate >= 1.9.6"]
  14. [dependency-groups]
  15. dev = ["pytest >=8.1.1", "ruff >=0.9.1"]
  16. [project.scripts]
  17. dora-argotranslate = "dora_argotranslate.main:main"
  18. [tool.ruff.lint]
  19. extend-select = [
  20. "D", # pydocstyle
  21. "UP", # Ruff's UP rule
  22. "PERF", # Ruff's PERF rule
  23. "RET", # Ruff's RET rule
  24. "RSE", # Ruff's RSE rule
  25. "NPY", # Ruff's NPY rule
  26. "N", # Ruff's N rule
  27. "I", # Ruff's I rule
  28. ]