271 "Warning: translation file '{0}' could not be" |
271 "Warning: translation file '{0}' could not be" |
272 " loaded.".format(translation) |
272 " loaded.".format(translation) |
273 ) |
273 ) |
274 print("Using default.") |
274 print("Using default.") |
275 |
275 |
276 def __projectShowMenu(self, menuName, menu): # noqa: U100 |
276 def __projectShowMenu( |
|
277 self, |
|
278 menuName, |
|
279 menu, # noqa: U100 |
|
280 ): |
277 """ |
281 """ |
278 Private slot called, when the the project menu or a submenu is |
282 Private slot called, when the the project menu or a submenu is |
279 about to be shown. |
283 about to be shown. |
280 |
284 |
281 @param menuName name of the menu to be shown |
285 @param menuName name of the menu to be shown |
301 if file_.endswith(tuple(Preferences.getPython("Python3Extensions"))) |
305 if file_.endswith(tuple(Preferences.getPython("Python3Extensions"))) |
302 ] |
306 ] |
303 |
307 |
304 if self.__projectVultureCheckerDialog is None: |
308 if self.__projectVultureCheckerDialog is None: |
305 from VultureChecker.VultureCheckerDialog import VultureCheckerDialog |
309 from VultureChecker.VultureCheckerDialog import VultureCheckerDialog |
|
310 # noqa: I101 |
306 |
311 |
307 self.__projectVultureCheckerDialog = VultureCheckerDialog(self) |
312 self.__projectVultureCheckerDialog = VultureCheckerDialog(self) |
308 self.__projectVultureCheckerDialog.show() |
313 self.__projectVultureCheckerDialog.show() |
309 self.__projectVultureCheckerDialog.prepare(files, project) |
314 self.__projectVultureCheckerDialog.prepare(files, project) |
310 |
315 |