Sun, 30 Mar 2014 22:00:14 +0200
Merge with BgService.
2985
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
1 | <!DOCTYPE html> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
2 | <html><head> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
3 | <title>eric5.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleFixer</title> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
4 | <meta charset="UTF-8"> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
5 | <style> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
6 | body { |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
7 | background: #EDECE6; |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
8 | margin: 0em 1em 10em 1em; |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
9 | color: black; |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
10 | } |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
11 | |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
12 | h1 { color: white; background: #85774A; } |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
13 | h2 { color: white; background: #85774A; } |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
14 | h3 { color: white; background: #9D936E; } |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
15 | h4 { color: white; background: #9D936E; } |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
16 | |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
17 | a { color: #BA6D36; } |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
18 | |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
19 | </style> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
20 | </head> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
21 | <body><a NAME="top" ID="top"></a> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
22 | <h1>eric5.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleFixer</h1> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
23 | <p> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
24 | Module implementing a class to fix certain code style issues. |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
25 | </p> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
26 | <h3>Global Attributes</h3> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
27 | <table> |
3456 | 28 | <tr><td>FixableCodeStyleIssues</td></tr> |
2985
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
29 | </table> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
30 | <h3>Classes</h3> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
31 | <table> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
32 | <tr> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
33 | <td><a href="#CodeStyleFixer">CodeStyleFixer</a></td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
34 | <td>Class implementing a fixer for certain code style issues.</td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
35 | </tr><tr> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
36 | <td><a href="#IndentationWrapper">IndentationWrapper</a></td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
37 | <td>Class used by fixers dealing with indentation.</td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
38 | </tr><tr> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
39 | <td><a href="#LineShortener">LineShortener</a></td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
40 | <td>Class used to shorten lines to a given maximum of characters.</td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
41 | </tr><tr> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
42 | <td><a href="#Reindenter">Reindenter</a></td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
43 | <td>Class to reindent badly-indented code to uniformly use four-space indentation.</td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
44 | </tr> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
45 | </table> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
46 | <h3>Functions</h3> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
47 | <table> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
48 | <tr><td>None</td></tr> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
49 | </table> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
50 | <hr /><hr /> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
51 | <a NAME="CodeStyleFixer" ID="CodeStyleFixer"></a> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
52 | <h2>CodeStyleFixer</h2> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
53 | <p> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
54 | Class implementing a fixer for certain code style issues. |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
55 | </p> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
56 | <h3>Derived from</h3> |
3209
c5432abceb25
CodeStyleChecker moved to background service and done a little cleanup.
T.Rzepka <Tobias.Rzepka@gmail.com>
parents:
2985
diff
changeset
|
57 | object |
2985
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
58 | <h3>Class Attributes</h3> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
59 | <table> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
60 | <tr><td>None</td></tr> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
61 | </table> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
62 | <h3>Class Methods</h3> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
63 | <table> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
64 | <tr><td>None</td></tr> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
65 | </table> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
66 | <h3>Methods</h3> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
67 | <table> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
68 | <tr> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
69 | <td><a href="#CodeStyleFixer.__init__">CodeStyleFixer</a></td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
70 | <td>Constructor</td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
71 | </tr><tr> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
72 | <td><a href="#CodeStyleFixer.__codeMatch">__codeMatch</a></td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
73 | <td>Private method to check, if the code should be fixed.</td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
74 | </tr><tr> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
75 | <td><a href="#CodeStyleFixer.__findLogical">__findLogical</a></td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
76 | <td>Private method to extract the index of all the starts and ends of lines.</td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
77 | </tr><tr> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
78 | <td><a href="#CodeStyleFixer.__fixD111">__fixD111</a></td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
79 | <td>Private method to fix docstring enclosed in wrong quotes.</td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
80 | </tr><tr> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
81 | <td><a href="#CodeStyleFixer.__fixD112">__fixD112</a></td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
82 | <td>Private method to fix docstring 'r' or 'u' in leading quotes.</td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
83 | </tr><tr> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
84 | <td><a href="#CodeStyleFixer.__fixD131">__fixD131</a></td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
85 | <td>Private method to fix a docstring summary not ending with a period.</td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
86 | </tr><tr> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
87 | <td><a href="#CodeStyleFixer.__fixD141">__fixD141</a></td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
88 | <td>Private method to fix a function/method docstring preceded by a blank line.</td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
89 | </tr><tr> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
90 | <td><a href="#CodeStyleFixer.__fixD142">__fixD142</a></td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
91 | <td>Private method to fix a class docstring not preceded by a blank line.</td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
92 | </tr><tr> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
93 | <td><a href="#CodeStyleFixer.__fixD143">__fixD143</a></td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
94 | <td>Private method to fix a class docstring not followed by a blank line.</td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
95 | </tr><tr> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
96 | <td><a href="#CodeStyleFixer.__fixD144">__fixD144</a></td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
97 | <td>Private method to fix a docstring summary not followed by a blank line.</td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
98 | </tr><tr> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
99 | <td><a href="#CodeStyleFixer.__fixD145">__fixD145</a></td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
100 | <td>Private method to fix the last paragraph of a multi-line docstring not followed by a blank line.</td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
101 | </tr><tr> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
102 | <td><a href="#CodeStyleFixer.__fixD221">__fixD221</a></td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
103 | <td>Private method to fix leading and trailing quotes of docstring not on separate lines.</td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
104 | </tr><tr> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
105 | <td><a href="#CodeStyleFixer.__fixD242">__fixD242</a></td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
106 | <td>Private method to fix a class or function/method docstring preceded by a blank line.</td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
107 | </tr><tr> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
108 | <td><a href="#CodeStyleFixer.__fixD243">__fixD243</a></td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
109 | <td>Private method to fix a class or function/method docstring followed by a blank line.</td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
110 | </tr><tr> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
111 | <td><a href="#CodeStyleFixer.__fixD247">__fixD247</a></td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
112 | <td>Private method to fix a last paragraph of a docstring followed by a blank line.</td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
113 | </tr><tr> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
114 | <td><a href="#CodeStyleFixer.__fixE101">__fixE101</a></td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
115 | <td>Private method to fix obsolete tab usage and indentation errors.</td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
116 | </tr><tr> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
117 | <td><a href="#CodeStyleFixer.__fixE121">__fixE121</a></td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
118 | <td>Private method to fix the indentation of continuation lines and closing brackets.</td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
119 | </tr><tr> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
120 | <td><a href="#CodeStyleFixer.__fixE122">__fixE122</a></td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
121 | <td>Private method to fix a missing indentation of continuation lines.</td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
122 | </tr><tr> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
123 | <td><a href="#CodeStyleFixer.__fixE123">__fixE123</a></td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
124 | <td>Private method to fix the indentation of a closing bracket lines.</td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
125 | </tr><tr> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
126 | <td><a href="#CodeStyleFixer.__fixE125">__fixE125</a></td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
127 | <td>Private method to fix the indentation of continuation lines not distinguishable from next logical line.</td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
128 | </tr><tr> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
129 | <td><a href="#CodeStyleFixer.__fixE126">__fixE126</a></td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
130 | <td>Private method to fix over-indented/under-indented hanging indentation.</td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
131 | </tr><tr> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
132 | <td><a href="#CodeStyleFixer.__fixE127">__fixE127</a></td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
133 | <td>Private method to fix over/under indented lines.</td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
134 | </tr><tr> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
135 | <td><a href="#CodeStyleFixer.__fixE201">__fixE201</a></td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
136 | <td>Private method to fix extraneous whitespace.</td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
137 | </tr><tr> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
138 | <td><a href="#CodeStyleFixer.__fixE221">__fixE221</a></td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
139 | <td>Private method to fix extraneous whitespace around operator or keyword.</td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
140 | </tr><tr> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
141 | <td><a href="#CodeStyleFixer.__fixE231">__fixE231</a></td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
142 | <td>Private method to fix missing whitespace after ',;:'.</td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
143 | </tr><tr> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
144 | <td><a href="#CodeStyleFixer.__fixE251">__fixE251</a></td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
145 | <td>Private method to fix extraneous whitespace around keyword and default parameter equals.</td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
146 | </tr><tr> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
147 | <td><a href="#CodeStyleFixer.__fixE261">__fixE261</a></td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
148 | <td>Private method to fix whitespace before or after inline comment.</td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
149 | </tr><tr> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
150 | <td><a href="#CodeStyleFixer.__fixE301">__fixE301</a></td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
151 | <td>Private method to fix the need for one blank line.</td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
152 | </tr><tr> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
153 | <td><a href="#CodeStyleFixer.__fixE302">__fixE302</a></td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
154 | <td>Private method to fix the need for two blank lines.</td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
155 | </tr><tr> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
156 | <td><a href="#CodeStyleFixer.__fixE303">__fixE303</a></td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
157 | <td>Private method to fix superfluous blank lines.</td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
158 | </tr><tr> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
159 | <td><a href="#CodeStyleFixer.__fixE304">__fixE304</a></td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
160 | <td>Private method to fix superfluous blank lines after a function decorator.</td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
161 | </tr><tr> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
162 | <td><a href="#CodeStyleFixer.__fixE401">__fixE401</a></td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
163 | <td>Private method to fix multiple imports on one line.</td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
164 | </tr><tr> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
165 | <td><a href="#CodeStyleFixer.__fixE501">__fixE501</a></td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
166 | <td>Private method to fix the long lines by breaking them.</td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
167 | </tr><tr> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
168 | <td><a href="#CodeStyleFixer.__fixE502">__fixE502</a></td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
169 | <td>Private method to fix redundant backslash within brackets.</td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
170 | </tr><tr> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
171 | <td><a href="#CodeStyleFixer.__fixE701">__fixE701</a></td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
172 | <td>Private method to fix colon-separated compound statements.</td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
173 | </tr><tr> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
174 | <td><a href="#CodeStyleFixer.__fixE702">__fixE702</a></td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
175 | <td>Private method to fix semicolon-separated compound statements.</td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
176 | </tr><tr> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
177 | <td><a href="#CodeStyleFixer.__fixE711">__fixE711</a></td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
178 | <td>Private method to fix comparison with None.</td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
179 | </tr><tr> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
180 | <td><a href="#CodeStyleFixer.__fixN804">__fixN804</a></td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
181 | <td>Private method to fix a wrong first argument of normal and class methods.</td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
182 | </tr><tr> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
183 | <td><a href="#CodeStyleFixer.__fixN806">__fixN806</a></td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
184 | <td>Private method to fix a wrong first argument of static methods.</td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
185 | </tr><tr> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
186 | <td><a href="#CodeStyleFixer.__fixReindent">__fixReindent</a></td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
187 | <td>Private method to fix a badly indented line.</td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
188 | </tr><tr> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
189 | <td><a href="#CodeStyleFixer.__fixW291">__fixW291</a></td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
190 | <td>Private method to fix trailing whitespace.</td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
191 | </tr><tr> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
192 | <td><a href="#CodeStyleFixer.__fixW292">__fixW292</a></td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
193 | <td>Private method to fix a missing newline at the end of file.</td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
194 | </tr><tr> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
195 | <td><a href="#CodeStyleFixer.__fixW391">__fixW391</a></td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
196 | <td>Private method to fix trailing blank lines.</td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
197 | </tr><tr> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
198 | <td><a href="#CodeStyleFixer.__fixW603">__fixW603</a></td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
199 | <td>Private method to fix the not equal notation.</td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
200 | </tr><tr> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
201 | <td><a href="#CodeStyleFixer.__fixWhitespace">__fixWhitespace</a></td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
202 | <td>Private method to correct whitespace at the given offset.</td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
203 | </tr><tr> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
204 | <td><a href="#CodeStyleFixer.__getID">__getID</a></td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
205 | <td>Private method to get the ID for a deferred fix.</td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
206 | </tr><tr> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
207 | <td><a href="#CodeStyleFixer.__getIndent">__getIndent</a></td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
208 | <td>Private method to get the indentation string.</td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
209 | </tr><tr> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
210 | <td><a href="#CodeStyleFixer.__getIndentWord">__getIndentWord</a></td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
211 | <td>Private method to determine the indentation type.</td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
212 | </tr><tr> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
213 | <td><a href="#CodeStyleFixer.__getLogical">__getLogical</a></td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
214 | <td>Private method to get the logical line corresponding to the given position.</td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
215 | </tr><tr> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
216 | <td><a href="#CodeStyleFixer.__multilineStringLines">__multilineStringLines</a></td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
217 | <td>Private method to determine the line numbers that are within multi line strings and these which are part of a documentation string.</td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
218 | </tr><tr> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
219 | <td><a href="#CodeStyleFixer.finalize">finalize</a></td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
220 | <td>Public method to apply all deferred fixes.</td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
221 | </tr><tr> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
222 | <td><a href="#CodeStyleFixer.fixIssue">fixIssue</a></td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
223 | <td>Public method to fix the fixable issues.</td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
224 | </tr><tr> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
225 | <td><a href="#CodeStyleFixer.mutualStartswith">mutualStartswith</a></td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
226 | <td>Local helper method to compare the beginnings of two strings against each other.</td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
227 | </tr><tr> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
228 | <td><a href="#CodeStyleFixer.saveFile">saveFile</a></td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
229 | <td>Public method to save the modified file.</td> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
230 | </tr> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
231 | </table> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
232 | <h3>Static Methods</h3> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
233 | <table> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
234 | <tr><td>None</td></tr> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
235 | </table> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
236 | <a NAME="CodeStyleFixer.__init__" ID="CodeStyleFixer.__init__"></a> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
237 | <h4>CodeStyleFixer (Constructor)</h4> |
3209
c5432abceb25
CodeStyleChecker moved to background service and done a little cleanup.
T.Rzepka <Tobias.Rzepka@gmail.com>
parents:
2985
diff
changeset
|
238 | <b>CodeStyleFixer</b>(<i>filename, sourceLines, fixCodes, noFixCodes, maxLineLength, inPlace, eol</i>) |
2985
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
239 | <p> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
240 | Constructor |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
241 | </p><dl> |
3209
c5432abceb25
CodeStyleChecker moved to background service and done a little cleanup.
T.Rzepka <Tobias.Rzepka@gmail.com>
parents:
2985
diff
changeset
|
242 | <dt><i>filename</i></dt> |
2985
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
243 | <dd> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
244 | name of the file to be fixed (string) |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
245 | </dd><dt><i>sourceLines</i></dt> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
246 | <dd> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
247 | list of source lines including eol marker |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
248 | (list of string) |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
249 | </dd><dt><i>fixCodes</i></dt> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
250 | <dd> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
251 | list of codes to be fixed as a comma separated |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
252 | string (string) |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
253 | </dd><dt><i>noFixCodes</i></dt> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
254 | <dd> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
255 | list of codes not to be fixed as a comma |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
256 | separated string (string) |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
257 | </dd><dt><i>maxLineLength</i></dt> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
258 | <dd> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
259 | maximum allowed line length (integer) |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
260 | </dd><dt><i>inPlace</i></dt> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
261 | <dd> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
262 | flag indicating to modify the file in place (boolean) |
3209
c5432abceb25
CodeStyleChecker moved to background service and done a little cleanup.
T.Rzepka <Tobias.Rzepka@gmail.com>
parents:
2985
diff
changeset
|
263 | </dd><dt><i>eol</i></dt> |
c5432abceb25
CodeStyleChecker moved to background service and done a little cleanup.
T.Rzepka <Tobias.Rzepka@gmail.com>
parents:
2985
diff
changeset
|
264 | <dd> |
c5432abceb25
CodeStyleChecker moved to background service and done a little cleanup.
T.Rzepka <Tobias.Rzepka@gmail.com>
parents:
2985
diff
changeset
|
265 | end of line character(s) (string) |
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
|
266 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
268 | <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
|
269 | <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
|
270 | <p> |
177b1858245f
Finished changing the names 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 | 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
|
272 | </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
|
273 | <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
|
274 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
276 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
278 | <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
|
279 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
281 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
283 | <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
|
284 | <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
|
285 | <p> |
177b1858245f
Finished changing the names 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 | 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
|
287 | 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
|
288 | </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
|
289 | <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
|
290 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
292 | 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
|
293 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
295 | <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
|
296 | <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
|
297 | <p> |
177b1858245f
Finished changing the names 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 | 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
|
299 | </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
|
300 | 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
|
301 | </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
|
302 | <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
|
303 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
305 | </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
|
306 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
308 | </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
|
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 | 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
|
311 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
313 | <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
|
314 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
316 | 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
|
317 | 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
|
318 | </dd> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
319 | </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
|
320 | <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
|
321 | <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
|
322 | <p> |
177b1858245f
Finished changing the names 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 | 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
|
324 | </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
|
325 | 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
|
326 | </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
|
327 | <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
|
328 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
330 | </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
|
331 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
333 | </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
|
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 | 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
|
336 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
338 | <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
|
339 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
341 | 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
|
342 | 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
|
343 | </dd> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
344 | </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
|
345 | <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
|
346 | <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
|
347 | <p> |
177b1858245f
Finished changing the names 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 | 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
|
349 | 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
|
350 | </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
|
351 | 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
|
352 | </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
|
353 | <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
|
354 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
356 | </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
|
357 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
359 | </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
|
360 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
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 | </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
|
364 | <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
|
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 | 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
|
367 | 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
|
368 | 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
|
369 | </dd> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
370 | </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
|
371 | <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
|
372 | <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
|
373 | <p> |
177b1858245f
Finished changing the names 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 | 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
|
375 | 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
|
376 | </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
|
377 | 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
|
378 | </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
|
379 | <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
|
380 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
382 | </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
|
383 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
385 | </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
|
386 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
388 | </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
|
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 | 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
|
391 | (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
|
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 | </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
|
394 | <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
|
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 | 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
|
397 | 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
|
398 | 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
|
399 | </dd> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
400 | </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
|
401 | <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
|
402 | <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
|
403 | <p> |
177b1858245f
Finished changing the names 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 | 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
|
405 | 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
|
406 | </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
|
407 | 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
|
408 | </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
|
409 | <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
|
410 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
412 | </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
|
413 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
415 | </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
|
416 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
418 | </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
|
419 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
421 | (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
|
422 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
424 | <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
|
425 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
427 | 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
|
428 | 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
|
429 | </dd> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
430 | </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
|
431 | <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
|
432 | <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
|
433 | <p> |
177b1858245f
Finished changing the names 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 | 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
|
435 | 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
|
436 | </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
|
437 | 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
|
438 | </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
|
439 | <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
|
440 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
442 | </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
|
443 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
445 | </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
|
446 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
448 | </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
|
449 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
451 | (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
|
452 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
454 | <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
|
455 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
457 | 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
|
458 | 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
|
459 | </dd> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
460 | </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
|
461 | <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
|
462 | <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
|
463 | <p> |
177b1858245f
Finished changing the names 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 | 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
|
465 | 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
|
466 | </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
|
467 | 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
|
468 | </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
|
469 | <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
|
470 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
472 | </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
|
473 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
475 | </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
|
476 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
478 | </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
|
479 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
481 | (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
|
482 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
484 | <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
|
485 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
487 | 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
|
488 | 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
|
489 | </dd> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
490 | </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
|
491 | <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
|
492 | <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
|
493 | <p> |
177b1858245f
Finished changing the names 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 | 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
|
495 | 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
|
496 | </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
|
497 | 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
|
498 | </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
|
499 | <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
|
500 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
502 | </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
|
503 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
505 | </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
|
506 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
508 | </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
|
509 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
511 | (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
|
512 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
514 | <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
|
515 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
517 | 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
|
518 | 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
|
519 | </dd> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
520 | </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
|
521 | <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
|
522 | <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
|
523 | <p> |
177b1858245f
Finished changing the names 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 | 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
|
525 | 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
|
526 | </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
|
527 | 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
|
528 | </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
|
529 | <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
|
530 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
532 | </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
|
533 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
535 | </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
|
536 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
538 | </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
|
539 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
541 | (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
|
542 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
544 | <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
|
545 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
547 | 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
|
548 | 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
|
549 | </dd> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
550 | </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
|
551 | <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
|
552 | <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
|
553 | <p> |
177b1858245f
Finished changing the names 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 | 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
|
555 | 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
|
556 | </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
|
557 | 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
|
558 | </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
|
559 | <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
|
560 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
562 | </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
|
563 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
565 | </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
|
566 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
568 | </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
|
569 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
571 | (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
|
572 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
574 | <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
|
575 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
577 | 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
|
578 | 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
|
579 | </dd> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
580 | </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
|
581 | <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
|
582 | <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
|
583 | <p> |
177b1858245f
Finished changing the names 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 | 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
|
585 | 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
|
586 | </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
|
587 | 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
|
588 | </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
|
589 | <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
|
590 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
592 | </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
|
593 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
595 | </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
|
596 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
598 | </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
|
599 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
601 | (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
|
602 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
604 | <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
|
605 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
607 | 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
|
608 | 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
|
609 | </dd> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
610 | </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
|
611 | <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
|
612 | <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
|
613 | <p> |
177b1858245f
Finished changing the names 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 | 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
|
615 | 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
|
616 | </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
|
617 | 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
|
618 | </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
|
619 | <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
|
620 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
622 | </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
|
623 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
625 | </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
|
626 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
628 | </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
|
629 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
631 | (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
|
632 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
634 | <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
|
635 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
637 | 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
|
638 | 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
|
639 | </dd> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
640 | </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
|
641 | <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
|
642 | <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
|
643 | <p> |
177b1858245f
Finished changing the names 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 | 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
|
645 | </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
|
646 | 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
|
647 | </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
|
648 | <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
|
649 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
651 | </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
|
652 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
654 | </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
|
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 | 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
|
657 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
659 | <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
|
660 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
662 | 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
|
663 | 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
|
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 | </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
|
666 | <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
|
667 | <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
|
668 | <p> |
177b1858245f
Finished changing the names 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 | 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
|
670 | 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
|
671 | </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
|
672 | 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
|
673 | </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
|
674 | <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
|
675 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
677 | </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
|
678 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
680 | </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
|
681 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
683 | </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
|
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 | 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
|
686 | (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
|
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 | </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
|
689 | <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
|
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 | 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
|
692 | 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
|
693 | 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
|
694 | </dd> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
695 | </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
|
696 | <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
|
697 | <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
|
698 | <p> |
177b1858245f
Finished changing the names 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 | 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
|
700 | </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
|
701 | 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
|
702 | </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
|
703 | <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
|
704 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
706 | </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
|
707 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
709 | </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
|
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 | 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
|
712 | </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
|
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 | 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
|
715 | (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
|
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 | </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
|
718 | <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
|
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 | 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
|
721 | 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
|
722 | 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
|
723 | </dd> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
724 | </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
|
725 | <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
|
726 | <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
|
727 | <p> |
177b1858245f
Finished changing the names 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 | 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
|
729 | </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
|
730 | 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
|
731 | </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
|
732 | <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
|
733 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
735 | </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
|
736 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
738 | </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
|
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 | 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
|
741 | </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
|
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 | 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
|
744 | (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
|
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 | </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
|
747 | <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
|
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 | 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
|
750 | 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
|
751 | 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
|
752 | </dd> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
753 | </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
|
754 | <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
|
755 | <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
|
756 | <p> |
177b1858245f
Finished changing the names 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 | 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
|
758 | 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
|
759 | </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
|
760 | 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
|
761 | </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
|
762 | <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
|
763 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
765 | </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
|
766 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
768 | </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
|
769 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
771 | </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
|
772 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
774 | (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
|
775 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
777 | <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
|
778 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
780 | 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
|
781 | 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
|
782 | </dd> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
783 | </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
|
784 | <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
|
785 | <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
|
786 | <p> |
177b1858245f
Finished changing the names 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 | 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
|
788 | 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
|
789 | </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
|
790 | 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
|
791 | </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
|
792 | <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
|
793 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
795 | </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
|
796 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
798 | </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
|
799 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
801 | </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
|
802 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
804 | (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
|
805 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
807 | <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
|
808 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
810 | 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
|
811 | 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
|
812 | </dd> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
813 | </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
|
814 | <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
|
815 | <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
|
816 | <p> |
177b1858245f
Finished changing the names 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 | 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
|
818 | </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
|
819 | 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
|
820 | </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
|
821 | <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
|
822 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
824 | </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
|
825 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
827 | </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
|
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 | 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
|
830 | </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
|
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 | 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
|
833 | (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
|
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 | </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
|
836 | <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
|
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 | 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
|
839 | 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
|
840 | 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
|
841 | </dd> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
842 | </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
|
843 | <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
|
844 | <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
|
845 | <p> |
177b1858245f
Finished changing the names 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 | 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
|
847 | </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
|
848 | 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
|
849 | </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
|
850 | <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
|
851 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
853 | </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
|
854 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
856 | </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
|
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 | 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
|
859 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
861 | <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
|
862 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
864 | 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
|
865 | 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
|
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 | </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
|
868 | <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
|
869 | <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
|
870 | <p> |
177b1858245f
Finished changing the names 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 | 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
|
872 | 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
|
873 | </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
|
874 | 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
|
875 | 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
|
876 | </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
|
877 | <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
|
878 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
880 | </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
|
881 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
883 | </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
|
884 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
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 | </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
|
888 | <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
|
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 | 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
|
891 | 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
|
892 | 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
|
893 | </dd> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
894 | </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
|
895 | <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
|
896 | <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
|
897 | <p> |
177b1858245f
Finished changing the names 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 | 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
|
899 | </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
|
900 | 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
|
901 | </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
|
902 | <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
|
903 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
905 | </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
|
906 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
908 | </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
|
909 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
911 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
913 | <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
|
914 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
916 | 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
|
917 | 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
|
918 | </dd> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
919 | </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
|
920 | <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
|
921 | <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
|
922 | <p> |
177b1858245f
Finished changing the names 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 | 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
|
924 | 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
|
925 | </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
|
926 | 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
|
927 | </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
|
928 | <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
|
929 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
931 | </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
|
932 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
934 | </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
|
935 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
937 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
939 | <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
|
940 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
942 | 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
|
943 | 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
|
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 | </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
|
946 | <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
|
947 | <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
|
948 | <p> |
177b1858245f
Finished changing the names 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 | 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
|
950 | </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
|
951 | 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
|
952 | </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
|
953 | <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
|
954 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
956 | </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
|
957 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
959 | </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
|
960 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
962 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
964 | <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
|
965 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
967 | 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
|
968 | 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
|
969 | </dd> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
970 | </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
|
971 | <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
|
972 | <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
|
973 | <p> |
177b1858245f
Finished changing the names 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 | 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
|
975 | </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
|
976 | 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
|
977 | </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
|
978 | <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
|
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 | 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
|
981 | </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
|
982 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
984 | </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
|
985 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
987 | </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
|
988 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
990 | (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
|
991 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
993 | <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
|
994 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
996 | 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
|
997 | 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
|
998 | </dd> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
999 | </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
|
1000 | <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
|
1001 | <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
|
1002 | <p> |
177b1858245f
Finished changing the names 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 | 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
|
1004 | </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
|
1005 | 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
|
1006 | </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
|
1007 | <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
|
1008 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1010 | </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
|
1011 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1013 | </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
|
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 | 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
|
1016 | </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
|
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 | 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
|
1019 | (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
|
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 | </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
|
1022 | <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
|
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 | 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
|
1025 | 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
|
1026 | 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
|
1027 | </dd> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
1028 | </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
|
1029 | <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
|
1030 | <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
|
1031 | <p> |
177b1858245f
Finished changing the names 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 | 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
|
1033 | </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
|
1034 | 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
|
1035 | </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
|
1036 | <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
|
1037 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1039 | </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
|
1040 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1042 | </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
|
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 | 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
|
1045 | </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
|
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 | 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
|
1048 | (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
|
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 | </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
|
1051 | <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
|
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 | 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
|
1054 | 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
|
1055 | 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
|
1056 | </dd> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
1057 | </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
|
1058 | <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
|
1059 | <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
|
1060 | <p> |
177b1858245f
Finished changing the names 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 | 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
|
1062 | 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
|
1063 | </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
|
1064 | 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
|
1065 | </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
|
1066 | <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
|
1067 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1069 | </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
|
1070 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1072 | </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
|
1073 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1075 | </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
|
1076 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1078 | (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
|
1079 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1081 | <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
|
1082 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1084 | 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
|
1085 | 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
|
1086 | </dd> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
1087 | </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
|
1088 | <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
|
1089 | <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
|
1090 | <p> |
177b1858245f
Finished changing the names 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 | 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
|
1092 | </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
|
1093 | 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
|
1094 | </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
|
1095 | <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
|
1096 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1098 | </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
|
1099 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1101 | </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
|
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 | 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
|
1104 | </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
|
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 | 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
|
1107 | (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
|
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 | </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
|
1110 | <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
|
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 | 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
|
1113 | 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
|
1114 | 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
|
1115 | </dd> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
1116 | </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
|
1117 | <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
|
1118 | <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
|
1119 | <p> |
177b1858245f
Finished changing the names 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 | 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
|
1121 | </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
|
1122 | 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
|
1123 | </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
|
1124 | <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
|
1125 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1127 | </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
|
1128 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1130 | </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
|
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 | 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
|
1133 | </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
|
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 | 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
|
1136 | (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
|
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 | </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
|
1139 | <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
|
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 | 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
|
1142 | 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
|
1143 | 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
|
1144 | </dd> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
1145 | </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
|
1146 | <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
|
1147 | <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
|
1148 | <p> |
177b1858245f
Finished changing the names 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 | 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
|
1150 | </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
|
1151 | 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
|
1152 | </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
|
1153 | <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
|
1154 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1156 | </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
|
1157 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1159 | </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
|
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 | 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
|
1162 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1164 | <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
|
1165 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1167 | 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
|
1168 | 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
|
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 | </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
|
1171 | <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
|
1172 | <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
|
1173 | <p> |
177b1858245f
Finished changing the names 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 | 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
|
1175 | </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
|
1176 | 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
|
1177 | </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
|
1178 | <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
|
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 | 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
|
1181 | </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
|
1182 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1184 | </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
|
1185 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1187 | </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
|
1188 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1190 | (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
|
1191 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1193 | <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
|
1194 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1196 | 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
|
1197 | 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
|
1198 | </dd> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
1199 | </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
|
1200 | <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
|
1201 | <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
|
1202 | <p> |
177b1858245f
Finished changing the names 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 | 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
|
1204 | </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
|
1205 | 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
|
1206 | </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
|
1207 | <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
|
1208 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1210 | </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
|
1211 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1213 | </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
|
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 | 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
|
1216 | </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
|
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 | 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
|
1219 | (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
|
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 | </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
|
1222 | <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
|
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 | 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
|
1225 | 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
|
1226 | 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
|
1227 | </dd> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
1228 | </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
|
1229 | <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
|
1230 | <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
|
1231 | <p> |
177b1858245f
Finished changing the names 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 | 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
|
1233 | </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
|
1234 | 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
|
1235 | </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
|
1236 | <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
|
1237 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1239 | </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
|
1240 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1242 | </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
|
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 | 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
|
1245 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1247 | <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
|
1248 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1250 | 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
|
1251 | 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
|
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 | </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
|
1254 | <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
|
1255 | <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
|
1256 | <p> |
177b1858245f
Finished changing the names 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 | 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
|
1258 | 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
|
1259 | </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
|
1260 | 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
|
1261 | </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
|
1262 | <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
|
1263 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1265 | </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
|
1266 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1268 | </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
|
1269 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1271 | </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
|
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 | 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
|
1274 | (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
|
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 | </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
|
1277 | <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
|
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 | 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
|
1280 | 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
|
1281 | 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
|
1282 | </dd> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
1283 | </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
|
1284 | <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
|
1285 | <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
|
1286 | <p> |
177b1858245f
Finished changing the names 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 | 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
|
1288 | </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
|
1289 | 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
|
1290 | </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
|
1291 | <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
|
1292 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1294 | </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
|
1295 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1297 | </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
|
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 | 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
|
1300 | </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
|
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 | 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
|
1303 | (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
|
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 | </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
|
1306 | <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
|
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 | 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
|
1309 | 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
|
1310 | 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
|
1311 | </dd> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
1312 | </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
|
1313 | <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
|
1314 | <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
|
1315 | <p> |
177b1858245f
Finished changing the names 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 | 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
|
1317 | </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
|
1318 | 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
|
1319 | </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
|
1320 | <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
|
1321 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1323 | </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
|
1324 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1326 | </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
|
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 | 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
|
1329 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1331 | <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
|
1332 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1334 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1336 | <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
|
1337 | <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
|
1338 | <p> |
177b1858245f
Finished changing the names 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 | 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
|
1340 | </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
|
1341 | 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
|
1342 | </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
|
1343 | <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
|
1344 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1346 | </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
|
1347 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1349 | </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
|
1350 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1352 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1354 | <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
|
1355 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1357 | 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
|
1358 | 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
|
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 | </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
|
1361 | <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
|
1362 | <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
|
1363 | <p> |
177b1858245f
Finished changing the names 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 | 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
|
1365 | </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
|
1366 | 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
|
1367 | </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
|
1368 | <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
|
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 | 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
|
1371 | </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
|
1372 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1374 | </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
|
1375 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1377 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1379 | <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
|
1380 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1382 | 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
|
1383 | 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
|
1384 | </dd> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
1385 | </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
|
1386 | <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
|
1387 | <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
|
1388 | <p> |
177b1858245f
Finished changing the names 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 | 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
|
1390 | </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
|
1391 | 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
|
1392 | </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
|
1393 | <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
|
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 | 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
|
1396 | </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
|
1397 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1399 | </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
|
1400 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1402 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1404 | <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
|
1405 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1407 | 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
|
1408 | 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
|
1409 | </dd> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
1410 | </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
|
1411 | <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
|
1412 | <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
|
1413 | <p> |
177b1858245f
Finished changing the names 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 | 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
|
1415 | </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
|
1416 | 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
|
1417 | </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
|
1418 | <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
|
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 | 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
|
1421 | </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
|
1422 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1424 | </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
|
1425 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1427 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1429 | <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
|
1430 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1432 | 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
|
1433 | 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
|
1434 | </dd> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
1435 | </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
|
1436 | <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
|
1437 | <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
|
1438 | <p> |
177b1858245f
Finished changing the names 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 | 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
|
1440 | </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
|
1441 | <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
|
1442 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1444 | </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
|
1445 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1447 | </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
|
1448 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1450 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1452 | <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
|
1453 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1455 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1457 | <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
|
1458 | <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
|
1459 | <p> |
177b1858245f
Finished changing the names 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 | 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
|
1461 | </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
|
1462 | <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
|
1463 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
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 | </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
|
1467 | <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
|
1468 | <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
|
1469 | <p> |
177b1858245f
Finished changing the names 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 | 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
|
1471 | </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
|
1472 | <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
|
1473 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1475 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1477 | <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
|
1478 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
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 | </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
|
1482 | <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
|
1483 | <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
|
1484 | <p> |
177b1858245f
Finished changing the names 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 | 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
|
1486 | </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
|
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 | 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
|
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.__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
|
1492 | <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
|
1493 | <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
|
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 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
|
1496 | 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
|
1497 | </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
|
1498 | <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
|
1499 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1501 | </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
|
1502 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1504 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1506 | <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
|
1507 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1509 | 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
|
1510 | 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
|
1511 | 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
|
1512 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1514 | <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
|
1515 | <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
|
1516 | <p> |
177b1858245f
Finished changing the names 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 | 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
|
1518 | 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
|
1519 | </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
|
1520 | <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
|
1521 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1523 | 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
|
1524 | 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
|
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.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
|
1527 | <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
|
1528 | <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
|
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 | 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
|
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 | 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
|
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.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
|
1537 | <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
|
1538 | <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
|
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 | 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
|
1541 | </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
|
1542 | <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
|
1543 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1545 | </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
|
1546 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1548 | </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
|
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 | 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
|
1551 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1553 | <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
|
1554 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1556 | 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
|
1557 | 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
|
1558 | </dd> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
1559 | </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
|
1560 | <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
|
1561 | <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
|
1562 | <p> |
177b1858245f
Finished changing the names 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 | 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
|
1564 | 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
|
1565 | </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
|
1566 | <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
|
1567 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1569 | (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
|
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.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
|
1572 | <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
|
1573 | <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
|
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 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
|
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><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
|
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 | 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
|
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><dl> |
177b1858245f
Finished changing the names 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 | <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
|
1583 | <dd> |
3456 | 1584 | error message on failure (tuple of str) |
2985
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
1585 | </dd> |
177b1858245f
Finished changing the names 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 | </dl> |
177b1858245f
Finished changing the names 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 | <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
|
1588 | <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
|
1589 | <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
|
1590 | <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
|
1591 | <p> |
177b1858245f
Finished changing the names 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 | 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
|
1593 | </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
|
1594 | 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
|
1595 | </p> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
1596 | <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
|
1597 | 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
|
1598 | <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
|
1599 | <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
|
1600 | <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
|
1601 | </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
|
1602 | <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
|
1603 | <table> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
1604 | <tr><td>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
|
1605 | </table> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
1606 | <h3>Methods</h3> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
1607 | <table> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
1608 | <tr> |
177b1858245f
Finished changing the names 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 | <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
|
1610 | <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
|
1611 | </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
|
1612 | <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
|
1613 | <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
|
1614 | </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
|
1615 | <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
|
1616 | <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
|
1617 | </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
|
1618 | </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
|
1619 | <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
|
1620 | <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
|
1621 | <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
|
1622 | </table> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
1623 | <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
|
1624 | <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
|
1625 | <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
|
1626 | <p> |
177b1858245f
Finished changing the names 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 | 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
|
1628 | </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
|
1629 | <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
|
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 | 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
|
1632 | (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
|
1633 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1635 | <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
|
1636 | <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
|
1637 | <p> |
177b1858245f
Finished changing the names 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 | 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
|
1639 | </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
|
1640 | <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
|
1641 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1643 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1645 | <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
|
1646 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1648 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1650 | <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
|
1651 | <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
|
1652 | <p> |
177b1858245f
Finished changing the names 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 | 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
|
1654 | 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
|
1655 | </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
|
1656 | <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
|
1657 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1659 | 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
|
1660 | 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
|
1661 | </dd> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
1662 | </dl> |
177b1858245f
Finished changing the names 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 | <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
|
1664 | <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
|
1665 | <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
|
1666 | <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
|
1667 | <p> |
177b1858245f
Finished changing the names 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 | 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
|
1669 | </p> |
177b1858245f
Finished changing the names 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 | <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
|
1671 | 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
|
1672 | <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
|
1673 | <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
|
1674 | <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
|
1675 | </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
|
1676 | <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
|
1677 | <table> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
1678 | <tr><td>None</td></tr> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
1679 | </table> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
1680 | <h3>Methods</h3> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
1681 | <table> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
1682 | <tr> |
177b1858245f
Finished changing the names 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 | <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
|
1684 | <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
|
1685 | </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
|
1686 | <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
|
1687 | <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
|
1688 | </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
|
1689 | <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
|
1690 | <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
|
1691 | </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
|
1692 | <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
|
1693 | <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
|
1694 | </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
|
1695 | <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
|
1696 | <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
|
1697 | </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
|
1698 | <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
|
1699 | <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
|
1700 | </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
|
1701 | <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
|
1702 | <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
|
1703 | </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
|
1704 | <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
|
1705 | <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
|
1706 | </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
|
1707 | <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
|
1708 | <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
|
1709 | </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
|
1710 | <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
|
1711 | <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
|
1712 | </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
|
1713 | <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
|
1714 | <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
|
1715 | </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
|
1716 | </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
|
1717 | <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
|
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 | <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
|
1722 | <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
|
1723 | <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
|
1724 | <p> |
177b1858245f
Finished changing the names 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 | 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
|
1726 | </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
|
1727 | <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
|
1728 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1730 | </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
|
1731 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1733 | </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
|
1734 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1736 | </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
|
1737 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1739 | </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
|
1740 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1742 | </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
|
1743 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1745 | </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
|
1746 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1748 | 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
|
1749 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1751 | <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
|
1752 | <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
|
1753 | <p> |
177b1858245f
Finished changing the names 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 | 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
|
1755 | </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
|
1756 | <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
|
1757 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1759 | (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
|
1760 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1762 | <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
|
1763 | <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
|
1764 | <p> |
177b1858245f
Finished changing the names 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 | 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
|
1766 | </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
|
1767 | <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
|
1768 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1770 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1772 | <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
|
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 | 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
|
1775 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1777 | <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
|
1778 | <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
|
1779 | <p> |
177b1858245f
Finished changing the names 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 | 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
|
1781 | 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
|
1782 | </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
|
1783 | <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
|
1784 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1786 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1788 | <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
|
1789 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
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 | </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
|
1793 | <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
|
1794 | <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
|
1795 | <p> |
177b1858245f
Finished changing the names 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 | 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
|
1797 | </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
|
1798 | <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
|
1799 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1801 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1803 | <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
|
1804 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1806 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1808 | <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
|
1809 | <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
|
1810 | <p> |
177b1858245f
Finished changing the names 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 | 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
|
1812 | 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
|
1813 | </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
|
1814 | <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
|
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 | 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
|
1817 | </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
|
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 | 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
|
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><dl> |
177b1858245f
Finished changing the names 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 | <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
|
1823 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1825 | 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
|
1826 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1828 | <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
|
1829 | <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
|
1830 | <p> |
177b1858245f
Finished changing the names 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 | 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
|
1832 | </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
|
1833 | <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
|
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 | 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
|
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><dl> |
177b1858245f
Finished changing the names 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 | <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
|
1839 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1841 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1843 | <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
|
1844 | <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
|
1845 | <p> |
177b1858245f
Finished changing the names 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 | 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
|
1847 | 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
|
1848 | </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
|
1849 | <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
|
1850 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1852 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1854 | <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
|
1855 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1857 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1859 | <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
|
1860 | <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
|
1861 | <p> |
177b1858245f
Finished changing the names 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 | 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
|
1863 | </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
|
1864 | <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
|
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 | 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
|
1867 | (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
|
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 | </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
|
1870 | <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
|
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 | 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
|
1873 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1875 | <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
|
1876 | <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
|
1877 | <p> |
177b1858245f
Finished changing the names 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 | 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
|
1879 | </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
|
1880 | <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
|
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 | 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
|
1883 | (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
|
1884 | </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
|
1885 | <dd> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
1886 | 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
|
1887 | </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
|
1888 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1890 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1892 | <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
|
1893 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
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 | </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
|
1897 | <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
|
1898 | <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
|
1899 | <p> |
177b1858245f
Finished changing the names 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 | 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
|
1901 | </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
|
1902 | <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
|
1903 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1905 | 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
|
1906 | </dd> |
177b1858245f
Finished changing the names 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 | </dl> |
177b1858245f
Finished changing the names 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 | <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
|
1909 | <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
|
1910 | <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
|
1911 | <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
|
1912 | <p> |
177b1858245f
Finished changing the names 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 | 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
|
1914 | 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
|
1915 | </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
|
1916 | 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
|
1917 | </p> |
177b1858245f
Finished changing the names 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 | <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
|
1919 | 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
|
1920 | <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
|
1921 | <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
|
1922 | <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
|
1923 | </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
|
1924 | <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
|
1925 | <table> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
1926 | <tr><td>None</td></tr> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
1927 | </table> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
1928 | <h3>Methods</h3> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
1929 | <table> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
1930 | <tr> |
177b1858245f
Finished changing the names 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 | <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
|
1932 | <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
|
1933 | </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
|
1934 | <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
|
1935 | <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
|
1936 | </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
|
1937 | <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
|
1938 | <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
|
1939 | </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
|
1940 | <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
|
1941 | <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
|
1942 | </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
|
1943 | <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
|
1944 | <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
|
1945 | </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
|
1946 | <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
|
1947 | <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
|
1948 | </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
|
1949 | </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
|
1950 | <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
|
1951 | <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
|
1952 | <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
|
1953 | </table> |
177b1858245f
Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
1954 | <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
|
1955 | <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
|
1956 | <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
|
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 | 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
|
1959 | </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
|
1960 | <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
|
1961 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1963 | (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
|
1964 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1966 | <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
|
1967 | <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
|
1968 | <p> |
177b1858245f
Finished changing the names 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 | 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
|
1970 | </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
|
1971 | <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
|
1972 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1974 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1976 | <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
|
1977 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1979 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1981 | <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
|
1982 | <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
|
1983 | <p> |
177b1858245f
Finished changing the names 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 | 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
|
1985 | </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
|
1986 | <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
|
1987 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1989 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1991 | <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
|
1992 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
1994 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
1996 | <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
|
1997 | <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
|
1998 | <p> |
177b1858245f
Finished changing the names 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 | 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
|
2000 | </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
|
2001 | <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
|
2002 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
2004 | </dd> |
177b1858245f
Finished changing the names 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 | </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
|
2006 | <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
|
2007 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
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.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
|
2011 | <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
|
2012 | <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
|
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 | 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
|
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>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
|
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 | 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
|
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><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
|
2021 | <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
|
2022 | <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
|
2023 | <p> |
177b1858245f
Finished changing the names 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 | 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
|
2025 | </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
|
2026 | <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
|
2027 | <dd> |
177b1858245f
Finished changing the names 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 | 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
|
2029 | </dd> |
177b1858245f
Finished changing the names 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 | </dl> |
177b1858245f
Finished changing the names 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 | <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
|
2032 | <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
|
2033 | </body></html> |