Plugins/CheckerPlugins/Tabnanny/TabnannyDialog.py

changeset 3591
2f2a4a76dd22
parent 3484
645c12de6b0c
child 3656
441956d8fce5
equal deleted inserted replaced
3590:5280e37405b8 3591:2f2a4a76dd22
146 self.progress = 0 146 self.progress = 0
147 self.check() 147 self.check()
148 148
149 def check(self, codestring=''): 149 def check(self, codestring=''):
150 """ 150 """
151 Start a style check for one file. 151 Public method to start a style check for one file.
152 152
153 The results are reported to the __processResult slot. 153 The results are reported to the __processResult slot.
154 @keyparam codestring optional sourcestring (str) 154 @keyparam codestring optional sourcestring (str)
155 """ 155 """
156 if not self.files: 156 if not self.files:
185 self.indentCheckService.indentCheck( 185 self.indentCheckService.indentCheck(
186 None, self.filename, self.source) 186 None, self.filename, self.source)
187 187
188 def __processResult(self, fn, nok, line, error): 188 def __processResult(self, fn, nok, line, error):
189 """ 189 """
190 Privat slot called after perfoming a style check on one file. 190 Private slot called after perfoming a style check on one file.
191 191
192 @param fn filename of the just checked file (str) 192 @param fn filename of the just checked file (str)
193 @param nok flag if a problem was found (bool) 193 @param nok flag if a problem was found (bool)
194 @param line line number (str) 194 @param line line number (str)
195 @param error text of the problem (str) 195 @param error text of the problem (str)

eric ide

mercurial