-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
109 lines (100 loc) · 2.24 KB
/
pyproject.toml
File metadata and controls
109 lines (100 loc) · 2.24 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
[project]
name = "docdown"
version = "0.5.0"
description = "DocDown is a Markdown extension for source code documentation."
keywords = ['docdown', 'markdown', 'documentation']
readme = "README.rst"
authors = [
{ name = "Justin Michalicek" },
{ name = "Jason Emerick" },
{ name = "Erin Kirby" },
{ name = "A. Lloyd Flanagan" },
{ name = "Dave MacNamara" },
]
license = "BSD-3-Clause"
license-files = ["LICEN[CS]E.*"]
classifiers = [
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'Natural Language :: English',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13',
]
requires-python = ">=3.11"
dependencies = [
"htmlmin2>=0.1.13",
"jinja2>=3.1.6",
"Markdown",
"pygments>=2.19.1",
"pystache",
]
[project.urls]
Homepage = "https://github.com/livio/DocDown-Python"
Issues = "https://github.com/livio/DocDown-Python/issues"
Changelog = "https://github.com/livio/DocDown-Python/blob/master/HISTORY.rst"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[dependency-groups]
dev = [
"mypy>=1.15.0",
"pre-commit>=4.2.0",
"pytest>=8.3.5",
"pyupgrade>=3.19.1",
"ruff>=0.11.6",
"tox>=4.25.0",
"types-markdown>=3.8.0.20250415",
]
[tool.ruff]
# Same as Black.
line-length = 120
# Assume Python 3.13.
target-version = "py313"
exclude = [
".bzr",
".direnv",
".eggs",
".git",
".github",
".hg",
".ruff_cache",
".svn",
".tox",
".venv",
"__pypackages__",
"_build",
"build",
"dist",
"migrations",
"node_modules",
"static",
]
[tool.tox]
requires = ["tox>=4"]
env_list = ["lint", "type", "3.13", "3.12", "3.11"]
[tool.tox.env_run_base]
description = "run unit tests"
deps = ["pytest>=8", "pytest-sugar"]
commands = [
[
"pytest",
{ replace = "posargs", default = [
"tests",
], extend = true },
],
]
[tool.tox.env.lint]
description = "run linters"
skip_install = true
deps = ["ruff"]
commands = [
["ruff", "check"],
["ruff", "format", "--check"],
]
[tool.tox.env.type]
description = "run type checks"
deps = ["mypy", "types-Markdown"]
commands = [
["mypy", "docdown"],
]