diff -r d595f6f9cbf8 -r 4ef3b78ebb4e eric6/Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.py --- a/eric6/Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.py Sat Sep 21 18:30:02 2019 +0200 +++ b/eric6/Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.py Sat Sep 21 20:30:56 2019 +0200 @@ -12,8 +12,9 @@ import fnmatch from PyQt5.QtCore import pyqtSlot, Qt, QTimer -from PyQt5.QtWidgets import QDialog, QDialogButtonBox, QTreeWidgetItem, \ - QApplication, QHeaderView +from PyQt5.QtWidgets import ( + QDialog, QDialogButtonBox, QTreeWidgetItem, QApplication, QHeaderView +) from E5Gui.E5Application import e5App @@ -119,8 +120,10 @@ @param sourcecode faulty line of code (string) @param isWarning flag indicating a warning message (boolean) """ - if self.__lastFileItem is None or \ - self.__lastFileItem.data(0, self.filenameRole) != filename: + if ( + self.__lastFileItem is None or + self.__lastFileItem.data(0, self.filenameRole) != filename + ): # It's a new file self.__lastFileItem = QTreeWidgetItem(self.resultList, [ self.__project.getRelativePath(filename)]) @@ -428,8 +431,10 @@ fileList = self.__fileList[:] filterString = self.excludeFilesEdit.text() - if "ExcludeFiles" not in self.__data or \ - filterString != self.__data["ExcludeFiles"]: + if ( + "ExcludeFiles" not in self.__data or + filterString != self.__data["ExcludeFiles"] + ): self.__data["ExcludeFiles"] = filterString self.__project.setData("CHECKERSPARMS", "SyntaxChecker", self.__data) @@ -437,8 +442,9 @@ if f.strip()] if filterList: for fileFilter in filterList: - fileList = \ - [f for f in fileList if not fnmatch.fnmatch(f, fileFilter)] + fileList = [ + f for f in fileList if not fnmatch.fnmatch(f, fileFilter) + ] self.resultList.clear() self.noResults = True