py-libp2p/pyproject.toml

65 lines
1.3 KiB
TOML
Raw Normal View History

[tool.towncrier]
2019-11-27 04:44:17 +08:00
# Read https://github.com/libp2p/py-libp2p/newsfragments/README.md for instructions
package = "libp2p"
filename = "docs/release_notes.rst"
directory = "newsfragments"
underlines = ["-", "~", "^"]
2019-11-27 04:44:17 +08:00
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
2019-11-26 04:28:05 +08:00
[[tool.towncrier.type]]
directory = "internal"
2019-11-27 04:44:17 +08:00
name = "Internal Changes - for py-libp2p Contributors"
2019-11-26 04:28:05 +08:00
showcontent = true
[[tool.towncrier.type]]
directory = "misc"
2019-11-26 04:28:05 +08:00
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
)
'''