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

branch
eric7
changeset 9454
f3cf935c0c66
parent 9436
731d146193e2
child 9530
c30f02ea1b27
--- a/src/eric7/Documentation/Source/eric7.Project.Project.html	Mon Oct 31 15:29:18 2022 +0100
+++ b/src/eric7/Documentation/Source/eric7.Project.Project.html	Mon Oct 31 15:34:41 2022 +0100
@@ -293,6 +293,10 @@
 <td>Private slot to configure the embedded environment.</td>
 </tr>
 <tr>
+<td><a href="#Project.__configureIsort">__configureIsort</a></td>
+<td>Private slot to enter the parameters for formatting the import statements of the project sources with 'isort'.</td>
+</tr>
+<tr>
 <td><a href="#Project.__createEmbeddedEnvironment">__createEmbeddedEnvironment</a></td>
 <td>Private method to create the embedded virtual environment.</td>
 </tr>
@@ -385,6 +389,10 @@
 <td>Private method to format the project sources using the 'Black' tool.</td>
 </tr>
 <tr>
+<td><a href="#Project.__performImportSortingWithIsort">__performImportSortingWithIsort</a></td>
+<td>Private method to format the project sources import statements using the 'isort' tool.</td>
+</tr>
+<tr>
 <td><a href="#Project.__pluginCreateArchives">__pluginCreateArchives</a></td>
 <td>Private slot to create eric plugin archives.</td>
 </tr>
@@ -1323,6 +1331,14 @@
 path of the virtual environment (defaults to "")
 </dd>
 </dl>
+<a NAME="Project.__configureIsort" ID="Project.__configureIsort"></a>
+<h4>Project.__configureIsort</h4>
+<b>__configureIsort</b>(<i></i>)
+
+<p>
+        Private slot to enter the parameters for formatting the import statements of the
+        project sources with 'isort'.
+</p>
 <a NAME="Project.__createEmbeddedEnvironment" ID="Project.__createEmbeddedEnvironment"></a>
 <h4>Project.__createEmbeddedEnvironment</h4>
 <b>__createEmbeddedEnvironment</b>(<i>upgrade=False</i>)
@@ -1630,6 +1646,31 @@
 formatting operation to be performed
 </dd>
 </dl>
+<a NAME="Project.__performImportSortingWithIsort" ID="Project.__performImportSortingWithIsort"></a>
+<h4>Project.__performImportSortingWithIsort</h4>
+<b>__performImportSortingWithIsort</b>(<i>action</i>)
+
+<p>
+        Private method to format the project sources import statements using the
+        'isort' tool.
+</p>
+<p>
+        Following actions are supported.
+        <ul>
+        <li>IsortFormattingAction.Format - the imports reformatting is performed</li>
+        <li>IsortFormattingAction.Check - a check is performed, if imports formatting
+            is necessary</li>
+        <li>IsortFormattingAction.Diff - a unified diff of potential imports formatting
+            changes is generated</li>
+        </ul>
+</p>
+<dl>
+
+<dt><i>action</i> (IsortFormattingAction)</dt>
+<dd>
+formatting operation to be performed
+</dd>
+</dl>
 <a NAME="Project.__pluginCreateArchives" ID="Project.__pluginCreateArchives"></a>
 <h4>Project.__pluginCreateArchives</h4>
 <b>__pluginCreateArchives</b>(<i>snapshot=False</i>)

eric ide

mercurial