mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-13 07:47:14 +03:00
[Minor] Update Type Hint
This commit is contained in:
parent
48311ae70c
commit
29c4bd4028
3
EDMC.py
3
EDMC.py
@ -1,5 +1,4 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
# flake8: noqa TAE001
|
|
||||||
"""
|
"""
|
||||||
EDMC.py - Command-line interface. Requires prior setup through the GUI.
|
EDMC.py - Command-line interface. Requires prior setup through the GUI.
|
||||||
|
|
||||||
@ -27,7 +26,7 @@ from EDMCLogging import edmclogger, logger, logging
|
|||||||
|
|
||||||
if TYPE_CHECKING:
|
if TYPE_CHECKING:
|
||||||
from logging import TRACE # type: ignore # noqa: F401 # needed to make mypy happy
|
from logging import TRACE # type: ignore # noqa: F401 # needed to make mypy happy
|
||||||
def _(x): return x
|
def _(x: str): return x
|
||||||
|
|
||||||
edmclogger.set_channels_loglevel(logging.INFO)
|
edmclogger.set_channels_loglevel(logging.INFO)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user