forked from fleetingbytes/rtfparse
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
144 lines (122 loc) · 3.09 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
[build-system]
requires = [
"hatchling",
"hatch-semver"
]
build-backend = "hatchling.build"
[project]
name = "rtfparse"
description = "Tool to parse Microsoft Rich Text Format (RTF)"
readme = "README.md"
requires-python = ">=3.10"
authors = [
{ name = "Sven Siegmund", email = "[email protected]" },
]
classifiers = [
#"Development Status :: 3 - Alpha",
#"Development Status :: 4 - Beta",
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Environment :: Console",
"Topic :: Software Development :: Testing",
"Topic :: Utilities",
"Natural Language :: English",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Operating System :: OS Independent",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS :: MacOS X",
]
keywords = [
"rtf",
"parse",
]
dependencies = [
"argcomplete",
"extract-msg",
"compressed_rtf",
"provide_dir",
]
dynamic = ["version"]
[project.license]
file = "LICENSE.txt"
[project.urls]
Documentation = "https://github.com/fleetingbytes/rtfparse#readme"
Issues = "https://github.com/fleetingbytes/rtfparse/issues"
Source = "https://github.com/fleetingbytes/rtfparse"
[project.scripts]
rtfparse = "rtfparse:main"
[tool.hatch.version]
path = "src/rtfparse/__about__.py"
validate-bump = true
scheme = "semver"
[tool.hatch.envs.default]
dependencies = [
"pytest-cov",
]
[tool.hatch.envs.default.scripts]
cov = "pytest --cov-report=term-missing --cov-config=pyproject.toml --cov=src/rtfparse --cov=tests {args}"
no-cov = "cov --no-cov {args}"
[tool.hatch.envs.style]
dependencies = [
"black",
"isort",
]
[tool.hatch.envs.style.scripts]
fmt = [
"isort .",
"black .",
]
[tool.hatch.envs.tc]
dependencies = [
"towncrier",
]
[tool.hatch.envs.tc.scripts]
draft = "towncrier build --draft"
build = "towncrier build --yes"
[tool.hatch.envs.docs]
dependencies = [
"pdoc3"
]
[[tool.hatch.envs.test.matrix]]
python = ["311"]
[tool.coverage.run]
branch = true
parallel = true
omit = [
#"src/rtfparse/__about__.py",
]
[tool.coverage.report]
exclude_lines = [
"no cov",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
]
[tool.black]
line-length = 102
[tool.isort]
line_length = 102
[tool.towncrier]
name = "rtfparse"
package = "rtfparse"
package_dir = "src"
directory = "changelog.d"
filename = "CHANGELOG.md"
start_string = "<!-- towncrier release notes start -->\n"
underlines = ["", "", ""]
template = "changelog.d/changelog_template.jinja"
#title_format = "## [{version}](https://github.com/fleetingbytes/rtfparse/{version}) - {project_date}"
title_format = "## {version} ({project_date})"
issue_format = "[#{issue}](https://github.com/fleetingbytes/rtfparse/issues/{issue})"
orphan_prefix = "+"
[tool.towncrier.fragment.doc]
name = "Documentation"
[tool.towncrier.fragment.feature]
name = "New Features"
[tool.towncrier.fragment.improved]
name = "Improvements"
[tool.towncrier.fragment.fixed]
name = "Bugfixes"
[tool.towncrier.fragment.unimportant]
name = "Development Details"