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
Some checks are pending
Run pre-commit / Run pre-commit (push) Waiting to run
This commit is contained in:
parent
aa552e9a3d
commit
18664d75c3
2 changed files with 1 additions and 2 deletions
|
@ -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",
|
||||||
|
|
|
@ -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__)
|
||||||
|
|
Loading…
Add table
Reference in a new issue