PyLintInterface/PyLintConfigDialog.py

branch
eric7
changeset 117
f8955e5dba87
parent 116
71d3a2e48265
child 119
ebb5306aeb60
equal deleted inserted replaced
116:71d3a2e48265 117:f8955e5dba87
24 class PyLintConfigDialog(QDialog, Ui_PyLintConfigDialog): 24 class PyLintConfigDialog(QDialog, Ui_PyLintConfigDialog):
25 """ 25 """
26 Class implementing a dialog to configure the PyLint process. 26 Class implementing a dialog to configure the PyLint process.
27 """ 27 """
28 28
29 def __init__(self, ppath, exe, parms, version): 29 def __init__(self, ppath, exe, parms, version, parent=None):
30 """ 30 """
31 Constructor 31 Constructor
32 32
33 @param ppath project path; used to set the default path for the 33 @param ppath project path; used to set the default path for the
34 rcfile picker 34 rcfile picker
37 @type str 37 @type str
38 @param parms parameters to set in the dialog 38 @param parms parameters to set in the dialog
39 @type dict 39 @type dict
40 @param version pylint version (unused) 40 @param version pylint version (unused)
41 @type str 41 @type str
42 """ 42 @param parent reference to the parent widget (defaults to None)
43 super().__init__(None) 43 @type QWidget
44 """
45 super().__init__(parent=parent)
44 self.setupUi(self) 46 self.setupUi(self)
45 47
46 self.__version = version 48 self.__version = version
47 self.__pylintProc = None 49 self.__pylintProc = None
48 self.__lint = exe 50 self.__lint = exe

eric ide

mercurial