1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-15 00:30:33 +03:00

[Minor] flake8

This commit is contained in:
Phoebe 2023-11-17 01:57:13 +01:00
parent 8063cf099b
commit fc9775b910
2 changed files with 6 additions and 6 deletions

View File

@ -2089,7 +2089,7 @@ def plugin_prefs(parent, cmdr: str, is_beta: bool) -> Frame:
""" """
PADX = 10 # noqa: N806 PADX = 10 # noqa: N806
BUTTONX = 12 # noqa: N806 # indent Checkbuttons and Radiobuttons BUTTONX = 12 # noqa: N806 # indent Checkbuttons and Radiobuttons
PADY = 2 PADY = 2 # noqa: N806
if prefsVersion.shouldSetDefaults('0.0.0.0', not bool(config.get_int('output'))): if prefsVersion.shouldSetDefaults('0.0.0.0', not bool(config.get_int('output'))):
output: int = config.OUT_EDDN_SEND_STATION_DATA | config.OUT_EDDN_SEND_NON_STATION # default settings output: int = config.OUT_EDDN_SEND_STATION_DATA | config.OUT_EDDN_SEND_NON_STATION # default settings

View File

@ -247,11 +247,11 @@ def toggle_password_visibility():
def plugin_prefs(parent: ttk.Notebook, 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."""
PADX = 10 PADX = 10 # noqa: N806
BUTTONX = 12 # indent Checkbuttons and Radiobuttons BUTTONX = 12 # noqa: N806 # indent Checkbuttons and Radiobuttons
PADY = 2 # close spacing PADY = 2 # noqa: N806 # close spacing
SEPY = 10 # seperator line spacing SEPY = 10 # noqa: N806 # seperator line spacing
cur_row = 0 cur_row = 0 # noqa: N806
frame = nb.Frame(parent) frame = nb.Frame(parent)
frame.columnconfigure(1, weight=1) frame.columnconfigure(1, weight=1)