twtb.utils
#
Module for some of our utils.
Module Contents#
Classes#
Metaclass to do Singleton pattern. |
Functions#
|
Setup logging for the addon. |
|
Start Sentry listening. |
|
Get current commit from |
|
Remove prefix from the string. |
|
Remove suffix from the string. |
- class Singleton[source]#
Bases:
type
Metaclass to do Singleton pattern.
- _get_commit(commit_txt_path: pathlib.Path) str | None [source]#
Get current commit from
commit.txt
file.