mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-16 09:10:35 +03:00
Added fake definition for _
_ is added by magic in the plugin loading system, which means there are no imports to indicate its existence to static analysis tools.
This commit is contained in:
parent
d2a1f09fac
commit
743984eb11
@ -20,6 +20,7 @@ import urllib.parse
|
||||
import urllib.request
|
||||
from queue import Queue
|
||||
from threading import Thread
|
||||
from typing import TYPE_CHECKING, Any
|
||||
|
||||
import requests
|
||||
|
||||
@ -28,6 +29,10 @@ import plug
|
||||
from config import applongname, appname, appversion, config
|
||||
from ttkHyperlinkLabel import HyperlinkLabel
|
||||
|
||||
if TYPE_CHECKING:
|
||||
def _(x: str) -> str:
|
||||
return x
|
||||
|
||||
logger = logging.getLogger(appname)
|
||||
|
||||
EDSM_POLL = 0.1
|
||||
|
Loading…
x
Reference in New Issue
Block a user