-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
48 lines (38 loc) · 1.11 KB
/
Copy pathpyproject.toml
File metadata and controls
48 lines (38 loc) · 1.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
[build-system]
requires = ["setuptools>=68", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "tunifolk"
version = "0.1.0"
description = "Reinforcement-learning fine-tuning of Gemini for Tunisian folk poetry (الشعر الشعبي التونسي)"
readme = "README.md"
requires-python = ">=3.11"
license = { text = "Apache-2.0" }
authors = [{ name = "Chouaieb Nemri" }]
keywords = ["gemini", "rlft", "arabic", "tunisian", "malhun", "poetry", "vertex-ai"]
dependencies = [
"requests>=2.31",
"google-auth>=2.30",
"pyyaml>=6.0",
]
[project.optional-dependencies]
dev = ["pytest>=8.0", "ruff>=0.5"]
server = ["flask>=3.0", "gunicorn>=21.2"]
[project.scripts]
tunifolk = "tunifolk.cli:main"
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
tunifolk = ["resources/*.json.gz"]
[tool.pytest.ini_options]
pythonpath = ["src", "."]
testpaths = ["tests"]
[tool.ruff]
line-length = 100
target-version = "py311"
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B", "SIM", "D"]
ignore = ["D203", "D213", "D401"]
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["D"]
"scripts/*" = ["D"]