61 <table> |
61 <table> |
62 <tr> |
62 <tr> |
63 <td><a href="#MiscellaneousChecker.__init__">MiscellaneousChecker</a></td> |
63 <td><a href="#MiscellaneousChecker.__init__">MiscellaneousChecker</a></td> |
64 <td>Constructor</td> |
64 <td>Constructor</td> |
65 </tr><tr> |
65 </tr><tr> |
66 <td><a href="#MiscellaneousChecker.__checkBlindExcept">__checkBlindExcept</a></td> |
|
67 <td>Private method to check for blind except statements.</td> |
|
68 </tr><tr> |
|
69 <td><a href="#MiscellaneousChecker.__checkBuiltins">__checkBuiltins</a></td> |
66 <td><a href="#MiscellaneousChecker.__checkBuiltins">__checkBuiltins</a></td> |
70 <td>Private method to check, if built-ins are shadowed.</td> |
67 <td>Private method to check, if built-ins are shadowed.</td> |
71 </tr><tr> |
68 </tr><tr> |
72 <td><a href="#MiscellaneousChecker.__checkCoding">__checkCoding</a></td> |
69 <td><a href="#MiscellaneousChecker.__checkCoding">__checkCoding</a></td> |
73 <td>Private method to check the presence of a coding line and valid encodings.</td> |
70 <td>Private method to check the presence of a coding line and valid encodings.</td> |
81 <td><a href="#MiscellaneousChecker.__checkFormatString">__checkFormatString</a></td> |
78 <td><a href="#MiscellaneousChecker.__checkFormatString">__checkFormatString</a></td> |
82 <td>Private method to check string format strings.</td> |
79 <td>Private method to check string format strings.</td> |
83 </tr><tr> |
80 </tr><tr> |
84 <td><a href="#MiscellaneousChecker.__checkFuture">__checkFuture</a></td> |
81 <td><a href="#MiscellaneousChecker.__checkFuture">__checkFuture</a></td> |
85 <td>Private method to check the __future__ imports.</td> |
82 <td>Private method to check the __future__ imports.</td> |
|
83 </tr><tr> |
|
84 <td><a href="#MiscellaneousChecker.__checkMutableDefault">__checkMutableDefault</a></td> |
|
85 <td>Private method to check for use of mutable types as default arguments.</td> |
86 </tr><tr> |
86 </tr><tr> |
87 <td><a href="#MiscellaneousChecker.__checkPep3101">__checkPep3101</a></td> |
87 <td><a href="#MiscellaneousChecker.__checkPep3101">__checkPep3101</a></td> |
88 <td>Private method to check for old style string formatting.</td> |
88 <td>Private method to check for old style string formatting.</td> |
89 </tr><tr> |
89 </tr><tr> |
90 <td><a href="#MiscellaneousChecker.__checkPrintStatements">__checkPrintStatements</a></td> |
90 <td><a href="#MiscellaneousChecker.__checkPrintStatements">__checkPrintStatements</a></td> |
142 flag indicating to report each occurrence of a code |
142 flag indicating to report each occurrence of a code |
143 </dd><dt><i>args</i> (dict)</dt> |
143 </dd><dt><i>args</i> (dict)</dt> |
144 <dd> |
144 <dd> |
145 dictionary of arguments for the miscellaneous checks |
145 dictionary of arguments for the miscellaneous checks |
146 </dd> |
146 </dd> |
147 </dl><a NAME="MiscellaneousChecker.__checkBlindExcept" ID="MiscellaneousChecker.__checkBlindExcept"></a> |
147 </dl><a NAME="MiscellaneousChecker.__checkBuiltins" ID="MiscellaneousChecker.__checkBuiltins"></a> |
148 <h4>MiscellaneousChecker.__checkBlindExcept</h4> |
|
149 <b>__checkBlindExcept</b>(<i></i>) |
|
150 <p> |
|
151 Private method to check for blind except statements. |
|
152 </p><a NAME="MiscellaneousChecker.__checkBuiltins" ID="MiscellaneousChecker.__checkBuiltins"></a> |
|
153 <h4>MiscellaneousChecker.__checkBuiltins</h4> |
148 <h4>MiscellaneousChecker.__checkBuiltins</h4> |
154 <b>__checkBuiltins</b>(<i></i>) |
149 <b>__checkBuiltins</b>(<i></i>) |
155 <p> |
150 <p> |
156 Private method to check, if built-ins are shadowed. |
151 Private method to check, if built-ins are shadowed. |
157 </p><a NAME="MiscellaneousChecker.__checkCoding" ID="MiscellaneousChecker.__checkCoding"></a> |
152 </p><a NAME="MiscellaneousChecker.__checkCoding" ID="MiscellaneousChecker.__checkCoding"></a> |
178 </p><a NAME="MiscellaneousChecker.__checkFuture" ID="MiscellaneousChecker.__checkFuture"></a> |
173 </p><a NAME="MiscellaneousChecker.__checkFuture" ID="MiscellaneousChecker.__checkFuture"></a> |
179 <h4>MiscellaneousChecker.__checkFuture</h4> |
174 <h4>MiscellaneousChecker.__checkFuture</h4> |
180 <b>__checkFuture</b>(<i></i>) |
175 <b>__checkFuture</b>(<i></i>) |
181 <p> |
176 <p> |
182 Private method to check the __future__ imports. |
177 Private method to check the __future__ imports. |
|
178 </p><a NAME="MiscellaneousChecker.__checkMutableDefault" ID="MiscellaneousChecker.__checkMutableDefault"></a> |
|
179 <h4>MiscellaneousChecker.__checkMutableDefault</h4> |
|
180 <b>__checkMutableDefault</b>(<i></i>) |
|
181 <p> |
|
182 Private method to check for use of mutable types as default arguments. |
183 </p><a NAME="MiscellaneousChecker.__checkPep3101" ID="MiscellaneousChecker.__checkPep3101"></a> |
183 </p><a NAME="MiscellaneousChecker.__checkPep3101" ID="MiscellaneousChecker.__checkPep3101"></a> |
184 <h4>MiscellaneousChecker.__checkPep3101</h4> |
184 <h4>MiscellaneousChecker.__checkPep3101</h4> |
185 <b>__checkPep3101</b>(<i></i>) |
185 <b>__checkPep3101</b>(<i></i>) |
186 <p> |
186 <p> |
187 Private method to check for old style string formatting. |
187 Private method to check for old style string formatting. |