🤖 Repository layout updated to latest version

This commit was automatically generated by [a script](https://gitfub.space/Jmaa/repo-manager)
This commit is contained in:
Takunomi Automaticus, The 2nd 2025-05-21 00:48:53 +02:00 committed by Jon Michael Aanes
parent 6ed0a589c2
commit 261251a9c7

View File

@ -21,7 +21,7 @@ PACKAGE_DESCRIPTION_SHORT = """
Unofficial library for reading contract states from Partisia Blockchain.""".strip()
def parse_version_file(text: str) -> str:
text = re.sub('^#.*$', '', text)
text = re.sub('^#.*', '', text, flags=re.MULTILINE)
match = re.match(r'^\s*__version__\s*=\s*(["\'])([\d\.]+)\1$', text)
if match is None:
msg = 'Malformed _version.py file!'