-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
165 lines (141 loc) · 4.22 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
[project]
dependencies = ["python >=3.8, <4", "docopt-ng >=0.9.0, <1", "jinja2 >=3.1.4, <4", "markdown >=3.5.2, <4", "docutils ==0.20.1", "tomli >=2.0.1, <3", "typing_extensions"]
[project.optional-dependencies]
dev = ["coverage", "pytest >=6.0.1", "pytest-cov >=2.10.1", "pytest-xdist >=2.1.0", "tox", "pylint >=3.0.2", "mypy", "types-docutils", "types-Markdown", "python-dotenv ==0.11.0", "html5lib", "proselint >=0.13.0", "interrogate >=1.5.0", "pydoctest >=0.1.22", "pdoc3 >=0.10.0", "mdformat >=0.7.17", "linkcheckmd >=1.4.0", "codespell >=2.2.6", "pyenchant >=3.2.2", "metametameta", "tomlkit"]
[tool.poetry]
name = "pydoc_fork"
version = "3.3.0"
description = "Fork of cpython's pydoc module to do just html document generation"
authors = ["Matthew Martin <[email protected]>"]
keywords = ["pydoc", "html documentation"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
include = [
"pydoc_fork/**/*.py",
"pydoc_fork/**/*.md",
"pydoc_fork/**/*.txt",
"pydoc_fork/**/*.html",
"pydoc_fork/**/*.jinja",
]
exclude = [
]
license = "MIT"
readme = "README.md"
repository = "https://github.com/matthewdeanmartin/pydoc_fork"
homepage = "https://github.com/matthewdeanmartin/pydoc_fork"
documentation = "https://github.com/matthewdeanmartin/pydoc_fork"
[tool.poetry.urls]
"Bug Tracker" = "https://github.com/matthewdeanmartin/pydoc_fork/issues"
"Change Log" = "https://github.com/matthewdeanmartin/pydoc_fork/blob/main/CHANGES.md"
[tool.poetry.scripts]
pydoc_fork = 'pydoc_fork.__main__:main'
[tool.poetry.dependencies]
# markdown is <4
python = ">=3.8, <4"
# cli
docopt-ng = ">=0.9.0, <1"
# ui
jinja2 = ">=3.1.4, <4"
markdown = ">=3.5.2, <4"
# docutils dropped 3.8 for later versions
docutils = "==0.20.1"
# loads pyproject.toml
tomli = ">=2.0.1, <3"
# backports of type annotations?
typing_extensions = "*"
[tool.poetry.dev-dependencies]
# testing
coverage = "*"
pytest = ">=6.0.1"
pytest-cov = ">=2.10.1"
pytest-xdist = ">=2.1.0"
tox = "*"
# linting
pylint = ">=3.0.2"
# types
mypy = "*"
types-docutils = "*"
types-Markdown = "*"
# secrets
python-dotenv = "==0.11.0"
# UI assertions
html5lib = "*"
# docs
proselint = ">=0.13.0"
interrogate = ">=1.5.0"
pydoctest = ">=0.1.22"
pdoc3 = ">=0.10.0"
mdformat = ">=0.7.17"
linkcheckmd = ">=1.4.0"
codespell = ">=2.2.6"
pyenchant = ">=3.2.2"
metametameta = "*"
# scripts
tomlkit = "*"
[tool.black]
line-length = 88
target-version = ['py37']
include = '\.pyi?$'
exclude = '''
(
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
| foo.py # also separately exclude a file named foo.py in
# the root of the project
)
'''
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"
[tool.pytest.ini_options]
minversion = "6.0"
testpaths = [
"tests",
]
junit_family = "xunit1"
norecursedirs = ["vendor", "scripts"]
# don't know how to do this in toml
#addopts = "--strict-markers"
#markers =
# slow: marks tests as slow (deselect with '-m "not slow"')
# fast: marks tests as fast (deselect with '-m "not fast"')
[tool.isort]
default_section = "THIRDPARTY"
force_grid_wrap = 0
include_trailing_comma = true
known_first_party = ["pydoc_fork"]
line_length = 88
multi_line_output = 3
use_parentheses = true
[tool.pydoc_fork]
PREFER_INTERNET_DOCUMENTATION = false
DOCUMENT_INTERNALS = false
SKIP_MODULES = ["typing"]
ONLY_NAMED_AND_SUBS = false
[tool.portray]
output_dir = "doc/docs_portray"
[tool.bonded]
search_path = 'pydoc_fork/'
pyproject = 'pyproject.toml'
exclude = ['__pycache__/']