mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2026-11-18 02:52:42 +03:00
[Flake8] Ignore Type Hint Missing
It's not missing. They're there.
This commit is contained in:
1 file changed
+2
-1
@@ -1,4 +1,5 @@
|
||||
#!/usr/bin/env python3
|
||||
# flake8: noqa TAE001
|
||||
"""
|
||||
EDMC.py - Command-line interface. Requires prior setup through the GUI.
|
||||
|
||||
@@ -164,7 +165,7 @@ def main(): # noqa: C901, CCR001
|
||||
newversion: EDMCVersion | None = updater.check_appcast()
|
||||
if newversion:
|
||||
# LANG: Update Available Text
|
||||
newverstr = _("{NEWVER} is available").format(NEWVER=newversion.title)
|
||||
newverstr: str = _("{NEWVER} is available").format(NEWVER=newversion.title)
|
||||
print(f'{appversion()} ({newverstr})')
|
||||
else:
|
||||
print(appversion())
|
||||
|
||||
Reference in new issue
Block a user