Documentation/Source/eric5.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleFixer.html

Tue, 29 Apr 2014 18:22:44 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Tue, 29 Apr 2014 18:22:44 +0200
changeset 3549
96ebf42cd960
parent 3456
96232974dcdb
permissions
-rw-r--r--

Added the file backup functionality in the code style fixer.

2985
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1 <!DOCTYPE html>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
2 <html><head>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
3 <title>eric5.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleFixer</title>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
4 <meta charset="UTF-8">
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
5 <style>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
6 body {
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
7 background: #EDECE6;
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
8 margin: 0em 1em 10em 1em;
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
9 color: black;
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
10 }
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
11
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
12 h1 { color: white; background: #85774A; }
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
13 h2 { color: white; background: #85774A; }
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
14 h3 { color: white; background: #9D936E; }
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
15 h4 { color: white; background: #9D936E; }
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
16
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
17 a { color: #BA6D36; }
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
18
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
19 </style>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
20 </head>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
21 <body><a NAME="top" ID="top"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
22 <h1>eric5.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleFixer</h1>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
23 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
24 Module implementing a class to fix certain code style issues.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
25 </p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
26 <h3>Global Attributes</h3>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
27 <table>
3456
96232974dcdb Merge with BgService.
T.Rzepka <Tobias.Rzepka@gmail.com>
parents: 3209
diff changeset
28 <tr><td>FixableCodeStyleIssues</td></tr>
2985
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
29 </table>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
30 <h3>Classes</h3>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
31 <table>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
32 <tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
33 <td><a href="#CodeStyleFixer">CodeStyleFixer</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
34 <td>Class implementing a fixer for certain code style issues.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
35 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
36 <td><a href="#IndentationWrapper">IndentationWrapper</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
37 <td>Class used by fixers dealing with indentation.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
38 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
39 <td><a href="#LineShortener">LineShortener</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
40 <td>Class used to shorten lines to a given maximum of characters.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
41 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
42 <td><a href="#Reindenter">Reindenter</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
43 <td>Class to reindent badly-indented code to uniformly use four-space indentation.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
44 </tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
45 </table>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
46 <h3>Functions</h3>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
47 <table>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
48 <tr><td>None</td></tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
49 </table>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
50 <hr /><hr />
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
51 <a NAME="CodeStyleFixer" ID="CodeStyleFixer"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
52 <h2>CodeStyleFixer</h2>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
53 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
54 Class implementing a fixer for certain code style issues.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
55 </p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
56 <h3>Derived from</h3>
3209
c5432abceb25 CodeStyleChecker moved to background service and done a little cleanup.
T.Rzepka <Tobias.Rzepka@gmail.com>
parents: 2985
diff changeset
57 object
2985
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
58 <h3>Class Attributes</h3>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
59 <table>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
60 <tr><td>None</td></tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
61 </table>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
62 <h3>Class Methods</h3>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
63 <table>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
64 <tr><td>None</td></tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
65 </table>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
66 <h3>Methods</h3>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
67 <table>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
68 <tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
69 <td><a href="#CodeStyleFixer.__init__">CodeStyleFixer</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
70 <td>Constructor</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
71 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
72 <td><a href="#CodeStyleFixer.__codeMatch">__codeMatch</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
73 <td>Private method to check, if the code should be fixed.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
74 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
75 <td><a href="#CodeStyleFixer.__findLogical">__findLogical</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
76 <td>Private method to extract the index of all the starts and ends of lines.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
77 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
78 <td><a href="#CodeStyleFixer.__fixD111">__fixD111</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
79 <td>Private method to fix docstring enclosed in wrong quotes.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
80 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
81 <td><a href="#CodeStyleFixer.__fixD112">__fixD112</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
82 <td>Private method to fix docstring 'r' or 'u' in leading quotes.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
83 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
84 <td><a href="#CodeStyleFixer.__fixD131">__fixD131</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
85 <td>Private method to fix a docstring summary not ending with a period.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
86 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
87 <td><a href="#CodeStyleFixer.__fixD141">__fixD141</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
88 <td>Private method to fix a function/method docstring preceded by a blank line.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
89 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
90 <td><a href="#CodeStyleFixer.__fixD142">__fixD142</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
91 <td>Private method to fix a class docstring not preceded by a blank line.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
92 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
93 <td><a href="#CodeStyleFixer.__fixD143">__fixD143</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
94 <td>Private method to fix a class docstring not followed by a blank line.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
95 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
96 <td><a href="#CodeStyleFixer.__fixD144">__fixD144</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
97 <td>Private method to fix a docstring summary not followed by a blank line.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
98 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
99 <td><a href="#CodeStyleFixer.__fixD145">__fixD145</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
100 <td>Private method to fix the last paragraph of a multi-line docstring not followed by a blank line.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
101 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
102 <td><a href="#CodeStyleFixer.__fixD221">__fixD221</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
103 <td>Private method to fix leading and trailing quotes of docstring not on separate lines.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
104 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
105 <td><a href="#CodeStyleFixer.__fixD242">__fixD242</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
106 <td>Private method to fix a class or function/method docstring preceded by a blank line.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
107 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
108 <td><a href="#CodeStyleFixer.__fixD243">__fixD243</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
109 <td>Private method to fix a class or function/method docstring followed by a blank line.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
110 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
111 <td><a href="#CodeStyleFixer.__fixD247">__fixD247</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
112 <td>Private method to fix a last paragraph of a docstring followed by a blank line.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
113 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
114 <td><a href="#CodeStyleFixer.__fixE101">__fixE101</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
115 <td>Private method to fix obsolete tab usage and indentation errors.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
116 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
117 <td><a href="#CodeStyleFixer.__fixE121">__fixE121</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
118 <td>Private method to fix the indentation of continuation lines and closing brackets.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
119 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
120 <td><a href="#CodeStyleFixer.__fixE122">__fixE122</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
121 <td>Private method to fix a missing indentation of continuation lines.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
122 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
123 <td><a href="#CodeStyleFixer.__fixE123">__fixE123</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
124 <td>Private method to fix the indentation of a closing bracket lines.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
125 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
126 <td><a href="#CodeStyleFixer.__fixE125">__fixE125</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
127 <td>Private method to fix the indentation of continuation lines not distinguishable from next logical line.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
128 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
129 <td><a href="#CodeStyleFixer.__fixE126">__fixE126</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
130 <td>Private method to fix over-indented/under-indented hanging indentation.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
131 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
132 <td><a href="#CodeStyleFixer.__fixE127">__fixE127</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
133 <td>Private method to fix over/under indented lines.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
134 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
135 <td><a href="#CodeStyleFixer.__fixE201">__fixE201</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
136 <td>Private method to fix extraneous whitespace.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
137 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
138 <td><a href="#CodeStyleFixer.__fixE221">__fixE221</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
139 <td>Private method to fix extraneous whitespace around operator or keyword.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
140 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
141 <td><a href="#CodeStyleFixer.__fixE231">__fixE231</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
142 <td>Private method to fix missing whitespace after ',;:'.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
143 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
144 <td><a href="#CodeStyleFixer.__fixE251">__fixE251</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
145 <td>Private method to fix extraneous whitespace around keyword and default parameter equals.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
146 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
147 <td><a href="#CodeStyleFixer.__fixE261">__fixE261</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
148 <td>Private method to fix whitespace before or after inline comment.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
149 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
150 <td><a href="#CodeStyleFixer.__fixE301">__fixE301</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
151 <td>Private method to fix the need for one blank line.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
152 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
153 <td><a href="#CodeStyleFixer.__fixE302">__fixE302</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
154 <td>Private method to fix the need for two blank lines.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
155 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
156 <td><a href="#CodeStyleFixer.__fixE303">__fixE303</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
157 <td>Private method to fix superfluous blank lines.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
158 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
159 <td><a href="#CodeStyleFixer.__fixE304">__fixE304</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
160 <td>Private method to fix superfluous blank lines after a function decorator.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
161 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
162 <td><a href="#CodeStyleFixer.__fixE401">__fixE401</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
163 <td>Private method to fix multiple imports on one line.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
164 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
165 <td><a href="#CodeStyleFixer.__fixE501">__fixE501</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
166 <td>Private method to fix the long lines by breaking them.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
167 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
168 <td><a href="#CodeStyleFixer.__fixE502">__fixE502</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
169 <td>Private method to fix redundant backslash within brackets.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
170 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
171 <td><a href="#CodeStyleFixer.__fixE701">__fixE701</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
172 <td>Private method to fix colon-separated compound statements.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
173 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
174 <td><a href="#CodeStyleFixer.__fixE702">__fixE702</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
175 <td>Private method to fix semicolon-separated compound statements.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
176 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
177 <td><a href="#CodeStyleFixer.__fixE711">__fixE711</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
178 <td>Private method to fix comparison with None.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
179 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
180 <td><a href="#CodeStyleFixer.__fixN804">__fixN804</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
181 <td>Private method to fix a wrong first argument of normal and class methods.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
182 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
183 <td><a href="#CodeStyleFixer.__fixN806">__fixN806</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
184 <td>Private method to fix a wrong first argument of static methods.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
185 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
186 <td><a href="#CodeStyleFixer.__fixReindent">__fixReindent</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
187 <td>Private method to fix a badly indented line.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
188 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
189 <td><a href="#CodeStyleFixer.__fixW291">__fixW291</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
190 <td>Private method to fix trailing whitespace.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
191 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
192 <td><a href="#CodeStyleFixer.__fixW292">__fixW292</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
193 <td>Private method to fix a missing newline at the end of file.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
194 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
195 <td><a href="#CodeStyleFixer.__fixW391">__fixW391</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
196 <td>Private method to fix trailing blank lines.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
197 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
198 <td><a href="#CodeStyleFixer.__fixW603">__fixW603</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
199 <td>Private method to fix the not equal notation.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
200 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
201 <td><a href="#CodeStyleFixer.__fixWhitespace">__fixWhitespace</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
202 <td>Private method to correct whitespace at the given offset.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
203 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
204 <td><a href="#CodeStyleFixer.__getID">__getID</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
205 <td>Private method to get the ID for a deferred fix.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
206 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
207 <td><a href="#CodeStyleFixer.__getIndent">__getIndent</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
208 <td>Private method to get the indentation string.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
209 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
210 <td><a href="#CodeStyleFixer.__getIndentWord">__getIndentWord</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
211 <td>Private method to determine the indentation type.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
212 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
213 <td><a href="#CodeStyleFixer.__getLogical">__getLogical</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
214 <td>Private method to get the logical line corresponding to the given position.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
215 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
216 <td><a href="#CodeStyleFixer.__multilineStringLines">__multilineStringLines</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
217 <td>Private method to determine the line numbers that are within multi line strings and these which are part of a documentation string.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
218 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
219 <td><a href="#CodeStyleFixer.finalize">finalize</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
220 <td>Public method to apply all deferred fixes.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
221 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
222 <td><a href="#CodeStyleFixer.fixIssue">fixIssue</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
223 <td>Public method to fix the fixable issues.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
224 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
225 <td><a href="#CodeStyleFixer.mutualStartswith">mutualStartswith</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
226 <td>Local helper method to compare the beginnings of two strings against each other.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
227 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
228 <td><a href="#CodeStyleFixer.saveFile">saveFile</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
229 <td>Public method to save the modified file.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
230 </tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
231 </table>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
232 <h3>Static Methods</h3>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
233 <table>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
234 <tr><td>None</td></tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
235 </table>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
236 <a NAME="CodeStyleFixer.__init__" ID="CodeStyleFixer.__init__"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
237 <h4>CodeStyleFixer (Constructor)</h4>
3549
96ebf42cd960 Added the file backup functionality in the code style fixer.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 3456
diff changeset
238 <b>CodeStyleFixer</b>(<i>filename, sourceLines, fixCodes, noFixCodes, maxLineLength, inPlace, eol, backup=False</i>)
2985
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
239 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
240 Constructor
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
241 </p><dl>
3209
c5432abceb25 CodeStyleChecker moved to background service and done a little cleanup.
T.Rzepka <Tobias.Rzepka@gmail.com>
parents: 2985
diff changeset
242 <dt><i>filename</i></dt>
2985
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
243 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
244 name of the file to be fixed (string)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
245 </dd><dt><i>sourceLines</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
246 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
247 list of source lines including eol marker
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
248 (list of string)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
249 </dd><dt><i>fixCodes</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
250 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
251 list of codes to be fixed as a comma separated
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
252 string (string)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
253 </dd><dt><i>noFixCodes</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
254 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
255 list of codes not to be fixed as a comma
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
256 separated string (string)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
257 </dd><dt><i>maxLineLength</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
258 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
259 maximum allowed line length (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
260 </dd><dt><i>inPlace</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
261 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
262 flag indicating to modify the file in place (boolean)
3209
c5432abceb25 CodeStyleChecker moved to background service and done a little cleanup.
T.Rzepka <Tobias.Rzepka@gmail.com>
parents: 2985
diff changeset
263 </dd><dt><i>eol</i></dt>
c5432abceb25 CodeStyleChecker moved to background service and done a little cleanup.
T.Rzepka <Tobias.Rzepka@gmail.com>
parents: 2985
diff changeset
264 <dd>
c5432abceb25 CodeStyleChecker moved to background service and done a little cleanup.
T.Rzepka <Tobias.Rzepka@gmail.com>
parents: 2985
diff changeset
265 end of line character(s) (string)
3549
96ebf42cd960 Added the file backup functionality in the code style fixer.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 3456
diff changeset
266 </dd><dt><i>backup</i></dt>
96ebf42cd960 Added the file backup functionality in the code style fixer.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 3456
diff changeset
267 <dd>
96ebf42cd960 Added the file backup functionality in the code style fixer.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 3456
diff changeset
268 flag indicating to create a backup before fixing
96ebf42cd960 Added the file backup functionality in the code style fixer.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 3456
diff changeset
269 anything (boolean)
2985
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
270 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
271 </dl><a NAME="CodeStyleFixer.__codeMatch" ID="CodeStyleFixer.__codeMatch"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
272 <h4>CodeStyleFixer.__codeMatch</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
273 <b>__codeMatch</b>(<i>code</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
274 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
275 Private method to check, if the code should be fixed.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
276 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
277 <dt><i>code</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
278 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
279 to check (string)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
280 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
281 </dl><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
282 <dt>Returns:</dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
283 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
284 flag indicating it should be fixed (boolean)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
285 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
286 </dl><a NAME="CodeStyleFixer.__findLogical" ID="CodeStyleFixer.__findLogical"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
287 <h4>CodeStyleFixer.__findLogical</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
288 <b>__findLogical</b>(<i></i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
289 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
290 Private method to extract the index of all the starts and ends of
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
291 lines.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
292 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
293 <dt>Returns:</dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
294 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
295 tuple containing two lists of integer with start and end tuples
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
296 of lines
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
297 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
298 </dl><a NAME="CodeStyleFixer.__fixD111" ID="CodeStyleFixer.__fixD111"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
299 <h4>CodeStyleFixer.__fixD111</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
300 <b>__fixD111</b>(<i>code, line, pos</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
301 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
302 Private method to fix docstring enclosed in wrong quotes.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
303 </p><p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
304 Codes: D111
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
305 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
306 <dt><i>code</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
307 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
308 code of the issue (string)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
309 </dd><dt><i>line</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
310 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
311 line number of the issue (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
312 </dd><dt><i>pos</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
313 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
314 position inside line (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
315 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
316 </dl><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
317 <dt>Returns:</dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
318 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
319 value indicating an applied/deferred fix (-1, 0, 1),
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
320 a message for the fix (string) and an ID for a deferred
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
321 fix (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
322 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
323 </dl><a NAME="CodeStyleFixer.__fixD112" ID="CodeStyleFixer.__fixD112"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
324 <h4>CodeStyleFixer.__fixD112</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
325 <b>__fixD112</b>(<i>code, line, pos</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
326 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
327 Private method to fix docstring 'r' or 'u' in leading quotes.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
328 </p><p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
329 Codes: D112, D113
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
330 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
331 <dt><i>code</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
332 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
333 code of the issue (string)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
334 </dd><dt><i>line</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
335 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
336 line number of the issue (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
337 </dd><dt><i>pos</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
338 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
339 position inside line (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
340 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
341 </dl><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
342 <dt>Returns:</dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
343 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
344 value indicating an applied/deferred fix (-1, 0, 1),
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
345 a message for the fix (string) and an ID for a deferred
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
346 fix (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
347 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
348 </dl><a NAME="CodeStyleFixer.__fixD131" ID="CodeStyleFixer.__fixD131"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
349 <h4>CodeStyleFixer.__fixD131</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
350 <b>__fixD131</b>(<i>code, line, pos</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
351 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
352 Private method to fix a docstring summary not ending with a
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
353 period.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
354 </p><p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
355 Codes: D131
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
356 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
357 <dt><i>code</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
358 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
359 code of the issue (string)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
360 </dd><dt><i>line</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
361 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
362 line number of the issue (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
363 </dd><dt><i>pos</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
364 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
365 position inside line (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
366 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
367 </dl><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
368 <dt>Returns:</dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
369 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
370 value indicating an applied/deferred fix (-1, 0, 1),
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
371 a message for the fix (string) and an ID for a deferred
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
372 fix (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
373 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
374 </dl><a NAME="CodeStyleFixer.__fixD141" ID="CodeStyleFixer.__fixD141"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
375 <h4>CodeStyleFixer.__fixD141</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
376 <b>__fixD141</b>(<i>code, line, pos, apply=False</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
377 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
378 Private method to fix a function/method docstring preceded by a
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
379 blank line.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
380 </p><p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
381 Codes: D141
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
382 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
383 <dt><i>code</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
384 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
385 code of the issue (string)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
386 </dd><dt><i>line</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
387 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
388 line number of the issue (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
389 </dd><dt><i>pos</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
390 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
391 position inside line (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
392 </dd><dt><i>apply=</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
393 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
394 flag indicating, that the fix should be applied
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
395 (boolean)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
396 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
397 </dl><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
398 <dt>Returns:</dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
399 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
400 value indicating an applied/deferred fix (-1, 0, 1),
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
401 a message for the fix (string) and an ID for a deferred
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
402 fix (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
403 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
404 </dl><a NAME="CodeStyleFixer.__fixD142" ID="CodeStyleFixer.__fixD142"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
405 <h4>CodeStyleFixer.__fixD142</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
406 <b>__fixD142</b>(<i>code, line, pos, apply=False</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
407 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
408 Private method to fix a class docstring not preceded by a
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
409 blank line.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
410 </p><p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
411 Codes: D142
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
412 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
413 <dt><i>code</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
414 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
415 code of the issue (string)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
416 </dd><dt><i>line</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
417 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
418 line number of the issue (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
419 </dd><dt><i>pos</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
420 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
421 position inside line (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
422 </dd><dt><i>apply=</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
423 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
424 flag indicating, that the fix should be applied
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
425 (boolean)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
426 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
427 </dl><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
428 <dt>Returns:</dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
429 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
430 value indicating an applied/deferred fix (-1, 0, 1),
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
431 a message for the fix (string) and an ID for a deferred
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
432 fix (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
433 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
434 </dl><a NAME="CodeStyleFixer.__fixD143" ID="CodeStyleFixer.__fixD143"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
435 <h4>CodeStyleFixer.__fixD143</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
436 <b>__fixD143</b>(<i>code, line, pos, apply=False</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
437 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
438 Private method to fix a class docstring not followed by a
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
439 blank line.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
440 </p><p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
441 Codes: D143
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
442 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
443 <dt><i>code</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
444 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
445 code of the issue (string)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
446 </dd><dt><i>line</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
447 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
448 line number of the issue (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
449 </dd><dt><i>pos</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
450 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
451 position inside line (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
452 </dd><dt><i>apply=</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
453 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
454 flag indicating, that the fix should be applied
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
455 (boolean)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
456 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
457 </dl><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
458 <dt>Returns:</dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
459 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
460 value indicating an applied/deferred fix (-1, 0, 1),
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
461 a message for the fix (string) and an ID for a deferred
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
462 fix (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
463 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
464 </dl><a NAME="CodeStyleFixer.__fixD144" ID="CodeStyleFixer.__fixD144"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
465 <h4>CodeStyleFixer.__fixD144</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
466 <b>__fixD144</b>(<i>code, line, pos, apply=False</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
467 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
468 Private method to fix a docstring summary not followed by a
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
469 blank line.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
470 </p><p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
471 Codes: D144
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
472 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
473 <dt><i>code</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
474 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
475 code of the issue (string)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
476 </dd><dt><i>line</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
477 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
478 line number of the issue (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
479 </dd><dt><i>pos</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
480 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
481 position inside line (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
482 </dd><dt><i>apply=</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
483 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
484 flag indicating, that the fix should be applied
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
485 (boolean)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
486 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
487 </dl><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
488 <dt>Returns:</dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
489 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
490 value indicating an applied/deferred fix (-1, 0, 1),
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
491 a message for the fix (string) and an ID for a deferred
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
492 fix (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
493 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
494 </dl><a NAME="CodeStyleFixer.__fixD145" ID="CodeStyleFixer.__fixD145"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
495 <h4>CodeStyleFixer.__fixD145</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
496 <b>__fixD145</b>(<i>code, line, pos, apply=False</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
497 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
498 Private method to fix the last paragraph of a multi-line docstring
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
499 not followed by a blank line.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
500 </p><p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
501 Codes: D143
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
502 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
503 <dt><i>code</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
504 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
505 code of the issue (string)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
506 </dd><dt><i>line</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
507 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
508 line number of the issue (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
509 </dd><dt><i>pos</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
510 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
511 position inside line (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
512 </dd><dt><i>apply=</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
513 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
514 flag indicating, that the fix should be applied
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
515 (boolean)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
516 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
517 </dl><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
518 <dt>Returns:</dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
519 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
520 value indicating an applied/deferred fix (-1, 0, 1),
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
521 a message for the fix (string) and an ID for a deferred
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
522 fix (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
523 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
524 </dl><a NAME="CodeStyleFixer.__fixD221" ID="CodeStyleFixer.__fixD221"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
525 <h4>CodeStyleFixer.__fixD221</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
526 <b>__fixD221</b>(<i>code, line, pos, apply=False</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
527 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
528 Private method to fix leading and trailing quotes of docstring
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
529 not on separate lines.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
530 </p><p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
531 Codes: D221, D222
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
532 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
533 <dt><i>code</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
534 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
535 code of the issue (string)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
536 </dd><dt><i>line</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
537 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
538 line number of the issue (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
539 </dd><dt><i>pos</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
540 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
541 position inside line (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
542 </dd><dt><i>apply=</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
543 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
544 flag indicating, that the fix should be applied
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
545 (boolean)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
546 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
547 </dl><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
548 <dt>Returns:</dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
549 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
550 value indicating an applied/deferred fix (-1, 0, 1),
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
551 a message for the fix (string) and an ID for a deferred
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
552 fix (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
553 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
554 </dl><a NAME="CodeStyleFixer.__fixD242" ID="CodeStyleFixer.__fixD242"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
555 <h4>CodeStyleFixer.__fixD242</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
556 <b>__fixD242</b>(<i>code, line, pos, apply=False</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
557 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
558 Private method to fix a class or function/method docstring preceded
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
559 by a blank line.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
560 </p><p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
561 Codes: D242, D244
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
562 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
563 <dt><i>code</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
564 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
565 code of the issue (string)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
566 </dd><dt><i>line</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
567 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
568 line number of the issue (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
569 </dd><dt><i>pos</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
570 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
571 position inside line (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
572 </dd><dt><i>apply=</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
573 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
574 flag indicating, that the fix should be applied
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
575 (boolean)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
576 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
577 </dl><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
578 <dt>Returns:</dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
579 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
580 value indicating an applied/deferred fix (-1, 0, 1),
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
581 a message for the fix (string) and an ID for a deferred
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
582 fix (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
583 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
584 </dl><a NAME="CodeStyleFixer.__fixD243" ID="CodeStyleFixer.__fixD243"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
585 <h4>CodeStyleFixer.__fixD243</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
586 <b>__fixD243</b>(<i>code, line, pos, apply=False</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
587 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
588 Private method to fix a class or function/method docstring followed
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
589 by a blank line.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
590 </p><p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
591 Codes: D243, D245
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
592 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
593 <dt><i>code</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
594 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
595 code of the issue (string)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
596 </dd><dt><i>line</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
597 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
598 line number of the issue (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
599 </dd><dt><i>pos</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
600 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
601 position inside line (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
602 </dd><dt><i>apply=</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
603 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
604 flag indicating, that the fix should be applied
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
605 (boolean)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
606 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
607 </dl><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
608 <dt>Returns:</dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
609 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
610 value indicating an applied/deferred fix (-1, 0, 1),
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
611 a message for the fix (string) and an ID for a deferred
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
612 fix (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
613 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
614 </dl><a NAME="CodeStyleFixer.__fixD247" ID="CodeStyleFixer.__fixD247"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
615 <h4>CodeStyleFixer.__fixD247</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
616 <b>__fixD247</b>(<i>code, line, pos, apply=False</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
617 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
618 Private method to fix a last paragraph of a docstring followed
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
619 by a blank line.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
620 </p><p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
621 Codes: D247
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
622 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
623 <dt><i>code</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
624 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
625 code of the issue (string)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
626 </dd><dt><i>line</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
627 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
628 line number of the issue (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
629 </dd><dt><i>pos</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
630 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
631 position inside line (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
632 </dd><dt><i>apply=</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
633 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
634 flag indicating, that the fix should be applied
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
635 (boolean)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
636 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
637 </dl><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
638 <dt>Returns:</dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
639 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
640 value indicating an applied/deferred fix (-1, 0, 1),
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
641 a message for the fix (string) and an ID for a deferred
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
642 fix (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
643 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
644 </dl><a NAME="CodeStyleFixer.__fixE101" ID="CodeStyleFixer.__fixE101"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
645 <h4>CodeStyleFixer.__fixE101</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
646 <b>__fixE101</b>(<i>code, line, pos</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
647 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
648 Private method to fix obsolete tab usage and indentation errors.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
649 </p><p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
650 Codes: E101, E111, W191
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
651 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
652 <dt><i>code</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
653 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
654 code of the issue (string)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
655 </dd><dt><i>line</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
656 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
657 line number of the issue (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
658 </dd><dt><i>pos</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
659 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
660 position inside line (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
661 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
662 </dl><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
663 <dt>Returns:</dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
664 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
665 value indicating an applied/deferred fix (-1, 0, 1),
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
666 a message for the fix (string) and an ID for a deferred
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
667 fix (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
668 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
669 </dl><a NAME="CodeStyleFixer.__fixE121" ID="CodeStyleFixer.__fixE121"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
670 <h4>CodeStyleFixer.__fixE121</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
671 <b>__fixE121</b>(<i>code, line, pos, apply=False</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
672 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
673 Private method to fix the indentation of continuation lines and
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
674 closing brackets.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
675 </p><p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
676 Codes: E121, E124
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
677 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
678 <dt><i>code</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
679 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
680 code of the issue (string)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
681 </dd><dt><i>line</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
682 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
683 line number of the issue (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
684 </dd><dt><i>pos</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
685 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
686 position inside line (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
687 </dd><dt><i>apply=</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
688 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
689 flag indicating, that the fix should be applied
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
690 (boolean)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
691 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
692 </dl><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
693 <dt>Returns:</dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
694 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
695 value indicating an applied/deferred fix (-1, 0, 1),
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
696 a message for the fix (string) and an ID for a deferred
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
697 fix (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
698 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
699 </dl><a NAME="CodeStyleFixer.__fixE122" ID="CodeStyleFixer.__fixE122"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
700 <h4>CodeStyleFixer.__fixE122</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
701 <b>__fixE122</b>(<i>code, line, pos, apply=False</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
702 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
703 Private method to fix a missing indentation of continuation lines.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
704 </p><p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
705 Codes: E122
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
706 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
707 <dt><i>code</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
708 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
709 code of the issue (string)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
710 </dd><dt><i>line</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
711 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
712 line number of the issue (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
713 </dd><dt><i>pos</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
714 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
715 position inside line (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
716 </dd><dt><i>apply=</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
717 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
718 flag indicating, that the fix should be applied
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
719 (boolean)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
720 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
721 </dl><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
722 <dt>Returns:</dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
723 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
724 value indicating an applied/deferred fix (-1, 0, 1),
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
725 a message for the fix (string) and an ID for a deferred
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
726 fix (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
727 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
728 </dl><a NAME="CodeStyleFixer.__fixE123" ID="CodeStyleFixer.__fixE123"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
729 <h4>CodeStyleFixer.__fixE123</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
730 <b>__fixE123</b>(<i>code, line, pos, apply=False</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
731 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
732 Private method to fix the indentation of a closing bracket lines.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
733 </p><p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
734 Codes: E123
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
735 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
736 <dt><i>code</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
737 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
738 code of the issue (string)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
739 </dd><dt><i>line</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
740 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
741 line number of the issue (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
742 </dd><dt><i>pos</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
743 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
744 position inside line (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
745 </dd><dt><i>apply=</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
746 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
747 flag indicating, that the fix should be applied
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
748 (boolean)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
749 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
750 </dl><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
751 <dt>Returns:</dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
752 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
753 value indicating an applied/deferred fix (-1, 0, 1),
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
754 a message for the fix (string) and an ID for a deferred
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
755 fix (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
756 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
757 </dl><a NAME="CodeStyleFixer.__fixE125" ID="CodeStyleFixer.__fixE125"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
758 <h4>CodeStyleFixer.__fixE125</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
759 <b>__fixE125</b>(<i>code, line, pos, apply=False</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
760 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
761 Private method to fix the indentation of continuation lines not
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
762 distinguishable from next logical line.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
763 </p><p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
764 Codes: E125
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
765 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
766 <dt><i>code</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
767 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
768 code of the issue (string)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
769 </dd><dt><i>line</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
770 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
771 line number of the issue (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
772 </dd><dt><i>pos</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
773 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
774 position inside line (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
775 </dd><dt><i>apply=</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
776 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
777 flag indicating, that the fix should be applied
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
778 (boolean)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
779 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
780 </dl><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
781 <dt>Returns:</dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
782 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
783 value indicating an applied/deferred fix (-1, 0, 1),
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
784 a message for the fix (string) and an ID for a deferred
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
785 fix (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
786 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
787 </dl><a NAME="CodeStyleFixer.__fixE126" ID="CodeStyleFixer.__fixE126"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
788 <h4>CodeStyleFixer.__fixE126</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
789 <b>__fixE126</b>(<i>code, line, pos, apply=False</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
790 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
791 Private method to fix over-indented/under-indented hanging
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
792 indentation.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
793 </p><p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
794 Codes: E126, E133
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
795 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
796 <dt><i>code</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
797 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
798 code of the issue (string)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
799 </dd><dt><i>line</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
800 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
801 line number of the issue (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
802 </dd><dt><i>pos</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
803 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
804 position inside line (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
805 </dd><dt><i>apply=</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
806 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
807 flag indicating, that the fix should be applied
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
808 (boolean)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
809 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
810 </dl><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
811 <dt>Returns:</dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
812 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
813 value indicating an applied/deferred fix (-1, 0, 1),
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
814 a message for the fix (string) and an ID for a deferred
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
815 fix (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
816 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
817 </dl><a NAME="CodeStyleFixer.__fixE127" ID="CodeStyleFixer.__fixE127"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
818 <h4>CodeStyleFixer.__fixE127</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
819 <b>__fixE127</b>(<i>code, line, pos, apply=False</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
820 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
821 Private method to fix over/under indented lines.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
822 </p><p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
823 Codes: E127, E128
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
824 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
825 <dt><i>code</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
826 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
827 code of the issue (string)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
828 </dd><dt><i>line</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
829 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
830 line number of the issue (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
831 </dd><dt><i>pos</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
832 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
833 position inside line (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
834 </dd><dt><i>apply=</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
835 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
836 flag indicating, that the fix should be applied
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
837 (boolean)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
838 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
839 </dl><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
840 <dt>Returns:</dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
841 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
842 value indicating an applied/deferred fix (-1, 0, 1),
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
843 a message for the fix (string) and an ID for a deferred
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
844 fix (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
845 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
846 </dl><a NAME="CodeStyleFixer.__fixE201" ID="CodeStyleFixer.__fixE201"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
847 <h4>CodeStyleFixer.__fixE201</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
848 <b>__fixE201</b>(<i>code, line, pos</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
849 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
850 Private method to fix extraneous whitespace.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
851 </p><p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
852 Codes: E201, E202, E203, E211
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
853 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
854 <dt><i>code</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
855 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
856 code of the issue (string)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
857 </dd><dt><i>line</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
858 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
859 line number of the issue (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
860 </dd><dt><i>pos</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
861 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
862 position inside line (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
863 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
864 </dl><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
865 <dt>Returns:</dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
866 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
867 value indicating an applied/deferred fix (-1, 0, 1),
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
868 a message for the fix (string) and an ID for a deferred
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
869 fix (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
870 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
871 </dl><a NAME="CodeStyleFixer.__fixE221" ID="CodeStyleFixer.__fixE221"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
872 <h4>CodeStyleFixer.__fixE221</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
873 <b>__fixE221</b>(<i>code, line, pos</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
874 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
875 Private method to fix extraneous whitespace around operator or
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
876 keyword.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
877 </p><p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
878 Codes: E221, E222, E223, E224, E225, E226, E227, E228, E241,
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
879 E242, E271, E272, E273, E274).
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
880 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
881 <dt><i>code</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
882 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
883 code of the issue (string)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
884 </dd><dt><i>line</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
885 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
886 line number of the issue (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
887 </dd><dt><i>pos</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
888 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
889 position inside line (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
890 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
891 </dl><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
892 <dt>Returns:</dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
893 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
894 value indicating an applied/deferred fix (-1, 0, 1),
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
895 a message for the fix (string) and an ID for a deferred
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
896 fix (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
897 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
898 </dl><a NAME="CodeStyleFixer.__fixE231" ID="CodeStyleFixer.__fixE231"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
899 <h4>CodeStyleFixer.__fixE231</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
900 <b>__fixE231</b>(<i>code, line, pos</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
901 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
902 Private method to fix missing whitespace after ',;:'.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
903 </p><p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
904 Codes: E231
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
905 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
906 <dt><i>code</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
907 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
908 code of the issue (string)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
909 </dd><dt><i>line</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
910 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
911 line number of the issue (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
912 </dd><dt><i>pos</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
913 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
914 position inside line (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
915 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
916 </dl><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
917 <dt>Returns:</dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
918 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
919 value indicating an applied/deferred fix (-1, 0, 1),
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
920 a message for the fix (string) and an ID for a deferred
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
921 fix (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
922 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
923 </dl><a NAME="CodeStyleFixer.__fixE251" ID="CodeStyleFixer.__fixE251"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
924 <h4>CodeStyleFixer.__fixE251</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
925 <b>__fixE251</b>(<i>code, line, pos</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
926 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
927 Private method to fix extraneous whitespace around keyword and
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
928 default parameter equals.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
929 </p><p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
930 Codes: E251
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
931 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
932 <dt><i>code</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
933 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
934 code of the issue (string)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
935 </dd><dt><i>line</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
936 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
937 line number of the issue (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
938 </dd><dt><i>pos</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
939 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
940 position inside line (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
941 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
942 </dl><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
943 <dt>Returns:</dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
944 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
945 value indicating an applied/deferred fix (-1, 0, 1),
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
946 a message for the fix (string) and an ID for a deferred
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
947 fix (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
948 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
949 </dl><a NAME="CodeStyleFixer.__fixE261" ID="CodeStyleFixer.__fixE261"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
950 <h4>CodeStyleFixer.__fixE261</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
951 <b>__fixE261</b>(<i>code, line, pos</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
952 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
953 Private method to fix whitespace before or after inline comment.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
954 </p><p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
955 Codes: E261, E262
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
956 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
957 <dt><i>code</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
958 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
959 code of the issue (string)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
960 </dd><dt><i>line</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
961 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
962 line number of the issue (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
963 </dd><dt><i>pos</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
964 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
965 position inside line (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
966 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
967 </dl><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
968 <dt>Returns:</dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
969 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
970 value indicating an applied/deferred fix (-1, 0, 1),
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
971 a message for the fix (string) and an ID for a deferred
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
972 fix (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
973 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
974 </dl><a NAME="CodeStyleFixer.__fixE301" ID="CodeStyleFixer.__fixE301"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
975 <h4>CodeStyleFixer.__fixE301</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
976 <b>__fixE301</b>(<i>code, line, pos, apply=False</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
977 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
978 Private method to fix the need for one blank line.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
979 </p><p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
980 Codes: E301
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
981 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
982 <dt><i>code</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
983 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
984 code of the issue (string)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
985 </dd><dt><i>line</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
986 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
987 line number of the issue (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
988 </dd><dt><i>pos</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
989 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
990 position inside line (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
991 </dd><dt><i>apply=</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
992 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
993 flag indicating, that the fix should be applied
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
994 (boolean)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
995 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
996 </dl><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
997 <dt>Returns:</dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
998 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
999 value indicating an applied/deferred fix (-1, 0, 1),
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1000 a message for the fix (string) and an ID for a deferred
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1001 fix (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1002 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1003 </dl><a NAME="CodeStyleFixer.__fixE302" ID="CodeStyleFixer.__fixE302"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1004 <h4>CodeStyleFixer.__fixE302</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1005 <b>__fixE302</b>(<i>code, line, pos, apply=False</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1006 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1007 Private method to fix the need for two blank lines.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1008 </p><p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1009 Codes: E302
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1010 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1011 <dt><i>code</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1012 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1013 code of the issue (string)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1014 </dd><dt><i>line</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1015 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1016 line number of the issue (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1017 </dd><dt><i>pos</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1018 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1019 position inside line (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1020 </dd><dt><i>apply=</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1021 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1022 flag indicating, that the fix should be applied
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1023 (boolean)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1024 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1025 </dl><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1026 <dt>Returns:</dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1027 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1028 value indicating an applied/deferred fix (-1, 0, 1),
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1029 a message for the fix (string) and an ID for a deferred
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1030 fix (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1031 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1032 </dl><a NAME="CodeStyleFixer.__fixE303" ID="CodeStyleFixer.__fixE303"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1033 <h4>CodeStyleFixer.__fixE303</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1034 <b>__fixE303</b>(<i>code, line, pos, apply=False</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1035 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1036 Private method to fix superfluous blank lines.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1037 </p><p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1038 Codes: E303
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1039 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1040 <dt><i>code</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1041 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1042 code of the issue (string)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1043 </dd><dt><i>line</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1044 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1045 line number of the issue (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1046 </dd><dt><i>pos</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1047 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1048 position inside line (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1049 </dd><dt><i>apply=</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1050 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1051 flag indicating, that the fix should be applied
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1052 (boolean)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1053 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1054 </dl><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1055 <dt>Returns:</dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1056 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1057 value indicating an applied/deferred fix (-1, 0, 1),
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1058 a message for the fix (string) and an ID for a deferred
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1059 fix (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1060 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1061 </dl><a NAME="CodeStyleFixer.__fixE304" ID="CodeStyleFixer.__fixE304"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1062 <h4>CodeStyleFixer.__fixE304</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1063 <b>__fixE304</b>(<i>code, line, pos, apply=False</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1064 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1065 Private method to fix superfluous blank lines after a function
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1066 decorator.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1067 </p><p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1068 Codes: E304
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1069 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1070 <dt><i>code</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1071 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1072 code of the issue (string)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1073 </dd><dt><i>line</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1074 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1075 line number of the issue (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1076 </dd><dt><i>pos</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1077 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1078 position inside line (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1079 </dd><dt><i>apply=</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1080 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1081 flag indicating, that the fix should be applied
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1082 (boolean)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1083 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1084 </dl><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1085 <dt>Returns:</dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1086 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1087 value indicating an applied/deferred fix (-1, 0, 1),
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1088 a message for the fix (string) and an ID for a deferred
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1089 fix (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1090 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1091 </dl><a NAME="CodeStyleFixer.__fixE401" ID="CodeStyleFixer.__fixE401"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1092 <h4>CodeStyleFixer.__fixE401</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1093 <b>__fixE401</b>(<i>code, line, pos, apply=False</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1094 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1095 Private method to fix multiple imports on one line.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1096 </p><p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1097 Codes: E401
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1098 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1099 <dt><i>code</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1100 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1101 code of the issue (string)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1102 </dd><dt><i>line</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1103 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1104 line number of the issue (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1105 </dd><dt><i>pos</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1106 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1107 position inside line (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1108 </dd><dt><i>apply=</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1109 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1110 flag indicating, that the fix should be applied
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1111 (boolean)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1112 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1113 </dl><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1114 <dt>Returns:</dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1115 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1116 value indicating an applied/deferred fix (-1, 0, 1),
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1117 a message for the fix (string) and an ID for a deferred
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1118 fix (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1119 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1120 </dl><a NAME="CodeStyleFixer.__fixE501" ID="CodeStyleFixer.__fixE501"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1121 <h4>CodeStyleFixer.__fixE501</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1122 <b>__fixE501</b>(<i>code, line, pos, apply=False</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1123 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1124 Private method to fix the long lines by breaking them.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1125 </p><p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1126 Codes: E501
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1127 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1128 <dt><i>code</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1129 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1130 code of the issue (string)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1131 </dd><dt><i>line</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1132 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1133 line number of the issue (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1134 </dd><dt><i>pos</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1135 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1136 position inside line (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1137 </dd><dt><i>apply=</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1138 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1139 flag indicating, that the fix should be applied
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1140 (boolean)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1141 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1142 </dl><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1143 <dt>Returns:</dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1144 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1145 value indicating an applied/deferred fix (-1, 0, 1),
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1146 a message for the fix (string) and an ID for a deferred
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1147 fix (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1148 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1149 </dl><a NAME="CodeStyleFixer.__fixE502" ID="CodeStyleFixer.__fixE502"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1150 <h4>CodeStyleFixer.__fixE502</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1151 <b>__fixE502</b>(<i>code, line, pos</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1152 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1153 Private method to fix redundant backslash within brackets.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1154 </p><p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1155 Codes: E502
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1156 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1157 <dt><i>code</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1158 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1159 code of the issue (string)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1160 </dd><dt><i>line</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1161 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1162 line number of the issue (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1163 </dd><dt><i>pos</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1164 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1165 position inside line (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1166 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1167 </dl><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1168 <dt>Returns:</dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1169 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1170 value indicating an applied/deferred fix (-1, 0, 1),
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1171 a message for the fix (string) and an ID for a deferred
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1172 fix (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1173 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1174 </dl><a NAME="CodeStyleFixer.__fixE701" ID="CodeStyleFixer.__fixE701"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1175 <h4>CodeStyleFixer.__fixE701</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1176 <b>__fixE701</b>(<i>code, line, pos, apply=False</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1177 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1178 Private method to fix colon-separated compound statements.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1179 </p><p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1180 Codes: E701
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1181 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1182 <dt><i>code</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1183 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1184 code of the issue (string)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1185 </dd><dt><i>line</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1186 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1187 line number of the issue (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1188 </dd><dt><i>pos</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1189 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1190 position inside line (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1191 </dd><dt><i>apply=</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1192 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1193 flag indicating, that the fix should be applied
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1194 (boolean)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1195 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1196 </dl><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1197 <dt>Returns:</dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1198 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1199 value indicating an applied/deferred fix (-1, 0, 1),
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1200 a message for the fix (string) and an ID for a deferred
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1201 fix (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1202 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1203 </dl><a NAME="CodeStyleFixer.__fixE702" ID="CodeStyleFixer.__fixE702"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1204 <h4>CodeStyleFixer.__fixE702</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1205 <b>__fixE702</b>(<i>code, line, pos, apply=False</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1206 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1207 Private method to fix semicolon-separated compound statements.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1208 </p><p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1209 Codes: E702, E703
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1210 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1211 <dt><i>code</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1212 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1213 code of the issue (string)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1214 </dd><dt><i>line</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1215 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1216 line number of the issue (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1217 </dd><dt><i>pos</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1218 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1219 position inside line (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1220 </dd><dt><i>apply=</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1221 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1222 flag indicating, that the fix should be applied
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1223 (boolean)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1224 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1225 </dl><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1226 <dt>Returns:</dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1227 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1228 value indicating an applied/deferred fix (-1, 0, 1),
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1229 a message for the fix (string) and an ID for a deferred
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1230 fix (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1231 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1232 </dl><a NAME="CodeStyleFixer.__fixE711" ID="CodeStyleFixer.__fixE711"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1233 <h4>CodeStyleFixer.__fixE711</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1234 <b>__fixE711</b>(<i>code, line, pos</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1235 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1236 Private method to fix comparison with None.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1237 </p><p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1238 Codes: E711, E712
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1239 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1240 <dt><i>code</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1241 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1242 code of the issue (string)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1243 </dd><dt><i>line</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1244 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1245 line number of the issue (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1246 </dd><dt><i>pos</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1247 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1248 position inside line (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1249 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1250 </dl><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1251 <dt>Returns:</dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1252 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1253 value indicating an applied/deferred fix (-1, 0, 1),
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1254 a message for the fix (string) and an ID for a deferred
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1255 fix (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1256 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1257 </dl><a NAME="CodeStyleFixer.__fixN804" ID="CodeStyleFixer.__fixN804"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1258 <h4>CodeStyleFixer.__fixN804</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1259 <b>__fixN804</b>(<i>code, line, pos, apply=False</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1260 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1261 Private method to fix a wrong first argument of normal and
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1262 class methods.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1263 </p><p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1264 Codes: N804, N805
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1265 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1266 <dt><i>code</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1267 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1268 code of the issue (string)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1269 </dd><dt><i>line</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1270 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1271 line number of the issue (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1272 </dd><dt><i>pos</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1273 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1274 position inside line (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1275 </dd><dt><i>apply=</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1276 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1277 flag indicating, that the fix should be applied
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1278 (boolean)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1279 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1280 </dl><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1281 <dt>Returns:</dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1282 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1283 value indicating an applied/deferred fix (-1, 0, 1),
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1284 a message for the fix (string) and an ID for a deferred
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1285 fix (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1286 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1287 </dl><a NAME="CodeStyleFixer.__fixN806" ID="CodeStyleFixer.__fixN806"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1288 <h4>CodeStyleFixer.__fixN806</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1289 <b>__fixN806</b>(<i>code, line, pos, apply=False</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1290 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1291 Private method to fix a wrong first argument of static methods.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1292 </p><p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1293 Codes: N806
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1294 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1295 <dt><i>code</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1296 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1297 code of the issue (string)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1298 </dd><dt><i>line</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1299 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1300 line number of the issue (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1301 </dd><dt><i>pos</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1302 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1303 position inside line (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1304 </dd><dt><i>apply=</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1305 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1306 flag indicating, that the fix should be applied
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1307 (boolean)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1308 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1309 </dl><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1310 <dt>Returns:</dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1311 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1312 value indicating an applied/deferred fix (-1, 0, 1),
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1313 a message for the fix (string) and an ID for a deferred
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1314 fix (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1315 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1316 </dl><a NAME="CodeStyleFixer.__fixReindent" ID="CodeStyleFixer.__fixReindent"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1317 <h4>CodeStyleFixer.__fixReindent</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1318 <b>__fixReindent</b>(<i>line, pos, logical</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1319 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1320 Private method to fix a badly indented line.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1321 </p><p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1322 This is done by adding or removing from its initial indent only.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1323 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1324 <dt><i>line</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1325 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1326 line number of the issue (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1327 </dd><dt><i>pos</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1328 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1329 position inside line (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1330 </dd><dt><i>logical</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1331 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1332 logical line structure
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1333 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1334 </dl><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1335 <dt>Returns:</dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1336 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1337 flag indicating a change was done (boolean)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1338 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1339 </dl><a NAME="CodeStyleFixer.__fixW291" ID="CodeStyleFixer.__fixW291"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1340 <h4>CodeStyleFixer.__fixW291</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1341 <b>__fixW291</b>(<i>code, line, pos</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1342 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1343 Private method to fix trailing whitespace.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1344 </p><p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1345 Codes: W291, W293
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1346 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1347 <dt><i>code</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1348 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1349 code of the issue (string)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1350 </dd><dt><i>line</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1351 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1352 line number of the issue (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1353 </dd><dt><i>pos</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1354 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1355 position inside line (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1356 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1357 </dl><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1358 <dt>Returns:</dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1359 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1360 value indicating an applied/deferred fix (-1, 0, 1),
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1361 a message for the fix (string) and an ID for a deferred
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1362 fix (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1363 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1364 </dl><a NAME="CodeStyleFixer.__fixW292" ID="CodeStyleFixer.__fixW292"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1365 <h4>CodeStyleFixer.__fixW292</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1366 <b>__fixW292</b>(<i>code, line, pos</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1367 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1368 Private method to fix a missing newline at the end of file.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1369 </p><p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1370 Codes: W292
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1371 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1372 <dt><i>code</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1373 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1374 code of the issue (string)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1375 </dd><dt><i>line</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1376 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1377 line number of the issue (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1378 </dd><dt><i>pos</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1379 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1380 position inside line (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1381 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1382 </dl><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1383 <dt>Returns:</dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1384 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1385 value indicating an applied/deferred fix (-1, 0, 1),
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1386 a message for the fix (string) and an ID for a deferred
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1387 fix (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1388 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1389 </dl><a NAME="CodeStyleFixer.__fixW391" ID="CodeStyleFixer.__fixW391"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1390 <h4>CodeStyleFixer.__fixW391</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1391 <b>__fixW391</b>(<i>code, line, pos</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1392 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1393 Private method to fix trailing blank lines.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1394 </p><p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1395 Codes: W391
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1396 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1397 <dt><i>code</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1398 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1399 code of the issue (string)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1400 </dd><dt><i>line</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1401 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1402 line number of the issue (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1403 </dd><dt><i>pos</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1404 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1405 position inside line (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1406 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1407 </dl><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1408 <dt>Returns:</dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1409 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1410 value indicating an applied/deferred fix (-1, 0, 1),
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1411 a message for the fix (string) and an ID for a deferred
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1412 fix (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1413 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1414 </dl><a NAME="CodeStyleFixer.__fixW603" ID="CodeStyleFixer.__fixW603"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1415 <h4>CodeStyleFixer.__fixW603</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1416 <b>__fixW603</b>(<i>code, line, pos</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1417 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1418 Private method to fix the not equal notation.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1419 </p><p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1420 Codes: W603
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1421 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1422 <dt><i>code</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1423 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1424 code of the issue (string)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1425 </dd><dt><i>line</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1426 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1427 line number of the issue (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1428 </dd><dt><i>pos</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1429 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1430 position inside line (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1431 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1432 </dl><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1433 <dt>Returns:</dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1434 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1435 value indicating an applied/deferred fix (-1, 0, 1),
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1436 a message for the fix (string) and an ID for a deferred
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1437 fix (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1438 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1439 </dl><a NAME="CodeStyleFixer.__fixWhitespace" ID="CodeStyleFixer.__fixWhitespace"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1440 <h4>CodeStyleFixer.__fixWhitespace</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1441 <b>__fixWhitespace</b>(<i>line, offset, replacement</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1442 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1443 Private method to correct whitespace at the given offset.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1444 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1445 <dt><i>line</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1446 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1447 line to be corrected (string)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1448 </dd><dt><i>offset</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1449 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1450 offset within line (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1451 </dd><dt><i>replacement</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1452 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1453 replacement string (string)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1454 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1455 </dl><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1456 <dt>Returns:</dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1457 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1458 corrected line
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1459 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1460 </dl><a NAME="CodeStyleFixer.__getID" ID="CodeStyleFixer.__getID"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1461 <h4>CodeStyleFixer.__getID</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1462 <b>__getID</b>(<i></i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1463 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1464 Private method to get the ID for a deferred fix.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1465 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1466 <dt>Returns:</dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1467 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1468 ID for a deferred fix (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1469 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1470 </dl><a NAME="CodeStyleFixer.__getIndent" ID="CodeStyleFixer.__getIndent"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1471 <h4>CodeStyleFixer.__getIndent</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1472 <b>__getIndent</b>(<i>line</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1473 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1474 Private method to get the indentation string.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1475 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1476 <dt><i>line</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1477 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1478 line to determine the indentation string from (string)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1479 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1480 </dl><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1481 <dt>Returns:</dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1482 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1483 indentation string (string)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1484 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1485 </dl><a NAME="CodeStyleFixer.__getIndentWord" ID="CodeStyleFixer.__getIndentWord"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1486 <h4>CodeStyleFixer.__getIndentWord</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1487 <b>__getIndentWord</b>(<i></i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1488 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1489 Private method to determine the indentation type.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1490 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1491 <dt>Returns:</dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1492 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1493 string to be used for an indentation (string)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1494 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1495 </dl><a NAME="CodeStyleFixer.__getLogical" ID="CodeStyleFixer.__getLogical"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1496 <h4>CodeStyleFixer.__getLogical</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1497 <b>__getLogical</b>(<i>line, pos</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1498 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1499 Private method to get the logical line corresponding to the given
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1500 position.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1501 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1502 <dt><i>line</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1503 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1504 line number of the issue (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1505 </dd><dt><i>pos</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1506 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1507 position inside line (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1508 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1509 </dl><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1510 <dt>Returns:</dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1511 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1512 tuple of a tuple of two integers giving the start of the
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1513 logical line, another tuple of two integers giving the end
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1514 of the logical line and a list of strings with the original
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1515 source lines
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1516 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1517 </dl><a NAME="CodeStyleFixer.__multilineStringLines" ID="CodeStyleFixer.__multilineStringLines"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1518 <h4>CodeStyleFixer.__multilineStringLines</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1519 <b>__multilineStringLines</b>(<i></i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1520 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1521 Private method to determine the line numbers that are within multi line
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1522 strings and these which are part of a documentation string.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1523 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1524 <dt>Returns:</dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1525 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1526 tuple of a set of line numbers belonging to a multi line
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1527 string and a set of line numbers belonging to a multi line
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1528 documentation string (tuple of two set of integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1529 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1530 </dl><a NAME="CodeStyleFixer.finalize" ID="CodeStyleFixer.finalize"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1531 <h4>CodeStyleFixer.finalize</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1532 <b>finalize</b>(<i></i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1533 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1534 Public method to apply all deferred fixes.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1535 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1536 <dt>Returns:</dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1537 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1538 dictionary containing the fix results
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1539 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1540 </dl><a NAME="CodeStyleFixer.fixIssue" ID="CodeStyleFixer.fixIssue"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1541 <h4>CodeStyleFixer.fixIssue</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1542 <b>fixIssue</b>(<i>line, pos, message</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1543 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1544 Public method to fix the fixable issues.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1545 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1546 <dt><i>line</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1547 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1548 line number of issue (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1549 </dd><dt><i>pos</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1550 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1551 character position of issue (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1552 </dd><dt><i>message</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1553 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1554 message text (string)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1555 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1556 </dl><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1557 <dt>Returns:</dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1558 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1559 value indicating an applied/deferred fix (-1, 0, 1),
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1560 a message for the fix (string) and an ID for a deferred
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1561 fix (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1562 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1563 </dl><a NAME="CodeStyleFixer.mutualStartswith" ID="CodeStyleFixer.mutualStartswith"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1564 <h4>CodeStyleFixer.mutualStartswith</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1565 <b>mutualStartswith</b>(<i>b</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1566 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1567 Local helper method to compare the beginnings of two strings
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1568 against each other.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1569 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1570 <dt>Returns:</dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1571 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1572 flag indicating that one string starts with the other
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1573 (boolean)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1574 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1575 </dl><a NAME="CodeStyleFixer.saveFile" ID="CodeStyleFixer.saveFile"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1576 <h4>CodeStyleFixer.saveFile</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1577 <b>saveFile</b>(<i>encoding</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1578 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1579 Public method to save the modified file.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1580 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1581 <dt><i>encoding</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1582 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1583 encoding of the source file (string)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1584 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1585 </dl><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1586 <dt>Returns:</dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1587 <dd>
3456
96232974dcdb Merge with BgService.
T.Rzepka <Tobias.Rzepka@gmail.com>
parents: 3209
diff changeset
1588 error message on failure (tuple of str)
2985
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1589 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1590 </dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1591 <div align="right"><a href="#top">Up</a></div>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1592 <hr /><hr />
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1593 <a NAME="IndentationWrapper" ID="IndentationWrapper"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1594 <h2>IndentationWrapper</h2>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1595 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1596 Class used by fixers dealing with indentation.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1597 </p><p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1598 Each instance operates on a single logical line.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1599 </p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1600 <h3>Derived from</h3>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1601 object
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1602 <h3>Class Attributes</h3>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1603 <table>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1604 <tr><td>SKIP_TOKENS</td></tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1605 </table>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1606 <h3>Class Methods</h3>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1607 <table>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1608 <tr><td>None</td></tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1609 </table>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1610 <h3>Methods</h3>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1611 <table>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1612 <tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1613 <td><a href="#IndentationWrapper.__init__">IndentationWrapper</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1614 <td>Constructor</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1615 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1616 <td><a href="#IndentationWrapper.__buildTokensLogical">__buildTokensLogical</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1617 <td>Private method to build a logical line from a list of tokens.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1618 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1619 <td><a href="#IndentationWrapper.pep8Expected">pep8Expected</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1620 <td>Public method to replicate logic in pep8.py, to know what level to indent things to.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1621 </tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1622 </table>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1623 <h3>Static Methods</h3>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1624 <table>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1625 <tr><td>None</td></tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1626 </table>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1627 <a NAME="IndentationWrapper.__init__" ID="IndentationWrapper.__init__"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1628 <h4>IndentationWrapper (Constructor)</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1629 <b>IndentationWrapper</b>(<i>physical_lines</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1630 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1631 Constructor
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1632 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1633 <dt><i>physical_lines</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1634 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1635 list of physical lines to operate on
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1636 (list of strings)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1637 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1638 </dl><a NAME="IndentationWrapper.__buildTokensLogical" ID="IndentationWrapper.__buildTokensLogical"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1639 <h4>IndentationWrapper.__buildTokensLogical</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1640 <b>__buildTokensLogical</b>(<i>tokens</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1641 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1642 Private method to build a logical line from a list of tokens.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1643 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1644 <dt><i>tokens</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1645 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1646 list of tokens as generated by tokenize.generate_tokens
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1647 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1648 </dl><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1649 <dt>Returns:</dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1650 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1651 logical line (string)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1652 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1653 </dl><a NAME="IndentationWrapper.pep8Expected" ID="IndentationWrapper.pep8Expected"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1654 <h4>IndentationWrapper.pep8Expected</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1655 <b>pep8Expected</b>(<i></i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1656 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1657 Public method to replicate logic in pep8.py, to know what level to
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1658 indent things to.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1659 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1660 <dt>Returns:</dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1661 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1662 list of lists, where each list represents valid indent levels
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1663 for the line in question, relative from the initial indent. However,
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1664 the first entry is the indent level which was expected.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1665 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1666 </dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1667 <div align="right"><a href="#top">Up</a></div>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1668 <hr /><hr />
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1669 <a NAME="LineShortener" ID="LineShortener"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1670 <h2>LineShortener</h2>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1671 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1672 Class used to shorten lines to a given maximum of characters.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1673 </p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1674 <h3>Derived from</h3>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1675 object
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1676 <h3>Class Attributes</h3>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1677 <table>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1678 <tr><td>None</td></tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1679 </table>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1680 <h3>Class Methods</h3>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1681 <table>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1682 <tr><td>None</td></tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1683 </table>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1684 <h3>Methods</h3>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1685 <table>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1686 <tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1687 <td><a href="#LineShortener.__init__">LineShortener</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1688 <td>Constructor</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1689 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1690 <td><a href="#LineShortener.__breakMultiline">__breakMultiline</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1691 <td>Private method to break multi line strings.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1692 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1693 <td><a href="#LineShortener.__checkSyntax">__checkSyntax</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1694 <td>Private method to check the syntax of the given code fragment.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1695 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1696 <td><a href="#LineShortener.__countUnbalancedBrackets">__countUnbalancedBrackets</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1697 <td>Private method to determine the number of unmatched open/close brackets.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1698 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1699 <td><a href="#LineShortener.__getIndent">__getIndent</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1700 <td>Private method to get the indentation string.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1701 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1702 <td><a href="#LineShortener.__isProbablyInsideStringOrComment">__isProbablyInsideStringOrComment</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1703 <td>Private method to check, if the given string might be inside a string or comment.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1704 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1705 <td><a href="#LineShortener.__lineShorteningRank">__lineShorteningRank</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1706 <td>Private method to rank a candidate.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1707 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1708 <td><a href="#LineShortener.__normalizeMultiline">__normalizeMultiline</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1709 <td>Private method to remove multiline-related code that will cause syntax error.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1710 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1711 <td><a href="#LineShortener.__shortenComment">__shortenComment</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1712 <td>Private method to shorten a comment line.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1713 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1714 <td><a href="#LineShortener.__shortenLine">__shortenLine</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1715 <td>Private method to shorten a line of code at an operator.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1716 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1717 <td><a href="#LineShortener.shorten">shorten</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1718 <td>Public method to shorten the line wrapped by the class instance.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1719 </tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1720 </table>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1721 <h3>Static Methods</h3>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1722 <table>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1723 <tr><td>None</td></tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1724 </table>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1725 <a NAME="LineShortener.__init__" ID="LineShortener.__init__"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1726 <h4>LineShortener (Constructor)</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1727 <b>LineShortener</b>(<i>curLine, prevLine, nextLine, maxLength=79, eol="\n", indentWord=" ", isDocString=False</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1728 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1729 Constructor
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1730 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1731 <dt><i>curLine</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1732 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1733 text to work on (string)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1734 </dd><dt><i>prevLine</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1735 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1736 line before the text to work on (string)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1737 </dd><dt><i>nextLine</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1738 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1739 line after the text to work on (string)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1740 </dd><dt><i>maxLength=</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1741 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1742 maximum allowed line length (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1743 </dd><dt><i>eol=</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1744 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1745 eond-of-line marker (string)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1746 </dd><dt><i>indentWord=</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1747 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1748 string used for indentation (string)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1749 </dd><dt><i>isDocString=</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1750 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1751 flag indicating that the line belongs to
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1752 a documentation string (boolean)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1753 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1754 </dl><a NAME="LineShortener.__breakMultiline" ID="LineShortener.__breakMultiline"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1755 <h4>LineShortener.__breakMultiline</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1756 <b>__breakMultiline</b>(<i></i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1757 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1758 Private method to break multi line strings.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1759 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1760 <dt>Returns:</dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1761 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1762 tuple of the shortened line and the changed next line
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1763 (string, string)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1764 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1765 </dl><a NAME="LineShortener.__checkSyntax" ID="LineShortener.__checkSyntax"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1766 <h4>LineShortener.__checkSyntax</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1767 <b>__checkSyntax</b>(<i>code</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1768 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1769 Private method to check the syntax of the given code fragment.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1770 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1771 <dt><i>code</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1772 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1773 code fragment to check (string)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1774 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1775 </dl><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1776 <dt>Returns:</dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1777 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1778 flag indicating syntax is ok (boolean)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1779 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1780 </dl><a NAME="LineShortener.__countUnbalancedBrackets" ID="LineShortener.__countUnbalancedBrackets"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1781 <h4>LineShortener.__countUnbalancedBrackets</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1782 <b>__countUnbalancedBrackets</b>(<i>line</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1783 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1784 Private method to determine the number of unmatched open/close
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1785 brackets.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1786 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1787 <dt><i>line</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1788 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1789 line to work at (string)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1790 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1791 </dl><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1792 <dt>Returns:</dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1793 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1794 number of unmatched open/close brackets (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1795 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1796 </dl><a NAME="LineShortener.__getIndent" ID="LineShortener.__getIndent"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1797 <h4>LineShortener.__getIndent</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1798 <b>__getIndent</b>(<i>line</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1799 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1800 Private method to get the indentation string.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1801 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1802 <dt><i>line</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1803 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1804 line to determine the indentation string from (string)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1805 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1806 </dl><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1807 <dt>Returns:</dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1808 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1809 indentation string (string)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1810 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1811 </dl><a NAME="LineShortener.__isProbablyInsideStringOrComment" ID="LineShortener.__isProbablyInsideStringOrComment"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1812 <h4>LineShortener.__isProbablyInsideStringOrComment</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1813 <b>__isProbablyInsideStringOrComment</b>(<i>line, index</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1814 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1815 Private method to check, if the given string might be inside a string
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1816 or comment.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1817 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1818 <dt><i>line</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1819 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1820 line to check (string)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1821 </dd><dt><i>index</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1822 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1823 position inside line to check (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1824 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1825 </dl><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1826 <dt>Returns:</dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1827 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1828 flag indicating the possibility of being inside a string
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1829 or comment
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1830 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1831 </dl><a NAME="LineShortener.__lineShorteningRank" ID="LineShortener.__lineShorteningRank"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1832 <h4>LineShortener.__lineShorteningRank</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1833 <b>__lineShorteningRank</b>(<i>candidate</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1834 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1835 Private method to rank a candidate.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1836 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1837 <dt><i>candidate</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1838 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1839 candidate line to rank (string)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1840 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1841 </dl><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1842 <dt>Returns:</dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1843 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1844 rank of the candidate (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1845 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1846 </dl><a NAME="LineShortener.__normalizeMultiline" ID="LineShortener.__normalizeMultiline"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1847 <h4>LineShortener.__normalizeMultiline</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1848 <b>__normalizeMultiline</b>(<i>text</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1849 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1850 Private method to remove multiline-related code that will cause syntax
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1851 error.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1852 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1853 <dt><i>text</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1854 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1855 code line to work on (string)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1856 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1857 </dl><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1858 <dt>Returns:</dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1859 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1860 normalized code line (string)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1861 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1862 </dl><a NAME="LineShortener.__shortenComment" ID="LineShortener.__shortenComment"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1863 <h4>LineShortener.__shortenComment</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1864 <b>__shortenComment</b>(<i>isLast</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1865 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1866 Private method to shorten a comment line.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1867 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1868 <dt><i>isLast</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1869 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1870 flag indicating, that the line is the last comment line
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1871 (boolean)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1872 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1873 </dl><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1874 <dt>Returns:</dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1875 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1876 shortened comment line (string)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1877 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1878 </dl><a NAME="LineShortener.__shortenLine" ID="LineShortener.__shortenLine"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1879 <h4>LineShortener.__shortenLine</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1880 <b>__shortenLine</b>(<i>tokens, source, indent</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1881 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1882 Private method to shorten a line of code at an operator.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1883 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1884 <dt><i>tokens</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1885 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1886 tokens of the line as generated by tokenize
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1887 (list of token)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1888 </dd><dt><i>source</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1889 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1890 code string to work at (string)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1891 </dd><dt><i>indent</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1892 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1893 indentation string of the code line (string)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1894 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1895 </dl><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1896 <dt>Returns:</dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1897 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1898 list of candidates (list of string)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1899 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1900 </dl><a NAME="LineShortener.shorten" ID="LineShortener.shorten"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1901 <h4>LineShortener.shorten</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1902 <b>shorten</b>(<i></i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1903 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1904 Public method to shorten the line wrapped by the class instance.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1905 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1906 <dt>Returns:</dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1907 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1908 tuple of a flag indicating successful shortening, the
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1909 shortened line and the changed next line (boolean, string, string)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1910 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1911 </dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1912 <div align="right"><a href="#top">Up</a></div>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1913 <hr /><hr />
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1914 <a NAME="Reindenter" ID="Reindenter"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1915 <h2>Reindenter</h2>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1916 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1917 Class to reindent badly-indented code to uniformly use four-space
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1918 indentation.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1919 </p><p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1920 Released to the public domain, by Tim Peters, 03 October 2000.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1921 </p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1922 <h3>Derived from</h3>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1923 object
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1924 <h3>Class Attributes</h3>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1925 <table>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1926 <tr><td>None</td></tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1927 </table>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1928 <h3>Class Methods</h3>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1929 <table>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1930 <tr><td>None</td></tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1931 </table>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1932 <h3>Methods</h3>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1933 <table>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1934 <tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1935 <td><a href="#Reindenter.__init__">Reindenter</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1936 <td>Constructor</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1937 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1938 <td><a href="#Reindenter.__genStats">__genStats</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1939 <td>Private method to generate the re-indent statistics.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1940 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1941 <td><a href="#Reindenter.__getlspace">__getlspace</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1942 <td>Private method to count number of leading blanks.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1943 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1944 <td><a href="#Reindenter.fixedLine">fixedLine</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1945 <td>Public method to get a fixed line.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1946 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1947 <td><a href="#Reindenter.getline">getline</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1948 <td>Public method to get a line of text for tokenize.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1949 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1950 <td><a href="#Reindenter.run">run</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1951 <td>Public method to run the re-indenter.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1952 </tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1953 </table>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1954 <h3>Static Methods</h3>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1955 <table>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1956 <tr><td>None</td></tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1957 </table>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1958 <a NAME="Reindenter.__init__" ID="Reindenter.__init__"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1959 <h4>Reindenter (Constructor)</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1960 <b>Reindenter</b>(<i>sourceLines</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1961 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1962 Constructor
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1963 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1964 <dt><i>sourceLines</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1965 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1966 list of source lines including eol marker
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1967 (list of string)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1968 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1969 </dl><a NAME="Reindenter.__genStats" ID="Reindenter.__genStats"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1970 <h4>Reindenter.__genStats</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1971 <b>__genStats</b>(<i>tokens</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1972 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1973 Private method to generate the re-indent statistics.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1974 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1975 <dt><i>tokens</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1976 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1977 tokens generator (tokenize._tokenize)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1978 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1979 </dl><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1980 <dt>Returns:</dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1981 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1982 reference to the generated statistics
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1983 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1984 </dl><a NAME="Reindenter.__getlspace" ID="Reindenter.__getlspace"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1985 <h4>Reindenter.__getlspace</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1986 <b>__getlspace</b>(<i>line</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1987 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1988 Private method to count number of leading blanks.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1989 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1990 <dt><i>line</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1991 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1992 line to check (string)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1993 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1994 </dl><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1995 <dt>Returns:</dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1996 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1997 number of leading blanks (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1998 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1999 </dl><a NAME="Reindenter.fixedLine" ID="Reindenter.fixedLine"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
2000 <h4>Reindenter.fixedLine</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
2001 <b>fixedLine</b>(<i>line</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
2002 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
2003 Public method to get a fixed line.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
2004 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
2005 <dt><i>line</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
2006 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
2007 number of the line to retrieve (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
2008 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
2009 </dl><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
2010 <dt>Returns:</dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
2011 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
2012 fixed line (string)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
2013 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
2014 </dl><a NAME="Reindenter.getline" ID="Reindenter.getline"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
2015 <h4>Reindenter.getline</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
2016 <b>getline</b>(<i></i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
2017 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
2018 Public method to get a line of text for tokenize.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
2019 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
2020 <dt>Returns:</dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
2021 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
2022 line of text (string)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
2023 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
2024 </dl><a NAME="Reindenter.run" ID="Reindenter.run"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
2025 <h4>Reindenter.run</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
2026 <b>run</b>(<i></i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
2027 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
2028 Public method to run the re-indenter.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
2029 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
2030 <dt>Returns:</dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
2031 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
2032 flag indicating that a change was done (boolean)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
2033 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
2034 </dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
2035 <div align="right"><a href="#top">Up</a></div>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
2036 <hr />
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
2037 </body></html>

eric ide

mercurial