Added a pyproject.toml file. eric7

Tue, 20 Dec 2022 17:29:50 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Tue, 20 Dec 2022 17:29:50 +0100
branch
eric7
changeset 65
2bf03c855622
parent 64
023600ebd385
child 66
38e8c68c2750

Added a pyproject.toml file.

PySide2PyQt.epj file | annotate | diff | comparison | revisions
pyproject.toml file | annotate | diff | comparison | revisions
--- a/PySide2PyQt.epj	Mon Oct 24 16:45:54 2022 +0200
+++ b/PySide2PyQt.epj	Tue Dec 20 17:29:50 2022 +0100
@@ -187,7 +187,8 @@
       "PluginPySide2PyQt.zip",
       "PySide2PyQt.epj",
       "PySide2PyQt/Documentation/LICENSE.GPL3",
-      "PySide2PyQt/Documentation/source"
+      "PySide2PyQt/Documentation/source",
+      "pyproject.toml"
     ],
     "OTHERTOOLSPARMS": {
       "Black": {
@@ -205,6 +206,23 @@
           "py38",
           "py37"
         ]
+      },
+      "isort": {
+        "combine_as_imports": true,
+        "config_source": "project",
+        "extend_skip_glob": [
+          "*/Ui_*.py"
+        ],
+        "lines_between_types": 1,
+        "profile": "black",
+        "sort_order": "natural",
+        "supported_extensions": [
+          "py",
+          "pyi",
+          "pyx",
+          "pxd",
+          "pyw"
+        ]
       }
     },
     "PACKAGERSPARMS": {},
@@ -244,6 +262,7 @@
       "PySide2PyQt/i18n/pyside2pyqt_ru.ts"
     ],
     "TRANSLATIONSBINPATH": "",
+    "TRANSLATIONSOURCESTARTPATH": "",
     "UICPARAMS": {
       "Package": "",
       "PackagesRoot": "",
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/pyproject.toml	Tue Dec 20 17:29:50 2022 +0100
@@ -0,0 +1,10 @@
+[tool.isort]
+profile = "black"
+sort_order = "natural"
+supported_extensions = ["py", "pyi", "pyx", "pxd", "pyw"]
+lines_between_types = 1
+extend_skip_glob = [
+    "*/Ui_*.py",
+]
+combine_as_imports = true
+known_first_party = ["TimeTracker", "eric7"]

eric ide

mercurial