Skip to content

Commit

Permalink
Add __version__ member to version.py (#303)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicoretti authored Dec 5, 2024
1 parent 85bc0e7 commit 8fea6e9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions doc/changes/unreleased.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

## 🔧 Changed

* Add `__version__` member to generated `version.py` for compatibility with other versions schemes
* Excluded pyupgrade from project check due to its destructive nature
* Updated cookiecutter template
- removed obsolete template file `version.html`
Expand Down
1 change: 1 addition & 0 deletions exasol/toolbox/pre_commit_hooks/package_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
MINOR = {minor}
PATCH = {patch}
VERSION = f"{{MAJOR}}.{{MINOR}}.{{PATCH}}"
__version__ = VERSION
''') + "\n"
# fmt: on

Expand Down
1 change: 1 addition & 0 deletions exasol/toolbox/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@
MINOR = 18
PATCH = 0
VERSION = f"{MAJOR}.{MINOR}.{PATCH}"
__version__ = VERSION
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@
MINOR = 1
PATCH = 0
VERSION = f"{MAJOR}.{MINOR}.{PATCH}"
__version__ = VERSION

0 comments on commit 8fea6e9

Please sign in to comment.