-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
57 lines (48 loc) · 1.04 KB
/
pyproject.toml
File metadata and controls
57 lines (48 loc) · 1.04 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
49
50
51
52
53
54
55
56
57
[build-system]
requires = ["setuptools>=69", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "TestMagick"
version = "0.1.0"
description = "Typst 기반 YAML/JSON 입력으로 문제지·정답지 PDF를 생성하는 로컬 CLI 도구."
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"Jinja2>=3.1.4,<4",
"PyYAML>=6.0.1,<7",
"pydantic>=2.6,<3",
"python-dotenv>=1.0,<2",
"rich>=13.0,<15",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0.0,<9",
"ruff>=0.6.0,<1",
]
preprocess = [
"pymupdf>=1.24,<2",
]
markdown = [
"pymupdf>=1.24,<2",
"marker-pdf>=1.0",
]
generate = [
"pymupdf>=1.24,<2",
"anthropic>=0.40,<1",
]
[project.scripts]
testmagick = "testmagick.cli:main"
[tool.setuptools]
package-dir = {"" = "src"}
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
testmagick = ["templates/*.j2"]
[tool.pytest.ini_options]
pythonpath = ["src"]
testpaths = ["tests"]
[tool.ruff]
line-length = 100
target-version = "py311"
[tool.ruff.lint]
select = ["E", "F", "I"]