Corrected some code formatting issues. eric7

Tue, 03 Sep 2024 17:28:40 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Tue, 03 Sep 2024 17:28:40 +0200
branch
eric7
changeset 10907
c424150d2ac8
parent 10906
a398053bede2
child 10908
ef1b3cd9a6ca

Corrected some code formatting issues.

src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py file | annotate | diff | comparison | revisions
src/eric7/QScintilla/EditorAssembly.py file | annotate | diff | comparison | revisions
src/eric7/eric7_fido2.py file | annotate | diff | comparison | revisions
--- a/src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py	Tue Sep 03 17:27:20 2024 +0200
+++ b/src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py	Tue Sep 03 17:28:40 2024 +0200
@@ -133,7 +133,7 @@
     ),
     "M200": QCoreApplication.translate(
         "MiscellaneousChecker",
-        "unnecessary {0} comprehension - rewrite using dict.fromkeys()"
+        "unnecessary {0} comprehension - rewrite using dict.fromkeys()",
     ),
     ## Dictionaries with sorted keys
     "M251": QCoreApplication.translate(
--- a/src/eric7/QScintilla/EditorAssembly.py	Tue Sep 03 17:27:20 2024 +0200
+++ b/src/eric7/QScintilla/EditorAssembly.py	Tue Sep 03 17:28:40 2024 +0200
@@ -113,9 +113,7 @@
         """
         Public method to finish the setup of the assembly.
         """
-        splitterWidth = (
-            self.parent().width() - self.__editorSplitter.handleWidth()
-        )
+        splitterWidth = self.parent().width() - self.__editorSplitter.handleWidth()
         outlineWidth = Preferences.getEditor("SourceOutlineWidth")
         self.__editorSplitter.setSizes([splitterWidth - outlineWidth, outlineWidth])
 
--- a/src/eric7/eric7_fido2.py	Tue Sep 03 17:27:20 2024 +0200
+++ b/src/eric7/eric7_fido2.py	Tue Sep 03 17:28:40 2024 +0200
@@ -124,6 +124,7 @@
 if __name__ == "__main__":
     if os.name == "nt":
         from command_runner.elevate import elevate
+
         elevate(main)
     else:
         main()

eric ide

mercurial