339 # Check if it's the requested file, otherwise ignore signal if not |
339 # Check if it's the requested file, otherwise ignore signal if not |
340 # in batch mode |
340 # in batch mode |
341 if not self.__batch and fn != self.filename: |
341 if not self.__batch and fn != self.filename: |
342 return |
342 return |
343 |
343 |
|
344 self.checkProgressLabel.setPath(self.__project.getRelativePath(fn)) |
|
345 QApplication.processEvents() |
|
346 |
344 if "error" in result: |
347 if "error" in result: |
345 self.__createErrorItem(fn, result["error"]) |
348 self.__createErrorItem(fn, result["error"]) |
346 else: |
349 else: |
347 self.__createResultItem(fn, result) |
350 self.__createResultItem(fn, result) |
348 |
351 |
349 self.progress += 1 |
352 self.progress += 1 |
350 |
353 |
351 self.checkProgress.setValue(self.progress) |
354 self.checkProgress.setValue(self.progress) |
352 self.checkProgressLabel.setPath(self.__project.getRelativePath(fn)) |
|
353 QApplication.processEvents() |
355 QApplication.processEvents() |
354 |
356 |
355 if not self.__batch: |
357 if not self.__batch: |
356 self.maintainabilityIndex() |
358 self.maintainabilityIndex() |
357 |
359 |