Plugins/PluginCodeStyleChecker.py

changeset 4221
c9fdc07753a7
parent 4219
a6ee92e1f023
child 4235
81278aff6af9
equal deleted inserted replaced
4220:4df8f9fc7ea9 4221:c9fdc07753a7
201 self.queuedBatches.append(lang) 201 self.queuedBatches.append(lang)
202 self.backgroundService.enqueueRequest('batch_style', lang, "", 202 self.backgroundService.enqueueRequest('batch_style', lang, "",
203 data[lang]) 203 data[lang])
204 self.batchesFinished = False 204 self.batchesFinished = False
205 205
206 def cancelStyleBatchCheck(self):
207 """
208 Public method to cancel all batch jobs.
209 """
210 for lang in ['Python2', 'Python3']:
211 self.backgroundService.requestCancel(lang)
212
206 def __translateStyleCheck(self, fn, codeStyleCheckerStats, results): 213 def __translateStyleCheck(self, fn, codeStyleCheckerStats, results):
207 """ 214 """
208 Private slot called after perfoming a style check on one file. 215 Private slot called after perfoming a style check on one file.
209 216
210 @param fn filename of the just checked file (str) 217 @param fn filename of the just checked file (str)

eric ide

mercurial