136 <td>Private method to fix extraneous whitespace.</td> |
136 <td>Private method to fix extraneous whitespace.</td> |
137 </tr><tr> |
137 </tr><tr> |
138 <td><a href="#CodeStyleFixer.__fixE221">__fixE221</a></td> |
138 <td><a href="#CodeStyleFixer.__fixE221">__fixE221</a></td> |
139 <td>Private method to fix extraneous whitespace around operator or keyword.</td> |
139 <td>Private method to fix extraneous whitespace around operator or keyword.</td> |
140 </tr><tr> |
140 </tr><tr> |
|
141 <td><a href="#CodeStyleFixer.__fixE225">__fixE225</a></td> |
|
142 <td>Private method to fix extraneous whitespaces around operator.</td> |
|
143 </tr><tr> |
141 <td><a href="#CodeStyleFixer.__fixE231">__fixE231</a></td> |
144 <td><a href="#CodeStyleFixer.__fixE231">__fixE231</a></td> |
142 <td>Private method to fix missing whitespace after ',;:'.</td> |
145 <td>Private method to fix missing whitespace after ',;:'.</td> |
143 </tr><tr> |
146 </tr><tr> |
144 <td><a href="#CodeStyleFixer.__fixE251">__fixE251</a></td> |
147 <td><a href="#CodeStyleFixer.__fixE251">__fixE251</a></td> |
145 <td>Private method to fix extraneous whitespace around keyword and default parameter equals.</td> |
148 <td>Private method to fix extraneous whitespace around keyword and default parameter equals.</td> |
873 <b>__fixE221</b>(<i>code, line, pos</i>) |
876 <b>__fixE221</b>(<i>code, line, pos</i>) |
874 <p> |
877 <p> |
875 Private method to fix extraneous whitespace around operator or |
878 Private method to fix extraneous whitespace around operator or |
876 keyword. |
879 keyword. |
877 </p><p> |
880 </p><p> |
878 Codes: E221, E222, E223, E224, E225, E226, E227, E228, E241, |
881 Codes: E221, E222, E223, E224, E241, E242, E271, E272, E273, E274 |
879 E242, E271, E272, E273, E274). |
882 </p><dl> |
|
883 <dt><i>code</i></dt> |
|
884 <dd> |
|
885 code of the issue (string) |
|
886 </dd><dt><i>line</i></dt> |
|
887 <dd> |
|
888 line number of the issue (integer) |
|
889 </dd><dt><i>pos</i></dt> |
|
890 <dd> |
|
891 position inside line (integer) |
|
892 </dd> |
|
893 </dl><dl> |
|
894 <dt>Returns:</dt> |
|
895 <dd> |
|
896 value indicating an applied/deferred fix (-1, 0, 1), |
|
897 a message for the fix (string) and an ID for a deferred |
|
898 fix (integer) |
|
899 </dd> |
|
900 </dl><a NAME="CodeStyleFixer.__fixE225" ID="CodeStyleFixer.__fixE225"></a> |
|
901 <h4>CodeStyleFixer.__fixE225</h4> |
|
902 <b>__fixE225</b>(<i>code, line, pos</i>) |
|
903 <p> |
|
904 Private method to fix extraneous whitespaces around operator. |
|
905 </p><p> |
|
906 Codes: E225, E226, E227, E228 |
880 </p><dl> |
907 </p><dl> |
881 <dt><i>code</i></dt> |
908 <dt><i>code</i></dt> |
882 <dd> |
909 <dd> |
883 code of the issue (string) |
910 code of the issue (string) |
884 </dd><dt><i>line</i></dt> |
911 </dd><dt><i>line</i></dt> |