generated from yadach/python-template-rye
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
53 lines (45 loc) · 1.12 KB
/
pyproject.toml
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
49
50
51
52
53
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "paper-reader"
version = "0.1.0"
description = "Tools for reading papers."
authors = [
{ name = "yadach", email = "[email protected]" }
]
dependencies = [
"pyyaml>=6.0.1",
"beautifulsoup4>=4.12.3",
"lxml>=5.2.1",
"requests>=2.31.0",
"arxiv>=2.1.0",
"fire>=0.6.0",
"tqdm>=4.66.4",
"openai>=1.25.1",
]
readme = "README.md"
requires-python = ">= 3.10"
[project.scripts]
generate-paper-list = "trpy.bin.generate_paper_list:main"
summarize-abstract = "trpy.bin.summarize_abstract:main"
convert-list = "trpy.bin.convert_list:main"
convert-to-md = "trpy.bin.convert_list:conv2md"
[tool.rye]
managed = true
dev-dependencies = [
"ruff>=0.4.1",
"pre-commit>=3.7.0",
]
[tool.hatch.build.targets.wheel]
packages = ["src/trpy"]
[tool.ruff]
line-length = 120
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
[tool.ruff.lint]
select = ["ALL"]
ignore = ["ANN101", "D101", "D203", "D213", "D407", "D413", "FBT001", "FBT002", "S101"]
[tool.ruff.lint.isort]
force-single-line = true