Tue, 01 Oct 2013 18:42:42 +0200
Continued changing the names of the various code style checkers to make them more appropriate to the broadened scope.
--- a/Plugins/CheckerPlugins/Pep8/CodeStyleChecker.py Tue Oct 01 18:34:19 2013 +0200 +++ b/Plugins/CheckerPlugins/Pep8/CodeStyleChecker.py Tue Oct 01 18:42:42 2013 +0200 @@ -4,7 +4,7 @@ # """ -Module implementing the PEP 8 checker. +Module implementing the code style checker. """ import os @@ -23,7 +23,7 @@ class CodeStyleCheckerPy2(object): """ - Class implementing the PEP 8 checker interface for Python 2. + Class implementing the code style checker interface for Python 2. """ def __init__(self, filename, lines, repeat=False, select="", ignore="", max_line_length=79,
--- a/Plugins/CheckerPlugins/Pep8/CodeStyleCheckerDialog.py Tue Oct 01 18:34:19 2013 +0200 +++ b/Plugins/CheckerPlugins/Pep8/CodeStyleCheckerDialog.py Tue Oct 01 18:42:42 2013 +0200 @@ -4,7 +4,7 @@ # """ -Module implementing a dialog to show the results of the PEP 8 check. +Module implementing a dialog to show the results of the code style check. """ import os @@ -71,7 +71,7 @@ class CodeStyleCheckerDialog(QDialog, Ui_CodeStyleCheckerDialog): """ - Class implementing a dialog to show the results of the PEP 8 check. + Class implementing a dialog to show the results of the code style check. """ filenameRole = Qt.UserRole + 1 lineRole = Qt.UserRole + 2 @@ -213,7 +213,7 @@ @param statistics dictionary of statistical data with message code as key and message count as value - @param fixer reference to the PEP 8 fixer (CodeStyleFixer) + @param fixer reference to the code style fixer (CodeStyleFixer) """ self.__statistics["_FilesCount"] += 1 stats = {v: k for v, k in statistics.items() if v[0].isupper()} @@ -231,7 +231,7 @@ """ Private method to update the collected fixer related statistics. - @param fixer reference to the PEP 8 fixer (CodeStyleFixer) + @param fixer reference to the code style fixer (CodeStyleFixer) """ self.__statistics["_IssuesFixed"] += fixer.fixed @@ -294,7 +294,7 @@ def start(self, fn, save=False, repeat=None): """ - Public slot to start the PEP 8 check. + Public slot to start the code style check. @param fn file or list of files or directory to be checked (string or list of strings) @@ -518,7 +518,7 @@ def __finish(self): """ - Private slot called when the PEP 8 check finished or the user + Private slot called when the code style check finished or the user pressed the cancel button. """ self.cancelled = True @@ -547,7 +547,7 @@ @pyqtSlot() def on_startButton_clicked(self): """ - Private slot to start a PEP 8 check run. + Private slot to start a code style check run. """ if self.__forProject: data = {
--- a/Plugins/CheckerPlugins/Pep8/CodeStyleCodeSelectionDialog.py Tue Oct 01 18:34:19 2013 +0200 +++ b/Plugins/CheckerPlugins/Pep8/CodeStyleCodeSelectionDialog.py Tue Oct 01 18:42:42 2013 +0200 @@ -4,7 +4,7 @@ # """ -Module implementing a dialog to select PEP 8 message codes. +Module implementing a dialog to select code style message codes. """ from PyQt4.QtCore import QCoreApplication @@ -21,7 +21,7 @@ class CodeStyleCodeSelectionDialog(QDialog, Ui_CodeStyleCodeSelectionDialog): """ - Class implementing a dialog to select PEP 8 message codes. + Class implementing a dialog to select code style message codes. """ def __init__(self, codes, showFixCodes, parent=None): """
--- a/Plugins/CheckerPlugins/Pep8/CodeStyleStatisticsDialog.py Tue Oct 01 18:34:19 2013 +0200 +++ b/Plugins/CheckerPlugins/Pep8/CodeStyleStatisticsDialog.py Tue Oct 01 18:42:42 2013 +0200 @@ -81,8 +81,8 @@ Private method to create an entry in the result list. @param count occurrences of the issue (integer) - @param code of a PEP 8 message (string) - @param message PEP 8 message to be shown (string) + @param code of a code style issue message (string) + @param message code style issue message to be shown (string) """ itm = QTreeWidgetItem(self.statisticsList) itm.setData(0, Qt.DisplayRole, count)
--- a/Plugins/CheckerPlugins/Pep8/__init__.py Tue Oct 01 18:34:19 2013 +0200 +++ b/Plugins/CheckerPlugins/Pep8/__init__.py Tue Oct 01 18:42:42 2013 +0200 @@ -4,5 +4,5 @@ # """ -Package containing the PEP 8 plugin. +Package containing the code style checker and fixer plug-in. """
--- a/Plugins/PluginPep8Checker.py Tue Oct 01 18:34:19 2013 +0200 +++ b/Plugins/PluginPep8Checker.py Tue Oct 01 18:42:42 2013 +0200 @@ -4,7 +4,7 @@ # """ -Module implementing the PEP 8 Checker plugin. +Module implementing the code style checker plug-in. """ import os @@ -18,7 +18,7 @@ import Preferences # Start-Of-Header -name = "PEP 8 Checker Plugin" +name = "Code Style Checker Plugin" author = "Detlev Offenbach <detlev@die-offenbachs.de>" autoactivate = True deactivateable = True @@ -40,7 +40,7 @@ class Pep8CheckerPlugin(QObject): """ - Class implementing the PEP 8 Checker plugin. + Class implementing the code style checker plug-in. """ def __init__(self, ui): """ @@ -80,7 +80,7 @@ self.trUtf8('&Code Style...'), 0, 0, self, 'project_check_pep8') self.__projectAct.setStatusTip( - self.trUtf8('Check PEP 8 compliance.')) + self.trUtf8('Check code style.')) self.__projectAct.setWhatsThis(self.trUtf8( """<b>Check Code Style...</b>""" """<p>This checks Python files for compliance to the""" @@ -186,7 +186,7 @@ def __projectPep8Check(self): """ - Public slot used to check the project files for PEP 8 compliance. + Public slot used to check the project files for code style. """ project = e5App().getObject("Project") project.saveAllScripts() @@ -205,7 +205,7 @@ def __projectBrowserPep8Check(self): """ - Private method to handle the PEP 8 check context menu action of + Private method to handle the code style check context menu action of the project sources browser. """ browser = e5App().getObject("ProjectBrowser")\ @@ -269,7 +269,7 @@ def __editorPep8Check(self): """ - Private slot to handle the PEP 8 check context menu action + Private slot to handle the code style check context menu action of the editors. """ editor = e5App().getObject("ViewManager").activeWindow()
--- a/QScintilla/Editor.py Tue Oct 01 18:34:19 2013 +0200 +++ b/QScintilla/Editor.py Tue Oct 01 18:42:42 2013 +0200 @@ -5262,7 +5262,7 @@ """ Public method to toggle a flakes warning indicator. - Note: This method is used to set PEP 8 warnings as well. + Note: This method is used to set code style warnings as well. @param line line number of the flakes warning @param warning flag indicating if the warning marker should be