Remove svgwrite dependency from info.json and refactor profile.py to eliminate unused import of modern style, streamlining project requirements and improving code clarity.
Some checks are pending
Run pre-commit / Run pre-commit (push) Waiting to run

This commit is contained in:
Valerie 2025-05-26 21:42:50 -04:00
parent aa552e9a3d
commit 18664d75c3
2 changed files with 1 additions and 2 deletions

View file

@ -35,7 +35,6 @@
"python-dotenv", "python-dotenv",
"psutil", "psutil",
"skia-python>=87.5", "skia-python>=87.5",
"svgwrite>=1.4.3",
"tenacity", "tenacity",
"ujson", "ujson",
"uvicorn", "uvicorn",

View file

@ -15,7 +15,7 @@ from redbot.core.utils.chat_formatting import box, humanize_number
from ..abc import MixinMeta from ..abc import MixinMeta
from ..common import formatter, utils from ..common import formatter, utils
from ..common.models import Profile from ..common.models import Profile
from ..generator.styles import default, runescape, modern from ..generator.styles import default, runescape
log = logging.getLogger("red.vrt.levelup.shared.profile") log = logging.getLogger("red.vrt.levelup.shared.profile")
_ = Translator("LevelUp", __file__) _ = Translator("LevelUp", __file__)