From fbf8becff2024ba4694dcd472d94a005c5a6c043 Mon Sep 17 00:00:00 2001 From: NSoiffer Date: Mon, 8 Apr 2024 21:12:25 +0100 Subject: [PATCH] shorten line length to make flake8 happy --- addon/globalPlugins/MathCAT/MathCATPreferences.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/addon/globalPlugins/MathCAT/MathCATPreferences.py b/addon/globalPlugins/MathCAT/MathCATPreferences.py index b41986b..38c0bdd 100644 --- a/addon/globalPlugins/MathCAT/MathCATPreferences.py +++ b/addon/globalPlugins/MathCAT/MathCATPreferences.py @@ -57,7 +57,9 @@ def __init__(self, parent): # hack for "CopyAs" because its location in the prefs is not yet fixed if "CopyAs" not in user_preferences["Navigation"]: - user_preferences["Navigation"]["CopyAs"] = user_preferences["Other"]["CopyAs"] if "CopyAs" in user_preferences["Other"] else "MathML" + user_preferences["Navigation"]["CopyAs"] = ( + user_preferences["Other"]["CopyAs"] if "CopyAs" in user_preferences["Other"] else "MathML" + ) UserInterface.validate_user_preferences() if "NVDAAddOn" in user_preferences: