Thu, 19 Sep 2013 18:58:33 +0200
Completed the PEP-257 fixes.
--- a/Documentation/Help/source.qhp Wed Sep 18 19:53:54 2013 +0200 +++ b/Documentation/Help/source.qhp Thu Sep 19 18:58:33 2013 +0200 @@ -8100,6 +8100,8 @@ <keyword name="Pep8Fixer (Module)" id="Pep8Fixer (Module)" ref="eric5.Plugins.CheckerPlugins.Pep8.Pep8Fixer.html" /> <keyword name="Pep8Fixer.__codeMatch" id="Pep8Fixer.__codeMatch" ref="eric5.Plugins.CheckerPlugins.Pep8.Pep8Fixer.html#Pep8Fixer.__codeMatch" /> <keyword name="Pep8Fixer.__findLogical" id="Pep8Fixer.__findLogical" ref="eric5.Plugins.CheckerPlugins.Pep8.Pep8Fixer.html#Pep8Fixer.__findLogical" /> + <keyword name="Pep8Fixer.__fixD111" id="Pep8Fixer.__fixD111" ref="eric5.Plugins.CheckerPlugins.Pep8.Pep8Fixer.html#Pep8Fixer.__fixD111" /> + <keyword name="Pep8Fixer.__fixD112" id="Pep8Fixer.__fixD112" ref="eric5.Plugins.CheckerPlugins.Pep8.Pep8Fixer.html#Pep8Fixer.__fixD112" /> <keyword name="Pep8Fixer.__fixD121" id="Pep8Fixer.__fixD121" ref="eric5.Plugins.CheckerPlugins.Pep8.Pep8Fixer.html#Pep8Fixer.__fixD121" /> <keyword name="Pep8Fixer.__fixD131" id="Pep8Fixer.__fixD131" ref="eric5.Plugins.CheckerPlugins.Pep8.Pep8Fixer.html#Pep8Fixer.__fixD131" /> <keyword name="Pep8Fixer.__fixD141" id="Pep8Fixer.__fixD141" ref="eric5.Plugins.CheckerPlugins.Pep8.Pep8Fixer.html#Pep8Fixer.__fixD141" />
--- a/Documentation/Source/eric5.Plugins.CheckerPlugins.Pep8.Pep8Fixer.html Wed Sep 18 19:53:54 2013 +0200 +++ b/Documentation/Source/eric5.Plugins.CheckerPlugins.Pep8.Pep8Fixer.html Thu Sep 19 18:58:33 2013 +0200 @@ -75,6 +75,12 @@ <td><a href="#Pep8Fixer.__findLogical">__findLogical</a></td> <td>Private method to extract the index of all the starts and ends of lines.</td> </tr><tr> +<td><a href="#Pep8Fixer.__fixD111">__fixD111</a></td> +<td>Private method to fix docstring enclosed in wrong quotes (D111).</td> +</tr><tr> +<td><a href="#Pep8Fixer.__fixD112">__fixD112</a></td> +<td>Private method to fix docstring 'r' or 'u' in leading quotes (D112, D113).</td> +</tr><tr> <td><a href="#Pep8Fixer.__fixD121">__fixD121</a></td> <td>Private method to fix a single line docstring on multiple lines (D121).</td> </tr><tr> @@ -279,6 +285,53 @@ tuple containing two lists of integer with start and end tuples of lines </dd> +</dl><a NAME="Pep8Fixer.__fixD111" ID="Pep8Fixer.__fixD111"></a> +<h4>Pep8Fixer.__fixD111</h4> +<b>__fixD111</b>(<i>code, line, pos</i>) +<p> + Private method to fix docstring enclosed in wrong quotes (D111). +</p><dl> +<dt><i>code</i></dt> +<dd> +code of the issue (string) +</dd><dt><i>line</i></dt> +<dd> +line number of the issue (integer) +</dd><dt><i>pos</i></dt> +<dd> +position inside line (integer) +</dd> +</dl><dl> +<dt>Returns:</dt> +<dd> +value indicating an applied/deferred fix (-1, 0, 1), + a message for the fix (string) and an ID for a deferred + fix (integer) +</dd> +</dl><a NAME="Pep8Fixer.__fixD112" ID="Pep8Fixer.__fixD112"></a> +<h4>Pep8Fixer.__fixD112</h4> +<b>__fixD112</b>(<i>code, line, pos</i>) +<p> + Private method to fix docstring 'r' or 'u' in leading quotes + (D112, D113). +</p><dl> +<dt><i>code</i></dt> +<dd> +code of the issue (string) +</dd><dt><i>line</i></dt> +<dd> +line number of the issue (integer) +</dd><dt><i>pos</i></dt> +<dd> +position inside line (integer) +</dd> +</dl><dl> +<dt>Returns:</dt> +<dd> +value indicating an applied/deferred fix (-1, 0, 1), + a message for the fix (string) and an ID for a deferred + fix (integer) +</dd> </dl><a NAME="Pep8Fixer.__fixD121" ID="Pep8Fixer.__fixD121"></a> <h4>Pep8Fixer.__fixD121</h4> <b>__fixD121</b>(<i>code, line, pos, apply=False</i>)
--- a/Plugins/CheckerPlugins/Pep8/Pep257Checker.py Wed Sep 18 19:53:54 2013 +0200 +++ b/Plugins/CheckerPlugins/Pep8/Pep257Checker.py Thu Sep 19 18:58:33 2013 +0200 @@ -778,7 +778,6 @@ not contextLines[cti].strip().startswith( ('"""', 'r"""', 'u"""', "'''", "r'''", "u'''")): cti += 1 - if cti == len(contextLines): return @@ -835,7 +834,7 @@ return docstrings = docstringContext.source() - if len(docstrings) in [1, 3]: + if len(docstrings) <= 3: # correct/invalid one-liner return
--- a/Plugins/CheckerPlugins/Pep8/Pep8Fixer.py Wed Sep 18 19:53:54 2013 +0200 +++ b/Plugins/CheckerPlugins/Pep8/Pep8Fixer.py Thu Sep 19 18:58:33 2013 +0200 @@ -20,10 +20,8 @@ import Utilities -# TODO: add fixers for some docstring issues -# D111, D112, D113 - -Pep8FixableIssues = ["D121", "D131", "D141", "D142", "D143", "D144", "D145", +Pep8FixableIssues = ["D111", "D112", "D113", "D121", "D131", "D141", + "D142", "D143", "D144", "D145", "E101", "E111", "E121", "E122", "E123", "E124", "E125", "E126", "E127", "E128", "E133", "E201", "E202", "E203", "E211", "E221", "E222", "E223", @@ -80,6 +78,9 @@ "fixed_" + os.path.basename(self.__filename)) self.__fixes = { + "D111": self.__fixD111, + "D112": self.__fixD112, + "D113": self.__fixD112, "D121": self.__fixD121, "D131": self.__fixD131, "D141": self.__fixD141, @@ -470,6 +471,267 @@ else: return left + replacement + right + def __fixD111(self, code, line, pos): + """ + Private method to fix docstring enclosed in wrong quotes (D111). + + @param code code of the issue (string) + @param line line number of the issue (integer) + @param pos position inside line (integer) + @return value indicating an applied/deferred fix (-1, 0, 1), + a message for the fix (string) and an ID for a deferred + fix (integer) + """ + line = line - 1 + left, right = self.__source[line].split("'''", 1) + self.__source[line] = left + '"""' + right + while line < len(self.__source): + if self.__source[line].rstrip().endswith("'''"): + left, right = self.__source[line].rsplit("'''", 1) + self.__source[line] = left + '"""' + right + break + line += 1 + + return ( + 1, + self.trUtf8( + "Triple single quotes converted to triple double quotes."), + 0) + + def __fixD112(self, code, line, pos): + """ + Private method to fix docstring 'r' or 'u' in leading quotes + (D112, D113). + + @param code code of the issue (string) + @param line line number of the issue (integer) + @param pos position inside line (integer) + @return value indicating an applied/deferred fix (-1, 0, 1), + a message for the fix (string) and an ID for a deferred + fix (integer) + """ + line = line - 1 + if code == "D112": + insertChar = "r" + elif code == "D113": + insertChar = "u" + else: + return (0, "", 0) + + newText = self.__getIndent(self.__source[line]) + \ + insertChar + self.__source[line].lstrip() + self.__source[line] = newText + return ( + 1, + self.trUtf8('Introductory quotes corrected to be {0}"""') + .format(insertChar), + 0) + + def __fixD121(self, code, line, pos, apply=False): + """ + Private method to fix a single line docstring on multiple lines (D121). + + @param code code of the issue (string) + @param line line number of the issue (integer) + @param pos position inside line (integer) + @keyparam apply flag indicating, that the fix should be applied + (boolean) + @return value indicating an applied/deferred fix (-1, 0, 1), + a message for the fix (string) and an ID for a deferred + fix (integer) + """ + if apply: + line = line - 1 + if not self.__source[line].lstrip().startswith( + ('"""', 'r"""', 'u"""')): + # only correctly formatted docstrings will be fixed + return (0, "", 0) + + docstring = self.__source[line].rstrip() + \ + self.__source[line + 1].strip() + if docstring.endswith('"""'): + docstring += self.__getEol() + else: + docstring += self.__source[line + 2].lstrip() + self.__source[line + 2] = "" + + self.__source[line] = docstring + self.__source[line + 1] = "" + return ( + 1, + self.trUtf8("Single line docstring put on one line."), + 0) + else: + id = self.__getID() + self.__stack.append((id, code, line, pos)) + return (-1, "", id) + + def __fixD131(self, code, line, pos): + """ + Private method to fix a single line docstring on multiple lines (D121). + + @param code code of the issue (string) + @param line line number of the issue (integer) + @param pos position inside line (integer) + @return value indicating an applied/deferred fix (-1, 0, 1), + a message for the fix (string) and an ID for a deferred + fix (integer) + """ + line = line - 1 + newText = "" + if self.__source[line].rstrip().endswith(('"""', "'''")) and \ + self.__source[line].lstrip().startswith(('"""', 'r"""', 'u"""')): + # it is a one-liner + newText = self.__source[line].rstrip()[:-3] + "." + \ + self.__source[line].rstrip()[-3:] + self.__getEol() + else: + if line < len(self.__source) - 1 and \ + (not self.__source[line + 1].strip() or + self.__source[line + 1].strip() in ('"""', "'''")): + newText = self.__source[line].rstrip() + "." + self.__getEol() + + if newText: + self.__source[line] = newText + return (1, self.trUtf8("Period added to summary line."), 0) + else: + return (0, "", 0) + + def __fixD141(self, code, line, pos, apply=False): + """ + Private method to fix a function/method docstring preceded by a + blank line (D141). + + @param code code of the issue (string) + @param line line number of the issue (integer) + @param pos position inside line (integer) + @keyparam apply flag indicating, that the fix should be applied + (boolean) + @return value indicating an applied/deferred fix (-1, 0, 1), + a message for the fix (string) and an ID for a deferred + fix (integer) + """ + if apply: + line = line - 1 + self.__source[line - 1] = "" + return ( + 1, + self.trUtf8( + "Blank line before function/method docstring removed."), + 0) + else: + id = self.__getID() + self.__stack.append((id, code, line, pos)) + return (-1, "", id) + + def __fixD142(self, code, line, pos, apply=False): + """ + Private method to fix a class docstring not preceded by a + blank line (D142). + + @param code code of the issue (string) + @param line line number of the issue (integer) + @param pos position inside line (integer) + @keyparam apply flag indicating, that the fix should be applied + (boolean) + @return value indicating an applied/deferred fix (-1, 0, 1), + a message for the fix (string) and an ID for a deferred + fix (integer) + """ + if apply: + line = line - 1 + self.__source[line] = self.__getEol() + self.__source[line] + return ( + 1, + self.trUtf8("Blank line inserted before class docstring."), + 0) + else: + id = self.__getID() + self.__stack.append((id, code, line, pos)) + return (-1, "", id) + + def __fixD143(self, code, line, pos, apply=False): + """ + Private method to fix a class docstring not followed by a + blank line (D143). + + @param code code of the issue (string) + @param line line number of the issue (integer) + @param pos position inside line (integer) + @keyparam apply flag indicating, that the fix should be applied + (boolean) + @return value indicating an applied/deferred fix (-1, 0, 1), + a message for the fix (string) and an ID for a deferred + fix (integer) + """ + if apply: + line = line - 1 + self.__source[line] += self.__getEol() + return ( + 1, + self.trUtf8("Blank line inserted after class docstring."), + 0) + else: + id = self.__getID() + self.__stack.append((id, code, line, pos)) + return (-1, "", id) + + def __fixD144(self, code, line, pos, apply=False): + """ + Private method to fix a docstring summary not followed by a + blank line (D144). + + @param code code of the issue (string) + @param line line number of the issue (integer) + @param pos position inside line (integer) + @keyparam apply flag indicating, that the fix should be applied + (boolean) + @return value indicating an applied/deferred fix (-1, 0, 1), + a message for the fix (string) and an ID for a deferred + fix (integer) + """ + if apply: + line = line - 1 + if not self.__source[line].rstrip().endswith("."): + # only correct summary lines can be fixed here + return (0, "", 0) + + self.__source[line] += self.__getEol() + return ( + 1, + self.trUtf8("Blank line inserted after docstring summary."), + 0) + else: + id = self.__getID() + self.__stack.append((id, code, line, pos)) + return (-1, "", id) + + def __fixD145(self, code, line, pos, apply=False): + """ + Private method to fix the last paragraph of a multi-line docstring + not followed by a blank line (D143). + + @param code code of the issue (string) + @param line line number of the issue (integer) + @param pos position inside line (integer) + @keyparam apply flag indicating, that the fix should be applied + (boolean) + @return value indicating an applied/deferred fix (-1, 0, 1), + a message for the fix (string) and an ID for a deferred + fix (integer) + """ + if apply: + line = line - 1 + self.__source[line] = self.__getEol() + self.__source[line] + return ( + 1, + self.trUtf8("Blank line inserted after last paragraph" + " of docstring."), + 0) + else: + id = self.__getID() + self.__stack.append((id, code, line, pos)) + return (-1, "", id) + def __fixE101(self, code, line, pos): """ Private method to fix obsolete tab usage and indentation errors @@ -1342,211 +1604,6 @@ """ self.__source[line - 1] = self.__source[line - 1].replace("<>", "!=") return (1, self.trUtf8("'<>' replaced by '!='."), 0) - - def __fixD121(self, code, line, pos, apply=False): - """ - Private method to fix a single line docstring on multiple lines (D121). - - @param code code of the issue (string) - @param line line number of the issue (integer) - @param pos position inside line (integer) - @keyparam apply flag indicating, that the fix should be applied - (boolean) - @return value indicating an applied/deferred fix (-1, 0, 1), - a message for the fix (string) and an ID for a deferred - fix (integer) - """ - if apply: - line = line - 1 - if not self.__source[line].lstrip().startswith( - ('"""', 'r"""', 'u"""')): - # only correctly formatted docstrings will be fixed - return (0, "", 0) - - docstring = self.__source[line].rstrip() + \ - self.__source[line + 1].strip() - if docstring.endswith('"""'): - docstring += self.__getEol() - else: - docstring += self.__source[line + 2].lstrip() - self.__source[line + 2] = "" - - self.__source[line] = docstring - self.__source[line + 1] = "" - return ( - 1, - self.trUtf8("Single line docstring put on one line."), - 0) - else: - id = self.__getID() - self.__stack.append((id, code, line, pos)) - return (-1, "", id) - - def __fixD131(self, code, line, pos): - """ - Private method to fix a single line docstring on multiple lines (D121). - - @param code code of the issue (string) - @param line line number of the issue (integer) - @param pos position inside line (integer) - @return value indicating an applied/deferred fix (-1, 0, 1), - a message for the fix (string) and an ID for a deferred - fix (integer) - """ - line = line - 1 - newText = "" - if self.__source[line].rstrip().endswith(('"""', "'''")) and \ - self.__source[line].lstrip().startswith( ('"""', 'r"""', 'u"""')): - # it is a one-liner - newText = self.__source[line].rstrip()[:-3] + "." + \ - self.__source[line].rstrip()[-3:] + self.__getEol() - else: - if line < len(self.__source) - 1 and \ - (not self.__source[line + 1].strip() or - self.__source[line + 1].strip() in ('"""', "'''")): - newText = self.__source[line].rstrip() + "." + self.__getEol() - - if newText: - self.__source[line] = newText - return (1, self.trUtf8("Period added to summary line."), 0) - else: - return (0, "", 0) - - def __fixD141(self, code, line, pos, apply=False): - """ - Private method to fix a function/method docstring preceded by a - blank line (D141). - - @param code code of the issue (string) - @param line line number of the issue (integer) - @param pos position inside line (integer) - @keyparam apply flag indicating, that the fix should be applied - (boolean) - @return value indicating an applied/deferred fix (-1, 0, 1), - a message for the fix (string) and an ID for a deferred - fix (integer) - """ - if apply: - line = line - 1 - self.__source[line - 1] = "" - return ( - 1, - self.trUtf8( - "Blank line before function/method docstring removed."), - 0) - else: - id = self.__getID() - self.__stack.append((id, code, line, pos)) - return (-1, "", id) - - def __fixD142(self, code, line, pos, apply=False): - """ - Private method to fix a class docstring not preceded by a - blank line (D142). - - @param code code of the issue (string) - @param line line number of the issue (integer) - @param pos position inside line (integer) - @keyparam apply flag indicating, that the fix should be applied - (boolean) - @return value indicating an applied/deferred fix (-1, 0, 1), - a message for the fix (string) and an ID for a deferred - fix (integer) - """ - if apply: - line = line - 1 - self.__source[line] = self.__getEol() + self.__source[line] - return ( - 1, - self.trUtf8("Blank line inserted before class docstring."), - 0) - else: - id = self.__getID() - self.__stack.append((id, code, line, pos)) - return (-1, "", id) - - def __fixD143(self, code, line, pos, apply=False): - """ - Private method to fix a class docstring not followed by a - blank line (D143). - - @param code code of the issue (string) - @param line line number of the issue (integer) - @param pos position inside line (integer) - @keyparam apply flag indicating, that the fix should be applied - (boolean) - @return value indicating an applied/deferred fix (-1, 0, 1), - a message for the fix (string) and an ID for a deferred - fix (integer) - """ - if apply: - line = line - 1 - self.__source[line] += self.__getEol() - return ( - 1, - self.trUtf8("Blank line inserted after class docstring."), - 0) - else: - id = self.__getID() - self.__stack.append((id, code, line, pos)) - return (-1, "", id) - - def __fixD144(self, code, line, pos, apply=False): - """ - Private method to fix a docstring summary not followed by a - blank line (D144). - - @param code code of the issue (string) - @param line line number of the issue (integer) - @param pos position inside line (integer) - @keyparam apply flag indicating, that the fix should be applied - (boolean) - @return value indicating an applied/deferred fix (-1, 0, 1), - a message for the fix (string) and an ID for a deferred - fix (integer) - """ - if apply: - line = line - 1 - if not self.__source[line].rstrip().endswith("."): - # only correct summary lines can be fixed here - return (0, "", 0) - - self.__source[line] += self.__getEol() - return ( - 1, - self.trUtf8("Blank line inserted after docstring summary."), - 0) - else: - id = self.__getID() - self.__stack.append((id, code, line, pos)) - return (-1, "", id) - - def __fixD145(self, code, line, pos, apply=False): - """ - Private method to fix the last paragraph of a multi-line docstring - not followed by a blank line (D143). - - @param code code of the issue (string) - @param line line number of the issue (integer) - @param pos position inside line (integer) - @keyparam apply flag indicating, that the fix should be applied - (boolean) - @return value indicating an applied/deferred fix (-1, 0, 1), - a message for the fix (string) and an ID for a deferred - fix (integer) - """ - if apply: - line = line - 1 - self.__source[line] = self.__getEol() + self.__source[line] - return ( - 1, - self.trUtf8("Blank line inserted after last paragraph" - " of docstring."), - 0) - else: - id = self.__getID() - self.__stack.append((id, code, line, pos)) - return (-1, "", id) class Pep8Reindenter(object):
--- a/i18n/eric5_cs.ts Wed Sep 18 19:53:54 2013 +0200 +++ b/i18n/eric5_cs.ts Thu Sep 19 18:58:33 2013 +0200 @@ -33309,7 +33309,7 @@ <translation type="unfinished">Chyby: {0}</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Dialog.py" line="514"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Dialog.py" line="513"/> <source>No issues found.</source> <translation type="unfinished">Žádné problémy nenalezeny.</translation> </message> @@ -33384,7 +33384,7 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Dialog.py" line="840"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Dialog.py" line="839"/> <source>Fix: {0}</source> <translation type="unfinished"></translation> </message> @@ -33472,52 +33472,52 @@ <context> <name>Pep8Fixer</name> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="161"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="173"/> <source><p>Could not save the file <b>{0}</b>. Skipping it.</p><p>Reason: {1}</p></source> <translation type="unfinished"><p>Nelze uložit do souboru <b>{0}</b>. Přeskočeno.</p><p>Důvod: {1}</p></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="481"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="754"/> <source>Tab converted to 4 spaces.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1284"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1557"/> <source>Whitespace stripped from end of line.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1298"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1571"/> <source>newline added to end of file.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1318"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1591"/> <source>Superfluous trailing blank lines removed from end of file.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1333"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1606"/> <source>'<>' replaced by '!='.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="973"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1246"/> <source>Superfluous blank lines after function decorator removed.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="945"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1218"/> <source>Superfluous blank lines removed.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="860"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1133"/> <source>One blank line inserted.</source> <translation type="unfinished"></translation> </message> <message numerus="yes"> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="910"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1183"/> <source>%n blank line(s) inserted.</source> <translation type="unfinished"> <numerusform></numerusform> @@ -33526,7 +33526,7 @@ </translation> </message> <message numerus="yes"> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="913"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1186"/> <source>%n superfluous lines removed</source> <translation type="unfinished"> <numerusform></numerusform> @@ -33535,100 +33535,145 @@ </translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="788"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1061"/> <source>Missing whitespace added.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="823"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1096"/> <source>Extraneous whitespace removed.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="483"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="756"/> <source>Indentation adjusted to be a multiple of four.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="843"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1116"/> <source>Whitespace around comment sign corrected.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1009"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1282"/> <source>Imports were put on separate lines.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1072"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1345"/> <source>Redundant backslash in brackets removed.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1130"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1403"/> <source>Compound statement corrected.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1169"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1442"/> <source>Comparison to None/True/False corrected.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="510"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="783"/> <source>Indentation of continuation line corrected.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="513"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="786"/> <source>Indentation of closing bracket corrected.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="548"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="821"/> <source>Missing indentation of continuation line corrected.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="588"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="861"/> <source>Closing bracket aligned to opening bracket.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="621"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="894"/> <source>Indentation level changed.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="658"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="931"/> <source>Indentation level of hanging indentation changed.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="712"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="985"/> <source>Visual indentation corrected.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1051"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1324"/> <source>Long lines have been shortened.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1206"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1479"/> <source>'{0}' argument added.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1265"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1538"/> <source>'{0}' argument removed.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="161"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="173"/> <source>Fix Code Style Issues</source> <translation type="unfinished"></translation> </message> + <message> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="495"/> + <source>Triple single quotes converted to triple double quotes.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="524"/> + <source>Introductory quotes corrected to be {0}"""</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="560"/> + <source>Single line docstring put on one line.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="595"/> + <source>Period added to summary line.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="616"/> + <source>Blank line before function/method docstring removed.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="643"/> + <source>Blank line inserted before class docstring.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="669"/> + <source>Blank line inserted after class docstring.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="699"/> + <source>Blank line inserted after docstring summary.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="725"/> + <source>Blank line inserted after last paragraph of docstring.</source> + <translation type="unfinished"></translation> + </message> </context> <context> <name>Pep8NamingChecker</name>
--- a/i18n/eric5_de.ts Wed Sep 18 19:53:54 2013 +0200 +++ b/i18n/eric5_de.ts Thu Sep 19 18:58:33 2013 +0200 @@ -31939,7 +31939,7 @@ <translation>Fehler: {0}</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Dialog.py" line="514"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Dialog.py" line="513"/> <source>No issues found.</source> <translation>Keine Probleme gefunden.</translation> </message> @@ -32014,7 +32014,7 @@ <translation>Probleme automatisch beheben</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Dialog.py" line="840"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Dialog.py" line="839"/> <source>Fix: {0}</source> <translation>Lösung: {0}</translation> </message> @@ -32108,52 +32108,52 @@ <context> <name>Pep8Fixer</name> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="161"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="173"/> <source><p>Could not save the file <b>{0}</b>. Skipping it.</p><p>Reason: {1}</p></source> <translation><p>Die Datei <b>{0}</b> konnte nicht gespeichert werden. Überspringe sie.</p><p>Ursache: {1}</p></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="481"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="754"/> <source>Tab converted to 4 spaces.</source> <translation>Tabulator in 4 Leerzeichen gewandelt.</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1284"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1557"/> <source>Whitespace stripped from end of line.</source> <translation>Leerzeichen am Zeilenende entfernt.</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1298"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1571"/> <source>newline added to end of file.</source> <translation>Zeilenvorschub am Dateiende angefügt.</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1318"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1591"/> <source>Superfluous trailing blank lines removed from end of file.</source> <translation>Überflüssige Leerzeilen am Dateiende gelöscht.</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1333"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1606"/> <source>'<>' replaced by '!='.</source> <translation>„<>“ durch „!=“ ersetzt.</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="973"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1246"/> <source>Superfluous blank lines after function decorator removed.</source> <translation>Überflüssige Leerzeilen nach Funktionsdekorator gelöscht.</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="945"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1218"/> <source>Superfluous blank lines removed.</source> <translation>Überflüssige Leerzeilen gelöscht.</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="860"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1133"/> <source>One blank line inserted.</source> <translation>Eine Leerzeile eingefügt.</translation> </message> <message numerus="yes"> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="910"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1183"/> <source>%n blank line(s) inserted.</source> <translation> <numerusform>%n Leerzeile eingefügt.</numerusform> @@ -32161,7 +32161,7 @@ </translation> </message> <message numerus="yes"> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="913"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1186"/> <source>%n superfluous lines removed</source> <translation> <numerusform>%n überflüssige Zeile gelöscht</numerusform> @@ -32169,100 +32169,145 @@ </translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="788"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1061"/> <source>Missing whitespace added.</source> <translation>Fehlende Leerzeichen eingefügt.</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="823"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1096"/> <source>Extraneous whitespace removed.</source> <translation>Überzählige Leerzeichen gelöscht.</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="483"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="756"/> <source>Indentation adjusted to be a multiple of four.</source> <translation>Einrückung auf ein Vielfaches von vier korrigiert.</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="843"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1116"/> <source>Whitespace around comment sign corrected.</source> <translation>Leerzeichen um Kommentarzeichen korrigiert.</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1009"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1282"/> <source>Imports were put on separate lines.</source> <translation>Imports wurden auf separate Zeilen verteilt.</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1072"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1345"/> <source>Redundant backslash in brackets removed.</source> <translation>Redundante Backslashes in Klammern entfernt.</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1130"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1403"/> <source>Compound statement corrected.</source> <translation>Compund Statement korrigiert.</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1169"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1442"/> <source>Comparison to None/True/False corrected.</source> <translation>Vergleich mit None/True/False korrigiert.</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="510"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="783"/> <source>Indentation of continuation line corrected.</source> <translation>Einrückung der Fortsetzungszeile korrigiert.</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="513"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="786"/> <source>Indentation of closing bracket corrected.</source> <translation>Einrückung der schließenden Klammer korrigiert.</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="548"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="821"/> <source>Missing indentation of continuation line corrected.</source> <translation>Fehlende Einrückung der Fortsetzungszeile korrigiert.</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="588"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="861"/> <source>Closing bracket aligned to opening bracket.</source> <translation>Schließende Klammer an öffnender Klammer ausgerichtet.</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="621"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="894"/> <source>Indentation level changed.</source> <translation>Einrückungsebene geändert.</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="658"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="931"/> <source>Indentation level of hanging indentation changed.</source> <translation>Einrückungsebene der hängenden Einrückung geändert.</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="712"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="985"/> <source>Visual indentation corrected.</source> <translation>Visuelle Einrückung korrigiert.</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1051"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1324"/> <source>Long lines have been shortened.</source> <translation>Lange Zeilen wurden gekürzt.</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1206"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1479"/> <source>'{0}' argument added.</source> <translation>'{0}' Argument hinzugefügt.</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1265"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1538"/> <source>'{0}' argument removed.</source> <translation>'{0}' Argument entfernt.</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="161"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="173"/> <source>Fix Code Style Issues</source> <translation>Quelltextstil-Probleme beheben</translation> </message> + <message> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="495"/> + <source>Triple single quotes converted to triple double quotes.</source> + <translation>Dreifache Einfachanführungszeichen in dreifache Doppelanführungszeichen umgewandelt.</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="524"/> + <source>Introductory quotes corrected to be {0}"""</source> + <translation>Einleitende Anführungszeichen in {0}""" korrigiert</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="560"/> + <source>Single line docstring put on one line.</source> + <translation>Einzeiligen Docstring auf eine Zeile gebracht.</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="595"/> + <source>Period added to summary line.</source> + <translation>Punkt an die Zusammenfassungszeile angefügt.</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="616"/> + <source>Blank line before function/method docstring removed.</source> + <translation>Leerzeile vor Funktions-/Methodendocstring entfernt.</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="643"/> + <source>Blank line inserted before class docstring.</source> + <translation>Leerzeile vor Klassendocstring eingefügt.</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="669"/> + <source>Blank line inserted after class docstring.</source> + <translation>Leerzeile nach Klassendocstring eingefügt.</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="699"/> + <source>Blank line inserted after docstring summary.</source> + <translation>Leerzeile nach Docstring Zusammenfassung eingefügt.</translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="725"/> + <source>Blank line inserted after last paragraph of docstring.</source> + <translation>Leerzeile nach letztem Abschnitt des Docstring eingefügt.</translation> + </message> </context> <context> <name>Pep8NamingChecker</name>
--- a/i18n/eric5_en.ts Wed Sep 18 19:53:54 2013 +0200 +++ b/i18n/eric5_en.ts Thu Sep 19 18:58:33 2013 +0200 @@ -31784,7 +31784,7 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Dialog.py" line="514"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Dialog.py" line="513"/> <source>No issues found.</source> <translation type="unfinished"></translation> </message> @@ -31859,7 +31859,7 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Dialog.py" line="840"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Dialog.py" line="839"/> <source>Fix: {0}</source> <translation type="unfinished"></translation> </message> @@ -31947,52 +31947,52 @@ <context> <name>Pep8Fixer</name> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="161"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="173"/> <source><p>Could not save the file <b>{0}</b>. Skipping it.</p><p>Reason: {1}</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="481"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="754"/> <source>Tab converted to 4 spaces.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1284"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1557"/> <source>Whitespace stripped from end of line.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1298"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1571"/> <source>newline added to end of file.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1318"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1591"/> <source>Superfluous trailing blank lines removed from end of file.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1333"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1606"/> <source>'<>' replaced by '!='.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="973"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1246"/> <source>Superfluous blank lines after function decorator removed.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="945"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1218"/> <source>Superfluous blank lines removed.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="860"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1133"/> <source>One blank line inserted.</source> <translation type="unfinished"></translation> </message> <message numerus="yes"> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="910"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1183"/> <source>%n blank line(s) inserted.</source> <translation> <numerusform>%n blank line inserted.</numerusform> @@ -32000,7 +32000,7 @@ </translation> </message> <message numerus="yes"> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="913"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1186"/> <source>%n superfluous lines removed</source> <translation> <numerusform>%n superfluous line removed</numerusform> @@ -32008,100 +32008,145 @@ </translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="788"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1061"/> <source>Missing whitespace added.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="823"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1096"/> <source>Extraneous whitespace removed.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="483"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="756"/> <source>Indentation adjusted to be a multiple of four.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="843"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1116"/> <source>Whitespace around comment sign corrected.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1009"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1282"/> <source>Imports were put on separate lines.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1072"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1345"/> <source>Redundant backslash in brackets removed.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1130"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1403"/> <source>Compound statement corrected.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1169"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1442"/> <source>Comparison to None/True/False corrected.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="510"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="783"/> <source>Indentation of continuation line corrected.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="513"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="786"/> <source>Indentation of closing bracket corrected.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="548"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="821"/> <source>Missing indentation of continuation line corrected.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="588"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="861"/> <source>Closing bracket aligned to opening bracket.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="621"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="894"/> <source>Indentation level changed.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="658"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="931"/> <source>Indentation level of hanging indentation changed.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="712"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="985"/> <source>Visual indentation corrected.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1051"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1324"/> <source>Long lines have been shortened.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1206"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1479"/> <source>'{0}' argument added.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1265"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1538"/> <source>'{0}' argument removed.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="161"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="173"/> <source>Fix Code Style Issues</source> <translation type="unfinished"></translation> </message> + <message> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="495"/> + <source>Triple single quotes converted to triple double quotes.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="524"/> + <source>Introductory quotes corrected to be {0}"""</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="560"/> + <source>Single line docstring put on one line.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="595"/> + <source>Period added to summary line.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="616"/> + <source>Blank line before function/method docstring removed.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="643"/> + <source>Blank line inserted before class docstring.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="669"/> + <source>Blank line inserted after class docstring.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="699"/> + <source>Blank line inserted after docstring summary.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="725"/> + <source>Blank line inserted after last paragraph of docstring.</source> + <translation type="unfinished"></translation> + </message> </context> <context> <name>Pep8NamingChecker</name>
--- a/i18n/eric5_es.ts Wed Sep 18 19:53:54 2013 +0200 +++ b/i18n/eric5_es.ts Thu Sep 19 18:58:33 2013 +0200 @@ -32067,7 +32067,7 @@ <translation>Error: {0}</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Dialog.py" line="514"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Dialog.py" line="513"/> <source>No issues found.</source> <translation>No se han encontrado problemas.</translation> </message> @@ -32107,7 +32107,7 @@ <translation>Arreglar problemas automaticamente</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Dialog.py" line="840"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Dialog.py" line="839"/> <source>Fix: {0}</source> <translation>Arreglar: {0}</translation> </message> @@ -32200,52 +32200,52 @@ <translation type="obsolete">Arreglar problemas de PEP 8</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="161"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="173"/> <source><p>Could not save the file <b>{0}</b>. Skipping it.</p><p>Reason: {1}</p></source> <translation><p>No se pudo guardar el archivo <b>{0}</b>. Omitiéndolo.</p><p>Razón: {1}</p></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="481"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="754"/> <source>Tab converted to 4 spaces.</source> <translation>Tabulador convertido a 4 espacios.</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1284"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1557"/> <source>Whitespace stripped from end of line.</source> <translation>Espacio eliminado del final de la línea.</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1298"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1571"/> <source>newline added to end of file.</source> <translation>Carácter de nueva línea añadido al final del archivo.</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1318"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1591"/> <source>Superfluous trailing blank lines removed from end of file.</source> <translation>Eliminadas líneas en blanco sobrantes despues de final de archivo.</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1333"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1606"/> <source>'<>' replaced by '!='.</source> <translation>'<>' reemplazado por '!='.</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="973"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1246"/> <source>Superfluous blank lines after function decorator removed.</source> <translation>Eliminadas líneas en blanco sobrantes después de decorador de función.</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="945"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1218"/> <source>Superfluous blank lines removed.</source> <translation>Eliminadas líneas en blanco sobrantes.</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="860"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1133"/> <source>One blank line inserted.</source> <translation>Insertada una línea en blanco.</translation> </message> <message numerus="yes"> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="910"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1183"/> <source>%n blank line(s) inserted.</source> <translation> <numerusform>Insertada %n línea en blanco.</numerusform> @@ -32253,7 +32253,7 @@ </translation> </message> <message numerus="yes"> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="913"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1186"/> <source>%n superfluous lines removed</source> <translation> <numerusform>Eliminada %n línea en blanco sobrante</numerusform> @@ -32266,12 +32266,12 @@ <translation type="obsolete">Eliminadas espacio en blanco sobrante.</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="788"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1061"/> <source>Missing whitespace added.</source> <translation>Añadido espacio en blanco que faltaba.</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="823"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1096"/> <source>Extraneous whitespace removed.</source> <translation>Eliminado espacio en blanco extraño.</translation> </message> @@ -32281,90 +32281,135 @@ <translation type="obsolete">Corregido espacio en blanco despues de signo de comentario inline.</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="483"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="756"/> <source>Indentation adjusted to be a multiple of four.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="843"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1116"/> <source>Whitespace around comment sign corrected.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1009"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1282"/> <source>Imports were put on separate lines.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1072"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1345"/> <source>Redundant backslash in brackets removed.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1130"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1403"/> <source>Compound statement corrected.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1169"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1442"/> <source>Comparison to None/True/False corrected.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="510"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="783"/> <source>Indentation of continuation line corrected.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="513"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="786"/> <source>Indentation of closing bracket corrected.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="548"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="821"/> <source>Missing indentation of continuation line corrected.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="588"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="861"/> <source>Closing bracket aligned to opening bracket.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="621"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="894"/> <source>Indentation level changed.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="658"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="931"/> <source>Indentation level of hanging indentation changed.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="712"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="985"/> <source>Visual indentation corrected.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1051"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1324"/> <source>Long lines have been shortened.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1206"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1479"/> <source>'{0}' argument added.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1265"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1538"/> <source>'{0}' argument removed.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="161"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="173"/> <source>Fix Code Style Issues</source> <translation type="unfinished"></translation> </message> + <message> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="495"/> + <source>Triple single quotes converted to triple double quotes.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="524"/> + <source>Introductory quotes corrected to be {0}"""</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="560"/> + <source>Single line docstring put on one line.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="595"/> + <source>Period added to summary line.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="616"/> + <source>Blank line before function/method docstring removed.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="643"/> + <source>Blank line inserted before class docstring.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="669"/> + <source>Blank line inserted after class docstring.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="699"/> + <source>Blank line inserted after docstring summary.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="725"/> + <source>Blank line inserted after last paragraph of docstring.</source> + <translation type="unfinished"></translation> + </message> </context> <context> <name>Pep8NamingChecker</name>
--- a/i18n/eric5_fr.ts Wed Sep 18 19:53:54 2013 +0200 +++ b/i18n/eric5_fr.ts Thu Sep 19 18:58:33 2013 +0200 @@ -34536,7 +34536,7 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Dialog.py" line="514"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Dialog.py" line="513"/> <source>No issues found.</source> <translation type="unfinished"></translation> </message> @@ -34611,7 +34611,7 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Dialog.py" line="840"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Dialog.py" line="839"/> <source>Fix: {0}</source> <translation type="unfinished"></translation> </message> @@ -34699,52 +34699,52 @@ <context> <name>Pep8Fixer</name> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="161"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="173"/> <source><p>Could not save the file <b>{0}</b>. Skipping it.</p><p>Reason: {1}</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="481"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="754"/> <source>Tab converted to 4 spaces.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1284"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1557"/> <source>Whitespace stripped from end of line.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1298"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1571"/> <source>newline added to end of file.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1318"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1591"/> <source>Superfluous trailing blank lines removed from end of file.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1333"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1606"/> <source>'<>' replaced by '!='.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="973"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1246"/> <source>Superfluous blank lines after function decorator removed.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="945"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1218"/> <source>Superfluous blank lines removed.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="860"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1133"/> <source>One blank line inserted.</source> <translation type="unfinished"></translation> </message> <message numerus="yes"> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="910"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1183"/> <source>%n blank line(s) inserted.</source> <translation type="unfinished"> <numerusform></numerusform> @@ -34752,7 +34752,7 @@ </translation> </message> <message numerus="yes"> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="913"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1186"/> <source>%n superfluous lines removed</source> <translation type="unfinished"> <numerusform></numerusform> @@ -34760,100 +34760,145 @@ </translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="788"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1061"/> <source>Missing whitespace added.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="823"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1096"/> <source>Extraneous whitespace removed.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="483"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="756"/> <source>Indentation adjusted to be a multiple of four.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="843"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1116"/> <source>Whitespace around comment sign corrected.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1009"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1282"/> <source>Imports were put on separate lines.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1072"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1345"/> <source>Redundant backslash in brackets removed.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1130"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1403"/> <source>Compound statement corrected.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1169"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1442"/> <source>Comparison to None/True/False corrected.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="510"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="783"/> <source>Indentation of continuation line corrected.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="513"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="786"/> <source>Indentation of closing bracket corrected.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="548"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="821"/> <source>Missing indentation of continuation line corrected.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="588"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="861"/> <source>Closing bracket aligned to opening bracket.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="621"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="894"/> <source>Indentation level changed.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="658"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="931"/> <source>Indentation level of hanging indentation changed.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="712"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="985"/> <source>Visual indentation corrected.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1051"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1324"/> <source>Long lines have been shortened.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1206"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1479"/> <source>'{0}' argument added.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1265"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1538"/> <source>'{0}' argument removed.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="161"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="173"/> <source>Fix Code Style Issues</source> <translation type="unfinished"></translation> </message> + <message> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="495"/> + <source>Triple single quotes converted to triple double quotes.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="524"/> + <source>Introductory quotes corrected to be {0}"""</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="560"/> + <source>Single line docstring put on one line.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="595"/> + <source>Period added to summary line.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="616"/> + <source>Blank line before function/method docstring removed.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="643"/> + <source>Blank line inserted before class docstring.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="669"/> + <source>Blank line inserted after class docstring.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="699"/> + <source>Blank line inserted after docstring summary.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="725"/> + <source>Blank line inserted after last paragraph of docstring.</source> + <translation type="unfinished"></translation> + </message> </context> <context> <name>Pep8NamingChecker</name>
--- a/i18n/eric5_it.ts Wed Sep 18 19:53:54 2013 +0200 +++ b/i18n/eric5_it.ts Thu Sep 19 18:58:33 2013 +0200 @@ -33223,12 +33223,12 @@ <translation>Errore: {0}</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Dialog.py" line="840"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Dialog.py" line="839"/> <source>Fix: {0}</source> <translation>Corregge:{0}</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Dialog.py" line="514"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Dialog.py" line="513"/> <source>No issues found.</source> <translation>Nessun problema trovato.</translation> </message> @@ -33321,52 +33321,52 @@ <translation type="obsolete">Correggi problemi PEP 8</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="161"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="173"/> <source><p>Could not save the file <b>{0}</b>. Skipping it.</p><p>Reason: {1}</p></source> <translation><p>Non posso salvare il file<b>{0}</b>. Lo salto.</p><p>Motivo:{1}</p></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="481"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="754"/> <source>Tab converted to 4 spaces.</source> <translation>Converti Tab a 4 spazi.</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1284"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1557"/> <source>Whitespace stripped from end of line.</source> <translation>Elimina gli spazi alla fine della linea.</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1298"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1571"/> <source>newline added to end of file.</source> <translation>aggiungi a capo alla fine del file.</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1318"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1591"/> <source>Superfluous trailing blank lines removed from end of file.</source> <translation>Linee bianche superflue eliminate dalla fine del file.</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1333"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1606"/> <source>'<>' replaced by '!='.</source> <translation>'<>' sostituito da '!='.</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="973"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1246"/> <source>Superfluous blank lines after function decorator removed.</source> <translation>Linee bianche superflue eliminate dopo a dichiarazione della funzione.</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="945"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1218"/> <source>Superfluous blank lines removed.</source> <translation>Linee bianche superflue eliminate.</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="860"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1133"/> <source>One blank line inserted.</source> <translation>Una linea vuota inserita.</translation> </message> <message numerus="yes"> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="910"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1183"/> <source>%n blank line(s) inserted.</source> <translation> <numerusform>%n linea vuota inserita.</numerusform> @@ -33374,7 +33374,7 @@ </translation> </message> <message numerus="yes"> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="913"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1186"/> <source>%n superfluous lines removed</source> <translation> <numerusform>%n linea superflua eliminata</numerusform> @@ -33387,12 +33387,12 @@ <translation type="obsolete">Spazi superflui eliminati.</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="788"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1061"/> <source>Missing whitespace added.</source> <translation>Spazi mancanti aggiunti.</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="823"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1096"/> <source>Extraneous whitespace removed.</source> <translation>Spazio non pertinente eliminato.</translation> </message> @@ -33402,90 +33402,135 @@ <translation type="obsolete">Spazi dopo il carattere di commento inline corretti.</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="483"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="756"/> <source>Indentation adjusted to be a multiple of four.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="843"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1116"/> <source>Whitespace around comment sign corrected.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1009"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1282"/> <source>Imports were put on separate lines.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1072"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1345"/> <source>Redundant backslash in brackets removed.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1130"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1403"/> <source>Compound statement corrected.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1169"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1442"/> <source>Comparison to None/True/False corrected.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="510"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="783"/> <source>Indentation of continuation line corrected.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="513"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="786"/> <source>Indentation of closing bracket corrected.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="548"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="821"/> <source>Missing indentation of continuation line corrected.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="588"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="861"/> <source>Closing bracket aligned to opening bracket.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="621"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="894"/> <source>Indentation level changed.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="658"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="931"/> <source>Indentation level of hanging indentation changed.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="712"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="985"/> <source>Visual indentation corrected.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1051"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1324"/> <source>Long lines have been shortened.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1206"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1479"/> <source>'{0}' argument added.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1265"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1538"/> <source>'{0}' argument removed.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="161"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="173"/> <source>Fix Code Style Issues</source> <translation type="unfinished"></translation> </message> + <message> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="495"/> + <source>Triple single quotes converted to triple double quotes.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="524"/> + <source>Introductory quotes corrected to be {0}"""</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="560"/> + <source>Single line docstring put on one line.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="595"/> + <source>Period added to summary line.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="616"/> + <source>Blank line before function/method docstring removed.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="643"/> + <source>Blank line inserted before class docstring.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="669"/> + <source>Blank line inserted after class docstring.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="699"/> + <source>Blank line inserted after docstring summary.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="725"/> + <source>Blank line inserted after last paragraph of docstring.</source> + <translation type="unfinished"></translation> + </message> </context> <context> <name>Pep8NamingChecker</name>
--- a/i18n/eric5_ru.ts Wed Sep 18 19:53:54 2013 +0200 +++ b/i18n/eric5_ru.ts Thu Sep 19 18:58:33 2013 +0200 @@ -33311,7 +33311,7 @@ <translation>Ошибка: {0}</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Dialog.py" line="514"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Dialog.py" line="513"/> <source>No issues found.</source> <translation>Синтаксисические ошибки не найдены.</translation> </message> @@ -33391,7 +33391,7 @@ <translation>Исправлять автоматически</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Dialog.py" line="840"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Dialog.py" line="839"/> <source>Fix: {0}</source> <translation>Исправлено: {0}</translation> </message> @@ -33484,52 +33484,52 @@ <translation type="obsolete">Проверка PEP 8</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="161"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="173"/> <source><p>Could not save the file <b>{0}</b>. Skipping it.</p><p>Reason: {1}</p></source> <translation><p>Не могу сохранить файл <b>{0}</b>. Пропускаю.</p><p>Причина: {1}</p></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="481"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="754"/> <source>Tab converted to 4 spaces.</source> <translation>Символы табуляции заменены на 4 пробела.</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1284"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1557"/> <source>Whitespace stripped from end of line.</source> <translation>Завершающие пробелы обрезаны.</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1298"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1571"/> <source>newline added to end of file.</source> <translation>Перевод строки добавлен в конец файла.</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1318"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1591"/> <source>Superfluous trailing blank lines removed from end of file.</source> <translation>Удалены пустые строчки в конце файла.</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1333"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1606"/> <source>'<>' replaced by '!='.</source> <translation>'<>' заменен на '!='.</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="973"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1246"/> <source>Superfluous blank lines after function decorator removed.</source> <translation>Удалены пустые строчки после декоратора функции.</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="945"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1218"/> <source>Superfluous blank lines removed.</source> <translation>Удалены излишние пустые строчки.</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="860"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1133"/> <source>One blank line inserted.</source> <translation>Добавлена одна пустая строка.</translation> </message> <message numerus="yes"> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="910"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1183"/> <source>%n blank line(s) inserted.</source> <translation> <numerusform>Добавлена %n пустая строка.</numerusform> @@ -33538,7 +33538,7 @@ </translation> </message> <message numerus="yes"> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="913"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1186"/> <source>%n superfluous lines removed</source> <translation> <numerusform>Удалена %n излишняя пустая строчка</numerusform> @@ -33552,12 +33552,12 @@ <translation type="obsolete">Удалены излишние пробелы.</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="788"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1061"/> <source>Missing whitespace added.</source> <translation>Добавлены недостающие пробелы.</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="823"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1096"/> <source>Extraneous whitespace removed.</source> <translation>Удалены излишние пробелы.</translation> </message> @@ -33567,90 +33567,135 @@ <translation type="obsolete">Исправлено количество пробелов после символа комментариев.</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="483"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="756"/> <source>Indentation adjusted to be a multiple of four.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="843"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1116"/> <source>Whitespace around comment sign corrected.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1009"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1282"/> <source>Imports were put on separate lines.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1072"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1345"/> <source>Redundant backslash in brackets removed.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1130"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1403"/> <source>Compound statement corrected.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1169"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1442"/> <source>Comparison to None/True/False corrected.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="510"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="783"/> <source>Indentation of continuation line corrected.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="513"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="786"/> <source>Indentation of closing bracket corrected.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="548"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="821"/> <source>Missing indentation of continuation line corrected.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="588"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="861"/> <source>Closing bracket aligned to opening bracket.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="621"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="894"/> <source>Indentation level changed.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="658"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="931"/> <source>Indentation level of hanging indentation changed.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="712"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="985"/> <source>Visual indentation corrected.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1051"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1324"/> <source>Long lines have been shortened.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1206"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1479"/> <source>'{0}' argument added.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1265"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1538"/> <source>'{0}' argument removed.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="161"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="173"/> <source>Fix Code Style Issues</source> <translation type="unfinished"></translation> </message> + <message> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="495"/> + <source>Triple single quotes converted to triple double quotes.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="524"/> + <source>Introductory quotes corrected to be {0}"""</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="560"/> + <source>Single line docstring put on one line.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="595"/> + <source>Period added to summary line.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="616"/> + <source>Blank line before function/method docstring removed.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="643"/> + <source>Blank line inserted before class docstring.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="669"/> + <source>Blank line inserted after class docstring.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="699"/> + <source>Blank line inserted after docstring summary.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="725"/> + <source>Blank line inserted after last paragraph of docstring.</source> + <translation type="unfinished"></translation> + </message> </context> <context> <name>Pep8NamingChecker</name>
--- a/i18n/eric5_tr.ts Wed Sep 18 19:53:54 2013 +0200 +++ b/i18n/eric5_tr.ts Thu Sep 19 18:58:33 2013 +0200 @@ -33214,12 +33214,12 @@ <translation>Hata: {0}</translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Dialog.py" line="840"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Dialog.py" line="839"/> <source>Fix: {0}</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Dialog.py" line="514"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Dialog.py" line="513"/> <source>No issues found.</source> <translation>Sorun bulunamadı.</translation> </message> @@ -33307,52 +33307,52 @@ <context> <name>Pep8Fixer</name> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="161"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="173"/> <source><p>Could not save the file <b>{0}</b>. Skipping it.</p><p>Reason: {1}</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="481"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="754"/> <source>Tab converted to 4 spaces.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1284"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1557"/> <source>Whitespace stripped from end of line.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1298"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1571"/> <source>newline added to end of file.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1318"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1591"/> <source>Superfluous trailing blank lines removed from end of file.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1333"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1606"/> <source>'<>' replaced by '!='.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="973"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1246"/> <source>Superfluous blank lines after function decorator removed.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="945"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1218"/> <source>Superfluous blank lines removed.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="860"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1133"/> <source>One blank line inserted.</source> <translation type="unfinished"></translation> </message> <message numerus="yes"> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="910"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1183"/> <source>%n blank line(s) inserted.</source> <translation type="unfinished"> <numerusform></numerusform> @@ -33360,7 +33360,7 @@ </translation> </message> <message numerus="yes"> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="913"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1186"/> <source>%n superfluous lines removed</source> <translation type="unfinished"> <numerusform></numerusform> @@ -33368,100 +33368,145 @@ </translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="788"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1061"/> <source>Missing whitespace added.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="823"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1096"/> <source>Extraneous whitespace removed.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="483"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="756"/> <source>Indentation adjusted to be a multiple of four.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="843"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1116"/> <source>Whitespace around comment sign corrected.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1009"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1282"/> <source>Imports were put on separate lines.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1072"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1345"/> <source>Redundant backslash in brackets removed.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1130"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1403"/> <source>Compound statement corrected.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1169"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1442"/> <source>Comparison to None/True/False corrected.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="510"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="783"/> <source>Indentation of continuation line corrected.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="513"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="786"/> <source>Indentation of closing bracket corrected.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="548"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="821"/> <source>Missing indentation of continuation line corrected.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="588"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="861"/> <source>Closing bracket aligned to opening bracket.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="621"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="894"/> <source>Indentation level changed.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="658"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="931"/> <source>Indentation level of hanging indentation changed.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="712"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="985"/> <source>Visual indentation corrected.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1051"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1324"/> <source>Long lines have been shortened.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1206"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1479"/> <source>'{0}' argument added.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1265"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1538"/> <source>'{0}' argument removed.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="161"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="173"/> <source>Fix Code Style Issues</source> <translation type="unfinished"></translation> </message> + <message> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="495"/> + <source>Triple single quotes converted to triple double quotes.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="524"/> + <source>Introductory quotes corrected to be {0}"""</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="560"/> + <source>Single line docstring put on one line.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="595"/> + <source>Period added to summary line.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="616"/> + <source>Blank line before function/method docstring removed.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="643"/> + <source>Blank line inserted before class docstring.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="669"/> + <source>Blank line inserted after class docstring.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="699"/> + <source>Blank line inserted after docstring summary.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="725"/> + <source>Blank line inserted after last paragraph of docstring.</source> + <translation type="unfinished"></translation> + </message> </context> <context> <name>Pep8NamingChecker</name>
--- a/i18n/eric5_zh_CN.GB2312.ts Wed Sep 18 19:53:54 2013 +0200 +++ b/i18n/eric5_zh_CN.GB2312.ts Thu Sep 19 18:58:33 2013 +0200 @@ -34469,7 +34469,7 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Dialog.py" line="514"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Dialog.py" line="513"/> <source>No issues found.</source> <translation type="unfinished"></translation> </message> @@ -34544,7 +34544,7 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Dialog.py" line="840"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Dialog.py" line="839"/> <source>Fix: {0}</source> <translation type="unfinished"></translation> </message> @@ -34632,159 +34632,204 @@ <context> <name>Pep8Fixer</name> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="161"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="173"/> <source><p>Could not save the file <b>{0}</b>. Skipping it.</p><p>Reason: {1}</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="481"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="754"/> <source>Tab converted to 4 spaces.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1284"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1557"/> <source>Whitespace stripped from end of line.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1298"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1571"/> <source>newline added to end of file.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1318"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1591"/> <source>Superfluous trailing blank lines removed from end of file.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1333"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1606"/> <source>'<>' replaced by '!='.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="973"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1246"/> <source>Superfluous blank lines after function decorator removed.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="945"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1218"/> <source>Superfluous blank lines removed.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="860"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1133"/> <source>One blank line inserted.</source> <translation type="unfinished"></translation> </message> <message numerus="yes"> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="910"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1183"/> <source>%n blank line(s) inserted.</source> <translation type="unfinished"> <numerusform></numerusform> </translation> </message> <message numerus="yes"> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="913"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1186"/> <source>%n superfluous lines removed</source> <translation type="unfinished"> <numerusform></numerusform> </translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="788"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1061"/> <source>Missing whitespace added.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="823"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1096"/> <source>Extraneous whitespace removed.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="483"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="756"/> <source>Indentation adjusted to be a multiple of four.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="843"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1116"/> <source>Whitespace around comment sign corrected.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1009"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1282"/> <source>Imports were put on separate lines.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1072"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1345"/> <source>Redundant backslash in brackets removed.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1130"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1403"/> <source>Compound statement corrected.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1169"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1442"/> <source>Comparison to None/True/False corrected.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="510"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="783"/> <source>Indentation of continuation line corrected.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="513"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="786"/> <source>Indentation of closing bracket corrected.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="548"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="821"/> <source>Missing indentation of continuation line corrected.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="588"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="861"/> <source>Closing bracket aligned to opening bracket.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="621"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="894"/> <source>Indentation level changed.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="658"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="931"/> <source>Indentation level of hanging indentation changed.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="712"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="985"/> <source>Visual indentation corrected.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1051"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1324"/> <source>Long lines have been shortened.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1206"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1479"/> <source>'{0}' argument added.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1265"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="1538"/> <source>'{0}' argument removed.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="161"/> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="173"/> <source>Fix Code Style Issues</source> <translation type="unfinished"></translation> </message> + <message> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="495"/> + <source>Triple single quotes converted to triple double quotes.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="524"/> + <source>Introductory quotes corrected to be {0}"""</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="560"/> + <source>Single line docstring put on one line.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="595"/> + <source>Period added to summary line.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="616"/> + <source>Blank line before function/method docstring removed.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="643"/> + <source>Blank line inserted before class docstring.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="669"/> + <source>Blank line inserted after class docstring.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="699"/> + <source>Blank line inserted after docstring summary.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../Plugins/CheckerPlugins/Pep8/Pep8Fixer.py" line="725"/> + <source>Blank line inserted after last paragraph of docstring.</source> + <translation type="unfinished"></translation> + </message> </context> <context> <name>Pep8NamingChecker</name>