Fri, 04 Oct 2013 17:48:17 +0200
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
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> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
28 | <tr><td>FixableCodeStyleIssues</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
|
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> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
57 | QObject |
177b1858245f
Finished changing the names 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.__fixD121">__fixD121</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 single line docstring on multiple 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
|
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.__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
|
88 | <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
|
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.__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
|
91 | <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
|
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.__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
|
94 | <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
|
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.__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
|
97 | <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
|
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.__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
|
100 | <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
|
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.__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
|
103 | <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
|
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.__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
|
106 | <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
|
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.__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
|
109 | <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
|
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.__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
|
112 | <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
|
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.__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
|
115 | <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
|
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.__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
|
118 | <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
|
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.__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
|
121 | <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
|
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.__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
|
124 | <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
|
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.__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
|
127 | <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
|
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.__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
|
130 | <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
|
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.__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
|
133 | <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
|
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.__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
|
136 | <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
|
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.__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
|
139 | <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
|
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.__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
|
142 | <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
|
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.__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
|
145 | <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
|
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.__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
|
148 | <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
|
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.__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
|
151 | <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
|
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.__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
|
154 | <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
|
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.__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
|
157 | <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
|
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.__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
|
160 | <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
|
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.__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
|
163 | <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
|
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.__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
|
166 | <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
|
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.__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
|
169 | <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
|
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.__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
|
172 | <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
|
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.__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
|
175 | <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
|
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.__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
|
178 | <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
|
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.__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
|
181 | <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
|
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.__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
|
184 | <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
|
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.__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
|
187 | <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
|
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.__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
|
190 | <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
|
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.__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
|
193 | <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
|
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.__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
|
196 | <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
|
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.__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
|
199 | <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
|
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.__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
|
202 | <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
|
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.__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
|
205 | <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
|
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.__getEol">__getEol</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 applicable eol 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.__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
|
211 | <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
|
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.__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
|
214 | <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
|
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.__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
|
217 | <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
|
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.__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
|
220 | <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
|
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.__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
|
223 | <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
|
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.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
|
226 | <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
|
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.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
|
229 | <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
|
230 | </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
|
231 | <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
|
232 | <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
|
233 | </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
|
234 | <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
|
235 | <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
|
236 | </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
|
237 | </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
|
238 | <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
|
239 | <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
|
240 | <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
|
241 | </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
|
242 | <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
|
243 | <h4>CodeStyleFixer (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
|
244 | <b>CodeStyleFixer</b>(<i>project, filename, sourceLines, fixCodes, noFixCodes, maxLineLength, inPlace</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
|
245 | <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
|
246 | 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
|
247 | </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
|
248 | <dt><i>project</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
|
249 | <dd> |
177b1858245f
Finished changing the names 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 | reference to the project object (Project) |
177b1858245f
Finished changing the names 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 | </dd><dt><i>filename</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
|
252 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
254 | </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
|
255 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
257 | (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
|
258 | </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
|
259 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
261 | 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
|
262 | </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
|
263 | <dd> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
264 | 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
|
265 | 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
|
266 | </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
|
267 | <dd> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
268 | 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
|
269 | </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
|
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 | flag indicating to modify the file in place (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
|
272 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
274 | <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
|
275 | <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
|
276 | <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
|
277 | 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
|
278 | </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
|
279 | <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
|
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 | 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
|
282 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
284 | <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
|
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 | 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
|
287 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
289 | <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
|
290 | <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
|
291 | <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
|
292 | 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
|
293 | 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
|
294 | </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
|
295 | <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
|
296 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
298 | 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
|
299 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
301 | <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
|
302 | <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
|
303 | <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 | 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
|
305 | </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
|
306 | 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
|
307 | </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
|
308 | <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
|
309 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
311 | </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
|
312 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
314 | </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
|
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 | 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
|
317 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
319 | <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
|
320 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
322 | 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
|
323 | 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
|
324 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
326 | <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
|
327 | <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
|
328 | <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 | 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
|
330 | </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
|
331 | 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
|
332 | </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
|
333 | <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
|
334 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
336 | </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
|
337 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
339 | </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
|
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 | 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
|
342 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
344 | <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
|
345 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
347 | 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
|
348 | 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
|
349 | </dd> |
177b1858245f
Finished changing the names 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 | </dl><a NAME="CodeStyleFixer.__fixD121" ID="CodeStyleFixer.__fixD121"></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
|
351 | <h4>CodeStyleFixer.__fixD121</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
|
352 | <b>__fixD121</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
|
353 | <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
|
354 | Private method to fix a single line docstring on multiple 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
|
355 | </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
|
356 | Codes: D121 |
177b1858245f
Finished changing the names 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 | </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
|
358 | <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
|
359 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
361 | </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
|
362 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
364 | </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
|
365 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
367 | </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
|
368 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
370 | (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
|
371 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
373 | <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
|
374 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
376 | 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
|
377 | 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
|
378 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
380 | <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
|
381 | <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
|
382 | <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
|
383 | 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
|
384 | 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
|
385 | </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
|
386 | 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
|
387 | </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
|
388 | <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
|
389 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
391 | </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
|
392 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
394 | </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
|
395 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
397 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
399 | <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
|
400 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
402 | 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
|
403 | 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
|
404 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
406 | <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
|
407 | <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
|
408 | <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
|
409 | 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
|
410 | 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
|
411 | </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
|
412 | 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
|
413 | </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
|
414 | <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
|
415 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
417 | </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
|
418 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
420 | </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
|
421 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
423 | </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
|
424 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
426 | (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
|
427 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
429 | <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
|
430 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
432 | 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
|
433 | 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
|
434 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
436 | <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
|
437 | <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
|
438 | <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
|
439 | 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
|
440 | 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
|
441 | </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
|
442 | 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
|
443 | </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
|
444 | <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
|
445 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
447 | </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
|
448 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
450 | </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
|
451 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
453 | </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
|
454 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
456 | (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
|
457 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
459 | <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
|
460 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
462 | 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
|
463 | 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
|
464 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
466 | <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
|
467 | <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
|
468 | <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
|
469 | 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
|
470 | 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
|
471 | </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
|
472 | 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
|
473 | </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
|
474 | <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
|
475 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
477 | </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
|
478 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
480 | </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
|
481 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
483 | </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
|
484 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
486 | (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
|
487 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
489 | <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
|
490 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
492 | 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
|
493 | 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
|
494 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
496 | <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
|
497 | <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
|
498 | <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
|
499 | 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
|
500 | 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
|
501 | </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
|
502 | 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
|
503 | </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
|
504 | <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
|
505 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
507 | </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
|
508 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
510 | </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
|
511 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
513 | </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
|
514 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
516 | (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
|
517 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
519 | <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
|
520 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
522 | 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
|
523 | 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
|
524 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
526 | <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
|
527 | <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
|
528 | <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
|
529 | 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
|
530 | 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
|
531 | </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
|
532 | 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
|
533 | </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
|
534 | <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
|
535 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
537 | </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
|
538 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
540 | </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
|
541 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
543 | </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
|
544 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
546 | (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
|
547 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
549 | <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
|
550 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
552 | 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
|
553 | 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
|
554 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
556 | <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
|
557 | <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
|
558 | <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
|
559 | 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
|
560 | 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
|
561 | </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
|
562 | 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
|
563 | </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
|
564 | <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
|
565 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
567 | </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
|
568 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
570 | </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
|
571 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
573 | </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
|
574 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
576 | (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
|
577 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
579 | <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
|
580 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
582 | 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
|
583 | 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
|
584 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
586 | <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
|
587 | <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
|
588 | <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
|
589 | 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
|
590 | 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
|
591 | </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
|
592 | 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
|
593 | </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
|
594 | <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
|
595 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
597 | </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
|
598 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
600 | </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
|
601 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
603 | </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
|
604 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
606 | (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
|
607 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
609 | <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
|
610 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
612 | 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
|
613 | 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
|
614 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
616 | <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
|
617 | <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
|
618 | <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
|
619 | 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
|
620 | 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
|
621 | </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
|
622 | 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
|
623 | </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
|
624 | <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
|
625 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
627 | </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
|
628 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
630 | </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
|
631 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
633 | </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
|
634 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
636 | (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
|
637 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
639 | <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
|
640 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
642 | 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
|
643 | 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
|
644 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
646 | <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
|
647 | <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
|
648 | <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
|
649 | 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
|
650 | 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
|
651 | </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
|
652 | 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
|
653 | </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
|
654 | <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
|
655 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
657 | </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
|
658 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
660 | </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
|
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 | 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
|
663 | </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
|
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 | 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
|
666 | (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
|
667 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
669 | <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
|
670 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
672 | 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
|
673 | 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
|
674 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
676 | <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
|
677 | <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
|
678 | <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
|
679 | 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
|
680 | </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
|
681 | 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
|
682 | </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
|
683 | <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
|
684 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
686 | </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
|
687 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
689 | </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
|
690 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
692 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
694 | <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
|
695 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
697 | 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
|
698 | 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
|
699 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
701 | <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
|
702 | <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
|
703 | <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
|
704 | 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
|
705 | 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
|
706 | </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
|
707 | 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
|
708 | </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
|
709 | <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
|
710 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
712 | </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
|
713 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
715 | </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
|
716 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
718 | </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
|
719 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
721 | (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
|
722 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
724 | <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
|
725 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
727 | 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
|
728 | 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
|
729 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
731 | <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
|
732 | <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
|
733 | <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 | 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
|
735 | </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
|
736 | 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
|
737 | </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
|
738 | <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
|
739 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
741 | </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
|
742 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
744 | </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
|
745 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
747 | </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
|
748 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
750 | (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
|
751 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
753 | <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
|
754 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
756 | 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
|
757 | 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
|
758 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
760 | <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
|
761 | <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
|
762 | <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
|
763 | 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
|
764 | </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
|
765 | 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
|
766 | </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
|
767 | <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
|
768 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
770 | </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
|
771 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
773 | </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
|
774 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
776 | </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
|
777 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
779 | (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
|
780 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
782 | <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
|
783 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
785 | 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
|
786 | 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
|
787 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
789 | <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
|
790 | <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
|
791 | <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
|
792 | 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
|
793 | 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
|
794 | </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
|
795 | 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
|
796 | </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
|
797 | <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
|
798 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
800 | </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
|
801 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
803 | </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
|
804 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
806 | </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
|
807 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
809 | (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
|
810 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
812 | <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
|
813 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
815 | 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
|
816 | 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
|
817 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
819 | <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
|
820 | <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
|
821 | <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
|
822 | 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
|
823 | 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
|
824 | </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
|
825 | 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
|
826 | </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
|
827 | <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
|
828 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
830 | </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
|
831 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
833 | </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
|
834 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
836 | </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
|
837 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
839 | (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
|
840 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
842 | <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
|
843 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
845 | 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
|
846 | 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
|
847 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
849 | <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
|
850 | <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
|
851 | <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 | 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
|
853 | </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
|
854 | 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
|
855 | </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
|
856 | <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
|
857 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
859 | </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
|
860 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
862 | </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
|
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 | 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
|
865 | </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
|
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 | 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
|
868 | (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
|
869 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
871 | <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
|
872 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
874 | 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
|
875 | 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
|
876 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
878 | <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
|
879 | <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
|
880 | <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
|
881 | 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
|
882 | </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
|
883 | 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
|
884 | </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
|
885 | <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
|
886 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
888 | </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
|
889 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
891 | </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
|
892 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
894 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
896 | <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
|
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 | 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
|
899 | 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
|
900 | 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
|
901 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
903 | <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
|
904 | <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
|
905 | <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
|
906 | 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
|
907 | 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
|
908 | </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
|
909 | 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
|
910 | 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
|
911 | </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
|
912 | <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
|
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 | 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
|
915 | </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
|
916 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
918 | </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
|
919 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
921 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
923 | <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
|
924 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
926 | 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
|
927 | 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
|
928 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
930 | <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
|
931 | <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
|
932 | <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
|
933 | 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
|
934 | </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
|
935 | 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
|
936 | </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
|
937 | <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
|
938 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
940 | </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
|
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 | 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
|
943 | </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
|
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 | 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
|
946 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
948 | <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
|
949 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
951 | 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
|
952 | 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
|
953 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
955 | <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
|
956 | <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
|
957 | <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
|
958 | 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
|
959 | 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
|
960 | </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
|
961 | 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
|
962 | </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
|
963 | <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
|
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 | 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
|
966 | </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
|
967 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
969 | </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
|
970 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
972 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
974 | <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
|
975 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
977 | 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
|
978 | 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
|
979 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
981 | <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
|
982 | <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
|
983 | <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
|
984 | 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
|
985 | </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
|
986 | 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
|
987 | </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
|
988 | <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
|
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 | 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
|
991 | </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
|
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 | 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
|
994 | </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
|
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 | 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
|
997 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
999 | <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
|
1000 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1002 | 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
|
1003 | 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
|
1004 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1006 | <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
|
1007 | <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
|
1008 | <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 | 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
|
1010 | </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
|
1011 | 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
|
1012 | </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
|
1013 | <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
|
1014 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1016 | </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
|
1017 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1019 | </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
|
1020 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1022 | </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
|
1023 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1025 | (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
|
1026 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1028 | <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
|
1029 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1031 | 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
|
1032 | 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
|
1033 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1035 | <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
|
1036 | <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
|
1037 | <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 | 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
|
1039 | </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
|
1040 | 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
|
1041 | </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
|
1042 | <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
|
1043 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1045 | </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
|
1046 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1048 | </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
|
1049 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1051 | </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
|
1052 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1054 | (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
|
1055 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1057 | <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
|
1058 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1060 | 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
|
1061 | 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
|
1062 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1064 | <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
|
1065 | <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
|
1066 | <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
|
1067 | 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
|
1068 | </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
|
1069 | 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
|
1070 | </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
|
1071 | <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
|
1072 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1074 | </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
|
1075 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1077 | </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
|
1078 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1080 | </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
|
1081 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1083 | (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
|
1084 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1086 | <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
|
1087 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1089 | 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
|
1090 | 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
|
1091 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1093 | <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
|
1094 | <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
|
1095 | <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
|
1096 | 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
|
1097 | 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
|
1098 | </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
|
1099 | 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
|
1100 | </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
|
1101 | <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
|
1102 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1104 | </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
|
1105 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1107 | </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
|
1108 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1110 | </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
|
1111 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1113 | (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
|
1114 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1116 | <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
|
1117 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1119 | 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
|
1120 | 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
|
1121 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1123 | <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
|
1124 | <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
|
1125 | <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 | 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
|
1127 | </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
|
1128 | 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
|
1129 | </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
|
1130 | <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
|
1131 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1133 | </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
|
1134 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1136 | </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
|
1137 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1139 | </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
|
1140 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1142 | (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
|
1143 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1145 | <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
|
1146 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1148 | 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
|
1149 | 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
|
1150 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1152 | <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
|
1153 | <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
|
1154 | <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 | 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
|
1156 | </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
|
1157 | 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
|
1158 | </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
|
1159 | <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
|
1160 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1162 | </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
|
1163 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1165 | </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
|
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 | 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
|
1168 | </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
|
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 | 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
|
1171 | (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
|
1172 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1174 | <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
|
1175 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1177 | 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
|
1178 | 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
|
1179 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1181 | <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
|
1182 | <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
|
1183 | <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
|
1184 | 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
|
1185 | </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
|
1186 | 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
|
1187 | </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
|
1188 | <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
|
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 | 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
|
1191 | </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
|
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 | 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
|
1194 | </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
|
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 | 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
|
1197 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1199 | <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
|
1200 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1202 | 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
|
1203 | 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
|
1204 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1206 | <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
|
1207 | <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
|
1208 | <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 | 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
|
1210 | </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
|
1211 | 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
|
1212 | </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
|
1213 | <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
|
1214 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1216 | </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
|
1217 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1219 | </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
|
1220 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1222 | </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
|
1223 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1225 | (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
|
1226 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1228 | <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
|
1229 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1231 | 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
|
1232 | 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
|
1233 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1235 | <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
|
1236 | <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
|
1237 | <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 | 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
|
1239 | </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
|
1240 | 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
|
1241 | </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
|
1242 | <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
|
1243 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1245 | </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
|
1246 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1248 | </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
|
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 | 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
|
1251 | </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
|
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 | 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
|
1254 | (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
|
1255 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1257 | <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
|
1258 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1260 | 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
|
1261 | 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
|
1262 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1264 | <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
|
1265 | <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
|
1266 | <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
|
1267 | 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
|
1268 | </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
|
1269 | 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
|
1270 | </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
|
1271 | <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
|
1272 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1274 | </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
|
1275 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1277 | </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
|
1278 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1280 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1282 | <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
|
1283 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1285 | 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
|
1286 | 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
|
1287 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1289 | <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
|
1290 | <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
|
1291 | <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
|
1292 | 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
|
1293 | 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
|
1294 | </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
|
1295 | 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
|
1296 | </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
|
1297 | <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
|
1298 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1300 | </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
|
1301 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1303 | </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
|
1304 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1306 | </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
|
1307 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1309 | (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
|
1310 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1312 | <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
|
1313 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1315 | 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
|
1316 | 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
|
1317 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1319 | <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
|
1320 | <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
|
1321 | <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 | 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
|
1323 | </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
|
1324 | 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
|
1325 | </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
|
1326 | <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
|
1327 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1329 | </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
|
1330 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1332 | </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
|
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 | 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
|
1335 | </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
|
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, 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
|
1338 | (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
|
1339 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1341 | <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
|
1342 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1344 | 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
|
1345 | 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
|
1346 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1348 | <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
|
1349 | <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
|
1350 | <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
|
1351 | 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
|
1352 | </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
|
1353 | 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
|
1354 | </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
|
1355 | <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
|
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 | 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
|
1358 | </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
|
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 | 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
|
1361 | </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
|
1362 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1364 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1366 | <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
|
1367 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1369 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1371 | <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
|
1372 | <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
|
1373 | <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
|
1374 | 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
|
1375 | </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
|
1376 | 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
|
1377 | </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
|
1378 | <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
|
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 | 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
|
1381 | </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
|
1382 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1384 | </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
|
1385 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1387 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1389 | <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
|
1390 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1392 | 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
|
1393 | 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
|
1394 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1396 | <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
|
1397 | <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
|
1398 | <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
|
1399 | 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
|
1400 | </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
|
1401 | 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
|
1402 | </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
|
1403 | <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
|
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 | 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
|
1406 | </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
|
1407 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1409 | </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
|
1410 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1412 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1414 | <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
|
1415 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1417 | 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
|
1418 | 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
|
1419 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1421 | <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
|
1422 | <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
|
1423 | <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
|
1424 | 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
|
1425 | </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
|
1426 | 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
|
1427 | </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
|
1428 | <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
|
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 | 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
|
1431 | </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
|
1432 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1434 | </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
|
1435 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1437 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1439 | <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
|
1440 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1442 | 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
|
1443 | 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
|
1444 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1446 | <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
|
1447 | <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
|
1448 | <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
|
1449 | 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
|
1450 | </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
|
1451 | 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
|
1452 | </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
|
1453 | <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
|
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 | 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
|
1456 | </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
|
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 | 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
|
1459 | </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
|
1460 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1462 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1464 | <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
|
1465 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1467 | 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
|
1468 | 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.__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
|
1471 | <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
|
1472 | <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
|
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 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
|
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 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
|
1479 | </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
|
1480 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1482 | </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
|
1483 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1485 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1487 | <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
|
1488 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1490 | </dd> |
177b1858245f
Finished changing the names 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 | </dl><a NAME="CodeStyleFixer.__getEol" ID="CodeStyleFixer.__getEol"></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
|
1492 | <h4>CodeStyleFixer.__getEol</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
|
1493 | <b>__getEol</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
|
1494 | <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
|
1495 | Private method to get the applicable eol 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
|
1496 | </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
|
1497 | <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
|
1498 | <dd> |
177b1858245f
Finished changing the names 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 | eol 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
|
1500 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1502 | <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
|
1503 | <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
|
1504 | <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
|
1505 | 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
|
1506 | </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
|
1507 | <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
|
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 | 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
|
1510 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1512 | <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
|
1513 | <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
|
1514 | <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
|
1515 | 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
|
1516 | </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
|
1517 | <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
|
1518 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1520 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1522 | <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
|
1523 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
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 | </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
|
1527 | <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
|
1528 | <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
|
1529 | <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
|
1530 | 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
|
1531 | </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
|
1532 | <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
|
1533 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1535 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1537 | <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
|
1538 | <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
|
1539 | <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
|
1540 | 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
|
1541 | 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
|
1542 | </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
|
1543 | <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
|
1544 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1546 | </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
|
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 | 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
|
1549 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1551 | <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
|
1552 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1554 | 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
|
1555 | 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
|
1556 | 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
|
1557 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1559 | <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
|
1560 | <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
|
1561 | <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
|
1562 | 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
|
1563 | 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
|
1564 | </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
|
1565 | <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
|
1566 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1568 | 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
|
1569 | 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
|
1570 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1572 | <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
|
1573 | <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
|
1574 | <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
|
1575 | 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
|
1576 | </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
|
1577 | <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
|
1578 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1580 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1582 | <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
|
1583 | <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
|
1584 | <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
|
1585 | 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
|
1586 | </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
|
1587 | <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
|
1588 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1590 | </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
|
1591 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1593 | </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
|
1594 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1596 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1598 | <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
|
1599 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1601 | 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
|
1602 | 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
|
1603 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1605 | <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
|
1606 | <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
|
1607 | <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
|
1608 | 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
|
1609 | 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
|
1610 | </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
|
1611 | <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
|
1612 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1614 | (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
|
1615 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1617 | <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
|
1618 | <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
|
1619 | <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
|
1620 | 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
|
1621 | </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
|
1622 | <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
|
1623 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1625 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1627 | <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
|
1628 | <dd> |
177b1858245f
Finished changing the names 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 | flag indicating success (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
|
1630 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1632 | <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
|
1633 | <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
|
1634 | <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
|
1635 | <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
|
1636 | <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
|
1637 | 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
|
1638 | </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
|
1639 | 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
|
1640 | </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
|
1641 | <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
|
1642 | 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
|
1643 | <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
|
1644 | <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
|
1645 | <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
|
1646 | </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
|
1647 | <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
|
1648 | <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
|
1649 | <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
|
1650 | </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
|
1651 | <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
|
1652 | <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
|
1653 | <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
|
1654 | <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
|
1655 | <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
|
1656 | </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
|
1657 | <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
|
1658 | <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
|
1659 | </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
|
1660 | <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
|
1661 | <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
|
1662 | </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
|
1663 | </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
|
1664 | <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
|
1665 | <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
|
1666 | <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
|
1667 | </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
|
1668 | <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
|
1669 | <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
|
1670 | <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
|
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 | 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
|
1673 | </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
|
1674 | <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
|
1675 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1677 | (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
|
1678 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1680 | <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
|
1681 | <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
|
1682 | <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
|
1683 | 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
|
1684 | </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
|
1685 | <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
|
1686 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1688 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1690 | <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
|
1691 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1693 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1695 | <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
|
1696 | <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
|
1697 | <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
|
1698 | 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
|
1699 | 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
|
1700 | </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
|
1701 | <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
|
1702 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1704 | 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
|
1705 | 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
|
1706 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1708 | <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
|
1709 | <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
|
1710 | <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
|
1711 | <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
|
1712 | <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
|
1713 | 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
|
1714 | </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
|
1715 | <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
|
1716 | 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
|
1717 | <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
|
1718 | <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
|
1719 | <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
|
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>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
|
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 | <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
|
1726 | <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
|
1727 | <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
|
1728 | <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
|
1729 | <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
|
1730 | </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
|
1731 | <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
|
1732 | <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
|
1733 | </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
|
1734 | <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
|
1735 | <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
|
1736 | </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
|
1737 | <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
|
1738 | <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
|
1739 | </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
|
1740 | <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
|
1741 | <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
|
1742 | </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
|
1743 | <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
|
1744 | <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
|
1745 | </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
|
1746 | <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
|
1747 | <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
|
1748 | </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
|
1749 | <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
|
1750 | <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
|
1751 | </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
|
1752 | <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
|
1753 | <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
|
1754 | </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
|
1755 | <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
|
1756 | <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
|
1757 | </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
|
1758 | <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
|
1759 | <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
|
1760 | </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
|
1761 | </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
|
1762 | <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
|
1763 | <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
|
1764 | <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
|
1765 | </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
|
1766 | <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
|
1767 | <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
|
1768 | <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
|
1769 | <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
|
1770 | 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
|
1771 | </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
|
1772 | <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
|
1773 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1775 | </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
|
1776 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1778 | </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
|
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 | 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
|
1781 | </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
|
1782 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1784 | </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
|
1785 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1787 | </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
|
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 | 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
|
1790 | </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
|
1791 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1793 | 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
|
1794 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1796 | <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
|
1797 | <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
|
1798 | <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
|
1799 | 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
|
1800 | </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
|
1801 | <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
|
1802 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1804 | (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
|
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><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
|
1807 | <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
|
1808 | <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
|
1809 | <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
|
1810 | 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
|
1811 | </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
|
1812 | <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
|
1813 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1815 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1817 | <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
|
1818 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1820 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1822 | <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
|
1823 | <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
|
1824 | <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
|
1825 | 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
|
1826 | 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
|
1827 | </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
|
1828 | <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
|
1829 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1831 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1833 | <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
|
1834 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1836 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1838 | <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
|
1839 | <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
|
1840 | <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
|
1841 | 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
|
1842 | </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
|
1843 | <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
|
1844 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1846 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1848 | <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
|
1849 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1851 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1853 | <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
|
1854 | <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
|
1855 | <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
|
1856 | 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
|
1857 | 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
|
1858 | </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
|
1859 | <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
|
1860 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1862 | </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
|
1863 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1865 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1867 | <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
|
1868 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1870 | 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
|
1871 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1873 | <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
|
1874 | <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
|
1875 | <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
|
1876 | 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
|
1877 | </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
|
1878 | <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
|
1879 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1881 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1883 | <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
|
1884 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1886 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1888 | <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
|
1889 | <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
|
1890 | <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
|
1891 | 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
|
1892 | 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
|
1893 | </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
|
1894 | <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
|
1895 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
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 | </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
|
1899 | <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
|
1900 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1902 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1904 | <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
|
1905 | <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
|
1906 | <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
|
1907 | 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
|
1908 | </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
|
1909 | <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
|
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 | 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
|
1912 | (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
|
1913 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1915 | <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
|
1916 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1918 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1920 | <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
|
1921 | <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
|
1922 | <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
|
1923 | 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
|
1924 | </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
|
1925 | <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
|
1926 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1928 | (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
|
1929 | </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
|
1930 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1932 | </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
|
1933 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1935 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1937 | <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
|
1938 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1940 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1942 | <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
|
1943 | <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
|
1944 | <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
|
1945 | 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
|
1946 | </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
|
1947 | <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
|
1948 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1950 | 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
|
1951 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1953 | <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
|
1954 | <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
|
1955 | <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
|
1956 | <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
|
1957 | <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
|
1958 | 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
|
1959 | 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
|
1960 | </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
|
1961 | 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
|
1962 | </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
|
1963 | <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
|
1964 | 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
|
1965 | <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
|
1966 | <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
|
1967 | <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
|
1968 | </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
|
1969 | <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
|
1970 | <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
|
1971 | <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
|
1972 | </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
|
1973 | <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
|
1974 | <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
|
1975 | <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
|
1976 | <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
|
1977 | <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
|
1978 | </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
|
1979 | <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
|
1980 | <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
|
1981 | </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
|
1982 | <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
|
1983 | <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
|
1984 | </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
|
1985 | <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
|
1986 | <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
|
1987 | </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
|
1988 | <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
|
1989 | <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
|
1990 | </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
|
1991 | <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
|
1992 | <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
|
1993 | </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
|
1994 | </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
|
1995 | <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
|
1996 | <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
|
1997 | <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
|
1998 | </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
|
1999 | <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
|
2000 | <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
|
2001 | <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
|
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 | 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
|
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>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
|
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 | 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
|
2008 | (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
|
2009 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
2011 | <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
|
2012 | <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
|
2013 | <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
|
2014 | 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
|
2015 | </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
|
2016 | <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
|
2017 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
2019 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
2021 | <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
|
2022 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
2024 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
2026 | <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
|
2027 | <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
|
2028 | <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
|
2029 | 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
|
2030 | </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
|
2031 | <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
|
2032 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
2034 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
2036 | <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
|
2037 | <dd> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
2038 | 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
|
2039 | </dd> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
2040 | </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
|
2041 | <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
|
2042 | <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
|
2043 | <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
|
2044 | 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
|
2045 | </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
|
2046 | <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
|
2047 | <dd> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
2048 | 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
|
2049 | </dd> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
2050 | </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
|
2051 | <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
|
2052 | <dd> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
2053 | 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
|
2054 | </dd> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
2055 | </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
|
2056 | <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
|
2057 | <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
|
2058 | <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
|
2059 | 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
|
2060 | </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
|
2061 | <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
|
2062 | <dd> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
2063 | 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
|
2064 | </dd> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
2065 | </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
|
2066 | <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
|
2067 | <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
|
2068 | <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
|
2069 | 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
|
2070 | </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
|
2071 | <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
|
2072 | <dd> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
2073 | 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
|
2074 | </dd> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
2075 | </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
|
2076 | <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
|
2077 | <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
|
2078 | </body></html> |