This repository has been archived by the owner on Sep 5, 2024. It is now read-only.
generated from ludeeus/integration_blueprint
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
41df9f4
commit 4fc6902
Showing
2 changed files
with
11 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,16 @@ | ||
"""Constants for mastodon_profile_stats.""" | ||
import json | ||
from logging import Logger, getLogger | ||
from pathlib import Path | ||
|
||
LOGGER: Logger = getLogger(__package__) | ||
|
||
NAME = "Mastodon Profile Stats" | ||
DOMAIN = "mastodon_profile_stats" | ||
VERSION = "1.0.2" | ||
manifestfile = Path(__file__).parent / "manifest.json" | ||
with open(file=manifestfile, encoding="UTF-8") as json_file: | ||
manifest_data = json.load(json_file) | ||
|
||
DOMAIN = manifest_data.get("domain") | ||
NAME = manifest_data.get("name") | ||
VERSION = manifest_data.get("version") | ||
ISSUEURL = manifest_data.get("issue_tracker") | ||
MANUFACTURER = "@Andrew-CodeChimp" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters