skyeweave/atlasimagecomposer/config/config.py
Firq 3fde0f4f08
All checks were successful
/ mypy (push) Successful in 13s
/ pylint (push) Successful in 10s
/ release (push) Successful in 11s
/ lint-and-typing (push) Successful in 15s
/ build-artifacts (push) Successful in 7s
/ publish-artifacts (push) Successful in 8s
Added logging, added quiet flag
2024-10-14 20:23:09 +02:00

23 lines
590 B
Python

# pylint: disable=too-few-public-methods
import os
import pathlib
class Logging:
_level = os.environ.get("AIC_STDOUT_LEVEL", "info")
LEVEL = int(_level) if _level.isdigit() else _level.upper()
NAME = "atlasimagecomposer"
class Paths:
_root = pathlib.Path(__file__).parents[1]
IMAGES = _root / ".temp"
OUTPUT = _root / ".out"
class ExpressionDefaults:
FACESIZE = 256
SHEETSIZE = 1024
class AtlasDefaults:
REGION = "JP"
TIMEOUT = 10
MST_SVT_JSON = "https://git.atlasacademy.io/atlasacademy/fgo-game-data/raw/branch/JP/master/mstSvtScript.json"