mirror of
https://github.com/python-escpos/python-escpos
synced 2025-09-13 09:09:58 +00:00
mute mypy type issue
This commit is contained in:
@@ -146,7 +146,11 @@ def clean(s):
|
||||
return str(s)
|
||||
|
||||
|
||||
class Profile(get_profile_class("default")):
|
||||
# mute the mypy type issue with this dynamic base class function for now (: Any)
|
||||
ProfileBaseClass: Any = get_profile_class("default")
|
||||
|
||||
|
||||
class Profile(ProfileBaseClass):
|
||||
"""Profile class for user usage.
|
||||
|
||||
For users, who want to provide their own profile.
|
||||
|
Reference in New Issue
Block a user