1
0

Compare commits

...

9 Commits

Author SHA1 Message Date
acb99df8b6 🤖 Bumped version to 0.1.9
All checks were successful
Package Python / Package (push) Successful in 21s
Test Python / Test (push) Successful in 19s
This commit was automatically generated by a script: https://gitfub.space/Jmaa/python-omni
2024-06-02 17:02:33 +02:00
62808406e6 🤖 Repository layout updated to latest Python version
This commit was automatically generated by a script: https://gitfub.space/Jmaa/python-omni
2024-06-02 17:00:22 +02:00
a0e72ce264 🤖 Repository layout updated to latest Python version
This commit was automatically generated by a script: https://gitfub.space/Jmaa/python-omni
2024-06-02 16:57:01 +02:00
27e4a8631c 🤖 Repository layout updated to latest Python version
This commit was automatically generated by a script: https://gitfub.space/Jmaa/python-omni
2024-06-02 16:50:24 +02:00
2bea90ab04 🤖 Repository layout updated to latest Python version
This commit was automatically generated by a script: https://gitfub.space/Jmaa/python-omni
2024-06-02 16:50:24 +02:00
b8484a326c 🤖 Repository layout updated to latest Python version
This commit was automatically generated by a script: https://gitfub.space/Jmaa/python-omni
2024-06-02 16:49:23 +02:00
e36dc6dd5f 🤖 Repository layout updated to latest Python version
This commit was automatically generated by a script: https://gitfub.space/Jmaa/python-omni
2024-06-02 16:49:23 +02:00
b20f80e85e 🤖 Repository layout updated to latest Python version
This commit was automatically generated by a script: https://gitfub.space/Jmaa/python-omni
2024-06-02 16:37:45 +02:00
815175d84b 🤖 Repository layout updated to latest Python version
This commit was automatically generated by a script: https://gitfub.space/Jmaa/python-omni
2024-06-02 16:37:45 +02:00
4 changed files with 3 additions and 4 deletions

1
.gitignore vendored
View File

@ -4,6 +4,7 @@
/secrets/ /secrets/
/private_deps/ /private_deps/
/data/ /data/
/config/
# Python # Python
__pycache__/ __pycache__/

1
ruff.toml Symbolic link
View File

@ -0,0 +1 @@
/home/jmaa/.config/ruff/pyproject.toml

View File

@ -15,7 +15,6 @@ PACKAGE_NAME = 'socials_util'
with open('README.md') as f: with open('README.md') as f:
readme = f.read() readme = f.read()
def parse_version_file(text: str) -> str: def parse_version_file(text: str) -> str:
match = re.match(r'^__version__\s*=\s*(["\'])([\d\.]+)\1$', text) match = re.match(r'^__version__\s*=\s*(["\'])([\d\.]+)\1$', text)
if match is None: if match is None:
@ -23,11 +22,9 @@ def parse_version_file(text: str) -> str:
raise Exception(msg) raise Exception(msg)
return match.group(2) return match.group(2)
with open(PACKAGE_NAME + '/_version.py') as f: with open(PACKAGE_NAME + '/_version.py') as f:
version = parse_version_file(f.read()) version = parse_version_file(f.read())
def parse_requirements(text: str) -> list[str]: def parse_requirements(text: str) -> list[str]:
return text.strip().split('\n') return text.strip().split('\n')

View File

@ -1 +1 @@
__version__ = '0.1.8' __version__ = '0.1.9'