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

changeset 6816
d1a6f7fc6dd2
parent 6265
56bd09c4c297
equal deleted inserted replaced
6815:b1b833693a38 6816:d1a6f7fc6dd2
82 <td>Private method to fix docstring enclosed in wrong quotes.</td> 82 <td>Private method to fix docstring enclosed in wrong quotes.</td>
83 </tr><tr> 83 </tr><tr>
84 <td><a href="#CodeStyleFixer.__fixD112">__fixD112</a></td> 84 <td><a href="#CodeStyleFixer.__fixD112">__fixD112</a></td>
85 <td>Private method to fix docstring 'r' or 'u' in leading quotes.</td> 85 <td>Private method to fix docstring 'r' or 'u' in leading quotes.</td>
86 </tr><tr> 86 </tr><tr>
87 <td><a href="#CodeStyleFixer.__fixD121">__fixD121</a></td>
88 <td>Private method to fix a single line docstring on multiple lines.</td>
89 </tr><tr>
87 <td><a href="#CodeStyleFixer.__fixD131">__fixD131</a></td> 90 <td><a href="#CodeStyleFixer.__fixD131">__fixD131</a></td>
88 <td>Private method to fix a docstring summary not ending with a period.</td> 91 <td>Private method to fix a docstring summary not ending with a period.</td>
89 </tr><tr> 92 </tr><tr>
90 <td><a href="#CodeStyleFixer.__fixD141">__fixD141</a></td> 93 <td><a href="#CodeStyleFixer.__fixD141">__fixD141</a></td>
91 <td>Private method to fix a function/method docstring preceded by a blank line.</td> 94 <td>Private method to fix a function/method docstring preceded by a blank line.</td>
366 <dd> 369 <dd>
367 line number of the issue (integer) 370 line number of the issue (integer)
368 </dd><dt><i>pos</i></dt> 371 </dd><dt><i>pos</i></dt>
369 <dd> 372 <dd>
370 position inside line (integer) 373 position inside line (integer)
374 </dd>
375 </dl><dl>
376 <dt>Returns:</dt>
377 <dd>
378 value indicating an applied/deferred fix (-1, 0, 1),
379 a message for the fix (string) and an ID for a deferred
380 fix (integer)
381 </dd>
382 </dl><a NAME="CodeStyleFixer.__fixD121" ID="CodeStyleFixer.__fixD121"></a>
383 <h4>CodeStyleFixer.__fixD121</h4>
384 <b>__fixD121</b>(<i>code, line, pos, apply=False</i>)
385 <p>
386 Private method to fix a single line docstring on multiple lines.
387 </p><p>
388 Codes: D121
389 </p><dl>
390 <dt><i>code</i></dt>
391 <dd>
392 code of the issue (string)
393 </dd><dt><i>line</i></dt>
394 <dd>
395 line number of the issue (integer)
396 </dd><dt><i>pos</i></dt>
397 <dd>
398 position inside line (integer)
399 </dd><dt><i>apply=</i></dt>
400 <dd>
401 flag indicating, that the fix should be applied
402 (boolean)
371 </dd> 403 </dd>
372 </dl><dl> 404 </dl><dl>
373 <dt>Returns:</dt> 405 <dt>Returns:</dt>
374 <dd> 406 <dd>
375 value indicating an applied/deferred fix (-1, 0, 1), 407 value indicating an applied/deferred fix (-1, 0, 1),

eric ide

mercurial