src/eric7/EricWidgets/EricMainWindow.py

branch
eric7
changeset 10180
3a595df36c9a
parent 9653
e67609152c5e
child 10248
981456110843
--- a/src/eric7/EricWidgets/EricMainWindow.py	Thu Aug 31 15:00:53 2023 +0200
+++ b/src/eric7/EricWidgets/EricMainWindow.py	Thu Aug 31 18:10:28 2023 +0200
@@ -40,8 +40,7 @@
         """
         # step 1: set the style
         style = None
-        if styleName != "System" and styleName in QStyleFactory.keys():
-            # __IGNORE_WARNING_Y118__
+        if styleName != "System" and styleName in QStyleFactory.keys():  # noqa: Y118
             style = QStyleFactory.create(styleName)
         if style is None:
             style = QStyleFactory.create(self.defaultStyleName)

eric ide

mercurial