src/eric7/Plugins/PluginCodeStyleChecker.py

branch
server
changeset 10630
552a790fd9bc
parent 10594
6156d9675f62
child 10704
27d21e5163b8
equal deleted inserted replaced
10629:b0d14cba79b1 10630:552a790fd9bc
474 @type Editor 474 @type Editor
475 """ 475 """
476 if menuName == "Checks": 476 if menuName == "Checks":
477 if self.__editorAct not in menu.actions(): 477 if self.__editorAct not in menu.actions():
478 menu.addAction(self.__editorAct) 478 menu.addAction(self.__editorAct)
479 # TODO: disable the action for eric-ide server files
480 self.__editorAct.setEnabled(editor.isPyFile()) 479 self.__editorAct.setEnabled(editor.isPyFile())
481 480
482 def __editorCodeStyleCheck(self): 481 def __editorCodeStyleCheck(self):
483 """ 482 """
484 Private slot to handle the code style check context menu action 483 Private slot to handle the code style check context menu action

eric ide

mercurial