1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-06-02 16:41:04 +03:00

plugins/inara: Minor typing fixes

This commit is contained in:
Athanasius 2022-12-22 16:35:42 +00:00
parent 71cbfb8358
commit e66bae090b
No known key found for this signature in database
GPG Key ID: 772697E181BB2767

View File

@ -30,12 +30,12 @@ from dataclasses import dataclass
from datetime import datetime, timedelta, timezone from datetime import datetime, timedelta, timezone
from operator import itemgetter from operator import itemgetter
from threading import Lock, Thread from threading import Lock, Thread
from tkinter import ttk
from typing import TYPE_CHECKING, Any, Callable, Deque, Dict, List, Mapping, NamedTuple, Optional from typing import TYPE_CHECKING, Any, Callable, Deque, Dict, List, Mapping, NamedTuple, Optional
from typing import OrderedDict as OrderedDictT from typing import OrderedDict as OrderedDictT
from typing import Sequence, Union, cast from typing import Sequence, Union, cast
import requests import requests
import ttk
import edmc_data import edmc_data
import killswitch import killswitch
@ -236,7 +236,7 @@ def plugin_stop() -> None:
logger.debug('Done.') logger.debug('Done.')
def plugin_prefs(parent: ttk.Frame, cmdr: str, is_beta: bool) -> tk.Frame: def plugin_prefs(parent: ttk.Notebook, cmdr: str, is_beta: bool) -> tk.Frame:
"""Plugin Preferences UI hook.""" """Plugin Preferences UI hook."""
x_padding = 10 x_padding = 10
x_button_padding = 12 # indent Checkbuttons and Radiobuttons x_button_padding = 12 # indent Checkbuttons and Radiobuttons