Skip to content

Commit 2565cf3

Browse files
authored
Fix type annotation for __version__ variable
Remove the type hint since it will interfere string matching of tool like bump-my-version
1 parent f89498c commit 2565cf3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pythainlp/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SPDX-FileCopyrightText: 2016-2026 PyThaiNLP Project
22
# SPDX-FileType: SOURCE
33
# SPDX-License-Identifier: Apache-2.0
4-
__version__: str = "5.2.0"
4+
__version__ = "5.2.0" # type: ignore
55

66
thai_consonants: str = (
77
"กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรลวศษสหฬอฮ" # 44 chars

0 commit comments

Comments
 (0)