-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
96 lines (85 loc) · 1.97 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "panpdf"
version = "0.3.13"
description = "A PDF generator from Markdown that embeds figures from Jupyter Notebooks."
readme = "README.md"
license = { file = "LICENSE" }
authors = [{ name = "daizutabi", email = "[email protected]" }]
classifiers = [
"Development Status :: 4 - Beta",
"Framework :: MkDocs",
"Programming Language :: Python",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Documentation",
"Topic :: Software Development :: Documentation",
]
requires-python = ">=3.10"
dependencies = [
"aiohttp",
"ipykernel",
"nbformat",
"panflute >= 2.3.1",
"pyyaml",
"pyzotero",
"rich",
"typer",
]
[project.urls]
Documentation = "https://daizutabi.github.io/panpdf"
Source = "https://github.com/daizutabi/panpdf"
Issues = "https://github.com/daizutabi/panpdf/issues"
[project.scripts]
panpdf = "panpdf.main:app"
[tool.uv]
dev-dependencies = [
"cairosvg",
"hvplot",
"matplotlib",
"numpy",
"pandas",
"polars",
"pytest-clarity",
"pytest-cov",
"pytest-randomly",
"pytest-xdist",
"seaborn",
]
[tool.hatch.build.targets.sdist]
exclude = ["/.github", "/docs"]
[tool.hatch.build.targets.wheel]
packages = ["src/panpdf"]
[tool.pytest.ini_options]
addopts = ["--cov-report=lcov:lcov.info", "--cov=panpdf"]
filterwarnings = ['ignore:setDaemon\(\) is deprecated:DeprecationWarning']
[tool.coverage.report]
exclude_lines = ["if TYPE_CHECKING:", "raise NotImplementedError"]
skip_covered = true
[tool.ruff]
line-length = 88
target-version = "py310"
[tool.ruff.lint]
select = ["ALL"]
unfixable = ["F401"]
ignore = ["ARG002", "D", "PGH003"]
[tool.ruff.lint.per-file-ignores]
"tests/*" = [
"ANN",
"ARG",
"ERA",
"NPY",
"PD",
"PLR",
"PT",
"PTH",
"RUF",
"S",
"T",
]
"filter.py" = ["ANN"]
"formatters.py" = ["ANN", "ARG", "SLF"]