38:aefce8f68439 | 39:e033c7f0d45e |
---|---|
103 None, | 103 None, |
104 ], | 104 ], |
105 } | 105 } |
106 | 106 |
107 | 107 |
108 def createCorbaPage(configDlg): | 108 def createCorbaPage(configDlg): # noqa: U100 |
109 """ | 109 """ |
110 Module function to create the CORBA configuration page. | 110 Module function to create the CORBA configuration page. |
111 | 111 |
112 @param configDlg reference to the configuration dialog | 112 @param configDlg reference to the configuration dialog |
113 @type ConfigurationWidget | 113 @type ConfigurationWidget |
286 """ | 286 """ |
287 from ExtensionCorba.LexerIDL import LexerIDL | 287 from ExtensionCorba.LexerIDL import LexerIDL |
288 | 288 |
289 return LexerIDL(parent=parent) | 289 return LexerIDL(parent=parent) |
290 | 290 |
291 def getFileIcon(self, filename=""): | 291 def getFileIcon(self, filename=""): # noqa: U100 |
292 """ | 292 """ |
293 Public method to get the name of a file icon. | 293 Public method to get the name of a file icon. |
294 | 294 |
295 @param filename file name (defaults to "") | 295 @param filename file name (defaults to "") |
296 @type str (optional) | 296 @type str (optional) |
300 iconSuffix = "dark" if ericApp().usesDarkPalette() else "light" | 300 iconSuffix = "dark" if ericApp().usesDarkPalette() else "light" |
301 return os.path.join("ExtensionCorba", "icons", "corba-{0}".format(iconSuffix)) | 301 return os.path.join("ExtensionCorba", "icons", "corba-{0}".format(iconSuffix)) |
302 | 302 |
303 | 303 |
304 # | 304 # |
305 # eflag: noqa = M801 | 305 # eflag: noqa = M801, U200 |