Skip to content

Commit

Permalink
[Minor] flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
Phoebe committed Nov 17, 2023
1 parent 8063cf0 commit fc9775b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion plugins/eddn.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 5 additions & 5 deletions plugins/inara.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit fc9775b

Please sign in to comment.