-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
85 lines (73 loc) · 2.16 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
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"
[tool.poetry]
name = "boozelib"
version = "0.7.0"
description = """
A Python module containing a couple of tools to calculate the \
blood alcohol content of people.
"""
authors = ["Brutus <[email protected]>"]
license = "GPL-3.0-or-later"
readme = "README.md"
homepage = "https://github.com/brutus/boozelib/"
repository = "https://github.com/brutus/boozelib/"
documentation = "https://boozelib.readthedocs.org/"
classifiers = [
"Intended Audience :: Developers",
"Intended Audience :: Healthcare Industry",
"Natural Language :: English",
"Programming Language :: Python",
"Topic :: Software Development :: Libraries :: Python Modules",
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
]
[tool.poetry.dependencies]
bump2version = {version = "^1.0.0", optional = true}
nox = {version = "^2019.11.9", optional = true}
pre-commit = {version = "^2.3.0", optional = true}
python = ">=3.8"
sphinx-autobuild = {version = "^2020.9.1", optional = true}
towncrier = {version = "^19.2.0", optional = true}
[tool.poetry.extras]
dev = [ "bump2version", "pre-commit", "towncrier" ]
doc = [ "sphinx-autobuild" ]
test = [ "nox" ]
[tool.black]
target-version = ["py38"]
[tool.flakehell]
max_line_length = 88
exclude = [".nox/*"]
[tool.flakehell.plugins]
pyflakes = ["+*"]
[tool.towncrier]
directory = "changes"
filename = "CHANGELOG.md"
template = "changes/template.j2"
start_string = "<!-- TOWNCRIER -->\n"
underlines = ["", ""]
title_format = "## {version} ({project_date})"
issue_format = "[#{issue}](https://github.com/brutus/boozelib/issues/{issue})"
wrap = true
# TOWNCRIER TYPES: feature, change, removal, fix, misc
[[tool.towncrier.type]]
directory = "feature"
name = "Features"
showcontent = true
[[tool.towncrier.type]]
directory = "change"
name = "Changes"
showcontent = true
[[tool.towncrier.type]]
directory = "removal"
name = "Deprecations and Removals"
showcontent = true
[[tool.towncrier.type]]
directory = "fix"
name = "Bugfixes"
showcontent = true
[[tool.towncrier.type]]
directory = "misc"
name = "Misc"
showcontent = false