Skip to content

Commit 1130ef9

Browse files
author
ds-sebastian-chwilczynski
committed
chore: use variable instead of constant in setup.cfg
1 parent 1bf88e9 commit 1130ef9

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

pyproject.toml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -156,10 +156,7 @@ logging_use_named_masks = false
156156
major_on_zero = false
157157
allow_zero_version = true
158158
tag_format = "v{version}"
159-
version_variables = [
160-
"setup.cfg:version",
161-
"src/dbally/__version__.py:__version__",
162-
]
159+
version_variables = ["src/dbally/__version__.py:__version__"]
163160
build_command = "pip install build && python -m build"
164161

165162
[tool.semantic_release.branches.main]

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[metadata]
22
name = dbally
33
# do not change version by hand, is will be automatically updated during the release action
4-
version = 0.1.0
4+
version = attr: dbally.__version__.__version__
55
description = "Efficient, consistent and secure library for querying structured data with natural language"
66
long_description = file: README.md
77
long_description_content_type = text/markdown

0 commit comments

Comments
 (0)