src/eric7/Plugins/PluginCodeStyleChecker.py

branch
server
changeset 10574
622e59b51640
parent 10439
21c28b0f9e41
child 10594
6156d9675f62
equal deleted inserted replaced
10573:c4f503f40caf 10574:622e59b51640
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
479 self.__editorAct.setEnabled(editor.isPyFile()) 480 self.__editorAct.setEnabled(editor.isPyFile())
480 481
481 def __editorCodeStyleCheck(self): 482 def __editorCodeStyleCheck(self):
482 """ 483 """
483 Private slot to handle the code style check context menu action 484 Private slot to handle the code style check context menu action

eric ide

mercurial