2019-07-29 18:51:01 +08:00
|
|
|
[tool.towncrier]
|
2019-11-27 04:44:17 +08:00
|
|
|
# Read https://github.com/libp2p/py-libp2p/newsfragments/README.md for instructions
|
|
|
|
package = "libp2p"
|
2019-07-29 18:51:01 +08:00
|
|
|
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}>`__"
|
2019-07-29 18:51:01 +08:00
|
|
|
|
|
|
|
[[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
|
|
|
|
|
2019-07-29 18:51:01 +08:00
|
|
|
[[tool.towncrier.type]]
|
|
|
|
directory = "misc"
|
2019-11-26 04:28:05 +08:00
|
|
|
name = "Miscellaneous changes"
|
|
|
|
showcontent = false
|
2019-11-27 04:34:18 +08:00
|
|
|
|
2019-08-03 18:02:27 +08:00
|
|
|
[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
|
|
|
|
)
|
|
|
|
'''
|