mirror of https://github.com/zeromq/pyzmq.git
51 lines
1.0 KiB
TOML
51 lines
1.0 KiB
TOML
[tool.black]
|
|
skip-string-normalization = true
|
|
exclude = "zmq/eventloop/minitornado|docs/source/conf.py"
|
|
|
|
[tool.isort]
|
|
profile = "black"
|
|
multi_line_output = 3
|
|
skip = [
|
|
"zmq/__init__.py"
|
|
]
|
|
|
|
[build-system]
|
|
requires = [
|
|
"setuptools",
|
|
"wheel",
|
|
"packaging",
|
|
"cffi; implementation_name == 'pypy'",
|
|
]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[tool.tbump]
|
|
# Uncomment this if your project is hosted on GitHub:
|
|
github_url = "https://github.com/zeromq/pyzmq"
|
|
|
|
[tool.tbump.version]
|
|
current = "23.0.0b2"
|
|
regex = '''
|
|
(?P<major>\d+)
|
|
\.
|
|
(?P<minor>\d+)
|
|
\.
|
|
(?P<patch>\d+)
|
|
(?P<pre>((a|b|rc|)\d+)|.dev\d*|)
|
|
'''
|
|
|
|
[tool.tbump.git]
|
|
message_template = "Bump to {new_version}"
|
|
tag_template = "v{new_version}"
|
|
|
|
# For each file to patch, add a [[tool.tbump.file]] config
|
|
# section containing the path of the file, relative to the
|
|
# pyproject.toml location.
|
|
|
|
[[tool.tbump.file]]
|
|
src = "setup.py"
|
|
search = 'version="{current_version}"'
|
|
|
|
[[tool.tbump.file]]
|
|
src = "zmq/sugar/version.py"
|
|
search = '__version__: str = "{current_version}"'
|