Skip to content

Commit bf8bc50

Browse files
committed
release: publish 0.9.1
1 parent 4b7b43f commit bf8bc50

2 files changed

Lines changed: 11 additions & 16 deletions

File tree

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,9 @@ Source = "https://github.com/InCogNiTo124/knarrow"
4444
knarrow = "knarrow.cli:app"
4545

4646
[tool.hatch.version]
47+
source = "code"
4748
path = "src/knarrow/__about__.py"
48-
pattern = "^__version__ = version = \"(?P<version>.*)\"$"
49+
expression = "__version__"
4950

5051

5152
[tool.hatch.envs.default]

src/knarrow/__about__.py

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,15 @@
1-
# file generated by setuptools-scm
2-
# don't change, don't track in version control
1+
# SPDX-FileCopyrightText: 2021-present InCogNiTo124 <msmetko@msmetko.xyz>
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
34

4-
__all__ = ["__version__", "__version_tuple__", "version", "version_tuple"]
5-
6-
TYPE_CHECKING = False
7-
if TYPE_CHECKING:
8-
from typing import Tuple
9-
from typing import Union
5+
from typing import Tuple, Union
106

11-
VERSION_TUPLE = Tuple[Union[int, str], ...]
12-
else:
13-
VERSION_TUPLE = object
7+
VERSION_TUPLE = Tuple[Union[int, str], ...]
148

15-
version: str
16-
__version__: str
179
__version_tuple__: VERSION_TUPLE
1810
version_tuple: VERSION_TUPLE
1911

20-
__version__ = version = "0.9.0"
21-
__version_tuple__ = version_tuple = (0, 9, 0)
12+
__version_tuple__ = version_tuple = (0, 9, 1)
13+
__version__ = version = ".".join(map(str, version_tuple))
14+
15+
__all__ = ["__version__", "__version_tuple__", "version", "version_tuple"]

0 commit comments

Comments
 (0)