f28227729c
towncrier likes to capitalize things, so libp2p was showing up as Libp2P. Uuuugly.
66 lines
1.3 KiB
TOML
66 lines
1.3 KiB
TOML
[tool.towncrier]
|
|
# Read https://github.com/libp2p/py-libp2p/newsfragments/README.md for instructions
|
|
package = "libp2p"
|
|
filename = "docs/release_notes.rst"
|
|
directory = "newsfragments"
|
|
underlines = ["-", "~", "^"]
|
|
title_format = "libp2p v{version} ({project_date})"
|
|
issue_format = "`#{issue} <https://github.com/libp2p/py-libp2p/issues/{issue}>`__"
|
|
|
|
[[tool.towncrier.type]]
|
|
directory = "feature"
|
|
name = "Features"
|
|
showcontent = true
|
|
|
|
[[tool.towncrier.type]]
|
|
directory = "bugfix"
|
|
name = "Bugfixes"
|
|
showcontent = true
|
|
|
|
[[tool.towncrier.type]]
|
|
directory = "performance"
|
|
name = "Performance improvements"
|
|
showcontent = true
|
|
|
|
[[tool.towncrier.type]]
|
|
directory = "doc"
|
|
name = "Improved Documentation"
|
|
showcontent = true
|
|
|
|
[[tool.towncrier.type]]
|
|
directory = "removal"
|
|
name = "Deprecations and Removals"
|
|
showcontent = true
|
|
|
|
[[tool.towncrier.type]]
|
|
directory = "internal"
|
|
name = "Internal Changes - for py-libp2p Contributors"
|
|
showcontent = true
|
|
|
|
[[tool.towncrier.type]]
|
|
directory = "misc"
|
|
name = "Miscellaneous changes"
|
|
showcontent = false
|
|
|
|
[tool.black]
|
|
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
|
|
)/
|
|
| \w*_pb2\w*\.py # pb2 files
|
|
)
|
|
'''
|