blob: d9be1457cf122eb441da1f99ae51c57af624e1c7 (
plain)
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
|
[build-system]
requires = ["setuptools >= 44", "wheel >= 0.30", "setuptools_scm[toml]>=3.4"]
build-backend = "setuptools.build_meta"
[tool.black]
line-length = 120
[tool.isort]
line_length = 120
profile = "black"
known_first_party = ["tox", "tests"]
[tool.setuptools_scm]
write_to = "src/tox/version.py"
write_to_template = """
\"\"\" Version information \"\"\"
__version__ = "{version}"
"""
[tool.towncrier]
package = "tox"
package_dir = "" # we purposfully do not set this as src, forcing import from site-package that has version.py
filename = "docs/changelog.rst"
directory = "docs/changelog"
title_format = false
issue_format = "`#{issue} <https://github.com/tox-dev/tox/issues/{issue}>`_"
template = "docs/changelog/template.jinja2"
# possible types, all default: feature, bugfix, doc, removal, misc
|