-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
77 lines (64 loc) · 1.4 KB
/
pyproject.toml
File metadata and controls
77 lines (64 loc) · 1.4 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
[project]
name = "linklint"
description = "A Sphinx extension to remove needless links"
readme = "README.rst"
authors = [
{name = "Ned Batchelder", email = "[email protected]"},
]
license = "Apache-2.0"
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python",
]
requires-python = ">= 3.12"
dependencies = [
"Sphinx",
]
dynamic = ["version"]
[project.optional-dependencies]
dev = [
"build",
"coverage",
"pytest",
"ruff",
"tox",
"tox-uv",
"ty",
]
[project.scripts]
linklint = "linklint.cli:main"
[tool.setuptools.dynamic]
version.attr = "linklint.__version__"
[build-system]
requires = ["setuptools>=80"]
build-backend = "setuptools.build_meta"
[tool.ruff]
line-length = 100
[tool.pytest]
filterwarnings = [
# lib/python3.15/site-packages/pygments/regexopt.py:57: DeprecationWarning: os.path.commonprefix() is deprecated. Use os.path.commonpath() for longest path prefix.
"ignore::DeprecationWarning:pygments",
]
[tool.coverage.paths]
source = [
"src/linklint",
"*/site-packages/linklint",
]
tests = [
"tests",
"*/linklint/tests",
]
[tool.coverage.run]
branch = true
parallel = true
source = ["tests"]
source_pkgs = ["linklint"]
[tool.coverage.report]
exclude_also = [
"if __name__ == .__main__.:",
"pragma: only failure",
"pragma: debugging",
"if SAVE_INTERMEDIATE:",
]
show_missing = true
skip_covered = true