Skip to content

Commit

Permalink
öö
Browse files Browse the repository at this point in the history
  • Loading branch information
FreddyFox892 committed Sep 25, 2024
1 parent 3c7a142 commit 24e3b20
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ truethy-bool = true
[tool.mypy]
disable_error_code = []

[tool.pylint."MASTER"]
ignore = ["src/ebdamame/_version.py"]

[build-system]
requires = ["hatchling>=1.8.0", "hatch-vcs", "hatch-fancy-pypi-readme"]
build-backend = "hatchling.build"
Expand All @@ -86,6 +89,9 @@ source = "vcs"

[tool.hatch.build.hooks.vcs]
version-file = "src/ebdamame/_version.py"
template = '''
version = "{version}"
'''

[tool.hatch.build.targets.sdist]
exclude = ["/unittests"]
Expand Down
Empty file added src/ebdamame/_version.py
Empty file.
21 changes: 21 additions & 0 deletions src/ebdamame/version.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
"""
My Module Docstring for version module.
"""

# file generated by setuptools_scm
# don't change, don't track in version control
TYPE_CHECKING = False
if TYPE_CHECKING:
from typing import Tuple, Union

VERSION_TUPLE = Tuple[Union[int, str], ...]
else:
VERSION_TUPLE = object

version: str
__version__: str
__version_tuple__: VERSION_TUPLE
version_tuple: VERSION_TUPLE

__version__ = version = "0.1.6.dev28+gd2fbd24"
__version_tuple__ = version_tuple = (0, 1, 6, "dev28", "gd2fbd24")

0 comments on commit 24e3b20

Please sign in to comment.