src/eric7/Documentation/Source/eric7.Plugins.CheckerPlugins.SyntaxChecker.pyCheckSyntax.html

branch
eric7
changeset 9924
b41c9a7bcbbb
parent 9508
5a02bdb1dcba
child 10189
1ab3a4674cb4
equal deleted inserted replaced
9923:f706be800097 9924:b41c9a7bcbbb
56 </table> 56 </table>
57 <hr /> 57 <hr />
58 <hr /> 58 <hr />
59 <a NAME="__pySyntaxAndPyflakesCheck" ID="__pySyntaxAndPyflakesCheck"></a> 59 <a NAME="__pySyntaxAndPyflakesCheck" ID="__pySyntaxAndPyflakesCheck"></a>
60 <h2>__pySyntaxAndPyflakesCheck</h2> 60 <h2>__pySyntaxAndPyflakesCheck</h2>
61 <b>__pySyntaxAndPyflakesCheck</b>(<i>filename, codestring, checkFlakes=True, ignoreStarImportWarnings=False</i>) 61 <b>__pySyntaxAndPyflakesCheck</b>(<i>filename, codestring, checkFlakes=True, ignoreStarImportWarnings=False, additionalBuiltins=None, </i>)
62 62
63 <p> 63 <p>
64 Function to compile one Python source file to Python bytecode 64 Function to compile one Python source file to Python bytecode
65 and to perform a pyflakes check. 65 and to perform a pyflakes check.
66 </p> 66 </p>
80 </dd> 80 </dd>
81 <dt><i>ignoreStarImportWarnings</i> (bool)</dt> 81 <dt><i>ignoreStarImportWarnings</i> (bool)</dt>
82 <dd> 82 <dd>
83 flag indicating to 83 flag indicating to
84 ignore 'star import' warnings 84 ignore 'star import' warnings
85 </dd>
86 <dt><i>additionalBuiltins</i> (list of str)</dt>
87 <dd>
88 list of names pyflakes should consider as builtins
85 </dd> 89 </dd>
86 </dl> 90 </dl>
87 <dl> 91 <dl>
88 <dt>Return:</dt> 92 <dt>Return:</dt>
89 <dd> 93 <dd>
221 <div align="right"><a href="#top">Up</a></div> 225 <div align="right"><a href="#top">Up</a></div>
222 <hr /> 226 <hr />
223 <hr /> 227 <hr />
224 <a NAME="pySyntaxAndPyflakesCheck" ID="pySyntaxAndPyflakesCheck"></a> 228 <a NAME="pySyntaxAndPyflakesCheck" ID="pySyntaxAndPyflakesCheck"></a>
225 <h2>pySyntaxAndPyflakesCheck</h2> 229 <h2>pySyntaxAndPyflakesCheck</h2>
226 <b>pySyntaxAndPyflakesCheck</b>(<i>filename, codestring, checkFlakes=True, ignoreStarImportWarnings=False</i>) 230 <b>pySyntaxAndPyflakesCheck</b>(<i>filename, codestring, checkFlakes=True, ignoreStarImportWarnings=False, additionalBuiltins=None, </i>)
227 231
228 <p> 232 <p>
229 Function to compile one Python source file to Python bytecode 233 Function to compile one Python source file to Python bytecode
230 and to perform a pyflakes check. 234 and to perform a pyflakes check.
231 </p> 235 </p>
244 flag indicating to do a pyflakes check 248 flag indicating to do a pyflakes check
245 </dd> 249 </dd>
246 <dt><i>ignoreStarImportWarnings</i> (bool)</dt> 250 <dt><i>ignoreStarImportWarnings</i> (bool)</dt>
247 <dd> 251 <dd>
248 flag indicating to ignore 'star import' warnings 252 flag indicating to ignore 'star import' warnings
253 </dd>
254 <dt><i>additionalBuiltins</i> (list of str)</dt>
255 <dd>
256 list of names pyflakes should consider as builtins
249 </dd> 257 </dd>
250 </dl> 258 </dl>
251 <dl> 259 <dl>
252 <dt>Return:</dt> 260 <dt>Return:</dt>
253 <dd> 261 <dd>

eric ide

mercurial