src/eric7/Documentation/Source/eric7.Project.Project.html

branch
eric7
changeset 9454
f3cf935c0c66
parent 9436
731d146193e2
child 9530
c30f02ea1b27
equal deleted inserted replaced
9453:e5065dde905d 9454:f3cf935c0c66
291 <tr> 291 <tr>
292 <td><a href="#Project.__configureEnvironment">__configureEnvironment</a></td> 292 <td><a href="#Project.__configureEnvironment">__configureEnvironment</a></td>
293 <td>Private slot to configure the embedded environment.</td> 293 <td>Private slot to configure the embedded environment.</td>
294 </tr> 294 </tr>
295 <tr> 295 <tr>
296 <td><a href="#Project.__configureIsort">__configureIsort</a></td>
297 <td>Private slot to enter the parameters for formatting the import statements of the project sources with 'isort'.</td>
298 </tr>
299 <tr>
296 <td><a href="#Project.__createEmbeddedEnvironment">__createEmbeddedEnvironment</a></td> 300 <td><a href="#Project.__createEmbeddedEnvironment">__createEmbeddedEnvironment</a></td>
297 <td>Private method to create the embedded virtual environment.</td> 301 <td>Private method to create the embedded virtual environment.</td>
298 </tr> 302 </tr>
299 <tr> 303 <tr>
300 <td><a href="#Project.__createSBOMFile">__createSBOMFile</a></td> 304 <td><a href="#Project.__createSBOMFile">__createSBOMFile</a></td>
381 <td>Private method to open a project from the list of rencently opened projects.</td> 385 <td>Private method to open a project from the list of rencently opened projects.</td>
382 </tr> 386 </tr>
383 <tr> 387 <tr>
384 <td><a href="#Project.__performFormatWithBlack">__performFormatWithBlack</a></td> 388 <td><a href="#Project.__performFormatWithBlack">__performFormatWithBlack</a></td>
385 <td>Private method to format the project sources using the 'Black' tool.</td> 389 <td>Private method to format the project sources using the 'Black' tool.</td>
390 </tr>
391 <tr>
392 <td><a href="#Project.__performImportSortingWithIsort">__performImportSortingWithIsort</a></td>
393 <td>Private method to format the project sources import statements using the 'isort' tool.</td>
386 </tr> 394 </tr>
387 <tr> 395 <tr>
388 <td><a href="#Project.__pluginCreateArchives">__pluginCreateArchives</a></td> 396 <td><a href="#Project.__pluginCreateArchives">__pluginCreateArchives</a></td>
389 <td>Private slot to create eric plugin archives.</td> 397 <td>Private slot to create eric plugin archives.</td>
390 </tr> 398 </tr>
1321 <dt><i>environmentPath</i> (str (optional))</dt> 1329 <dt><i>environmentPath</i> (str (optional))</dt>
1322 <dd> 1330 <dd>
1323 path of the virtual environment (defaults to "") 1331 path of the virtual environment (defaults to "")
1324 </dd> 1332 </dd>
1325 </dl> 1333 </dl>
1334 <a NAME="Project.__configureIsort" ID="Project.__configureIsort"></a>
1335 <h4>Project.__configureIsort</h4>
1336 <b>__configureIsort</b>(<i></i>)
1337
1338 <p>
1339 Private slot to enter the parameters for formatting the import statements of the
1340 project sources with 'isort'.
1341 </p>
1326 <a NAME="Project.__createEmbeddedEnvironment" ID="Project.__createEmbeddedEnvironment"></a> 1342 <a NAME="Project.__createEmbeddedEnvironment" ID="Project.__createEmbeddedEnvironment"></a>
1327 <h4>Project.__createEmbeddedEnvironment</h4> 1343 <h4>Project.__createEmbeddedEnvironment</h4>
1328 <b>__createEmbeddedEnvironment</b>(<i>upgrade=False</i>) 1344 <b>__createEmbeddedEnvironment</b>(<i>upgrade=False</i>)
1329 1345
1330 <p> 1346 <p>
1628 <dt><i>action</i> (BlackFormattingAction)</dt> 1644 <dt><i>action</i> (BlackFormattingAction)</dt>
1629 <dd> 1645 <dd>
1630 formatting operation to be performed 1646 formatting operation to be performed
1631 </dd> 1647 </dd>
1632 </dl> 1648 </dl>
1649 <a NAME="Project.__performImportSortingWithIsort" ID="Project.__performImportSortingWithIsort"></a>
1650 <h4>Project.__performImportSortingWithIsort</h4>
1651 <b>__performImportSortingWithIsort</b>(<i>action</i>)
1652
1653 <p>
1654 Private method to format the project sources import statements using the
1655 'isort' tool.
1656 </p>
1657 <p>
1658 Following actions are supported.
1659 <ul>
1660 <li>IsortFormattingAction.Format - the imports reformatting is performed</li>
1661 <li>IsortFormattingAction.Check - a check is performed, if imports formatting
1662 is necessary</li>
1663 <li>IsortFormattingAction.Diff - a unified diff of potential imports formatting
1664 changes is generated</li>
1665 </ul>
1666 </p>
1667 <dl>
1668
1669 <dt><i>action</i> (IsortFormattingAction)</dt>
1670 <dd>
1671 formatting operation to be performed
1672 </dd>
1673 </dl>
1633 <a NAME="Project.__pluginCreateArchives" ID="Project.__pluginCreateArchives"></a> 1674 <a NAME="Project.__pluginCreateArchives" ID="Project.__pluginCreateArchives"></a>
1634 <h4>Project.__pluginCreateArchives</h4> 1675 <h4>Project.__pluginCreateArchives</h4>
1635 <b>__pluginCreateArchives</b>(<i>snapshot=False</i>) 1676 <b>__pluginCreateArchives</b>(<i>snapshot=False</i>)
1636 1677
1637 <p> 1678 <p>

eric ide

mercurial