-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
47 lines (39 loc) · 1012 Bytes
/
pyproject.toml
File metadata and controls
47 lines (39 loc) · 1012 Bytes
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
[project]
name = "tocsmith"
version = "0.1.0"
description = "Create PDF bookmarks automatically using heuristics, with CLI and async tkinter GUI"
authors = [{ name = "Wesley Yang", email = "yxnian@outlook.com" }]
urls = { Homepage = "https://github.com/wesleyel/pdf-bookmark", Source = "https://github.com/wesleyel/pdf-bookmark" }
readme = "README.md"
requires-python = ">=3.9"
license = { file = "LICENSE" }
dependencies = [
"pypdf>=4.2.0",
"tomli>=2.0.1; python_version < '3.11'",
]
[project.optional-dependencies]
dev = [
"pytest>=8.2",
"pytest-cov>=5.0",
"ruff>=0.5.0",
"mypy>=1.10.0",
]
[project.scripts]
tocsmith = "tocsmith.cli:main"
tocsmith-gui = "tocsmith.gui:main"
[tool.uv]
package = true
[tool.pytest.ini_options]
addopts = "-q"
pythonpath = ["."]
[tool.setuptools.packages.find]
where = ["."]
include = ["tocsmith*"]
[tool.ruff]
line-length = 100
target-version = "py39"
[tool.mypy]
python_version = "3.9"
strict = false
warn_unused_ignores = true
ignore_missing_imports = true