Skip to content

Conversation

@aernesto
Copy link

The stextools/__init__.py file now defines the __version__ dunder that can be imported from anywhere for version introspection.

from stextools import __version__
print(__version__)  # the version appearing in the pyproject.toml

In this commit, the stextools.core.cache.Cache.get_stextools_version method now makes use of this __version__ introspection.

This commit also gitignores venv directories

The stextools/__init__.py file now defines the __version__
dunder that can be imported from anywhere for version introspection.
>>> from stextools import __version__
>>> print(__version__)  # the version appearing in the pyproject.toml

In this commit, the stextools.core.cache.Cache.get_stextools_version
now makes use of this __version__ introspection.

This commit also gitignores venv directories
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant