35 Used to set the default path for the rcfile selection dialog |
35 Used to set the default path for the rcfile selection dialog |
36 @param exe name of the pylint executable (string) |
36 @param exe name of the pylint executable (string) |
37 @param parms parameters to set in the dialog |
37 @param parms parameters to set in the dialog |
38 @param version pylint version (string) |
38 @param version pylint version (string) |
39 """ |
39 """ |
40 super(PyLintConfigDialog, self).__init__(None) |
40 super().__init__(None) |
41 self.setupUi(self) |
41 self.setupUi(self) |
42 |
42 |
43 self.version = version |
43 self.version = version |
44 self.pylintProc = None |
44 self.pylintProc = None |
45 self.lint = exe |
45 self.lint = exe |
302 [m.strip() for m in self.enabledMessagesEdit.text().split(',')]) |
302 [m.strip() for m in self.enabledMessagesEdit.text().split(',')]) |
303 self.parameters['disabledMessages'] = ','.join( |
303 self.parameters['disabledMessages'] = ','.join( |
304 [m.strip() for m in self.disabledMessagesEdit.text().split(',')]) |
304 [m.strip() for m in self.disabledMessagesEdit.text().split(',')]) |
305 |
305 |
306 # call the accept slot of the base class |
306 # call the accept slot of the base class |
307 super(PyLintConfigDialog, self).accept() |
307 super().accept() |
308 |
308 |
309 ########################################################################### |
309 ########################################################################### |
310 ## Methods below are needed to generate a configuration file template |
310 ## Methods below are needed to generate a configuration file template |
311 ########################################################################### |
311 ########################################################################### |
312 |
312 |