[Minor] flake8

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

No files matched your search

+1 -1
View File
@@ -2089,7 +2089,7 @@ def plugin_prefs(parent, cmdr: str, is_beta: bool) -> Frame:
"""
PADX = 10 # noqa: N806
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'))):
output: int = config.OUT_EDDN_SEND_STATION_DATA | config.OUT_EDDN_SEND_NON_STATION # default settings
+5 -5
View File
@@ -247,11 +247,11 @@ def toggle_password_visibility():
def plugin_prefs(parent: ttk.Notebook, cmdr: str, is_beta: bool) -> tk.Frame:
"""Plugin Preferences UI hook."""
PADX = 10
BUTTONX = 12 # indent Checkbuttons and Radiobuttons
PADY = 2 # close spacing
SEPY = 10 # seperator line spacing
cur_row = 0
PADX = 10 # noqa: N806
BUTTONX = 12 # noqa: N806 # indent Checkbuttons and Radiobuttons
PADY = 2 # noqa: N806 # close spacing
SEPY = 10 # noqa: N806 # seperator line spacing
cur_row = 0 # noqa: N806
frame = nb.Frame(parent)
frame.columnconfigure(1, weight=1)