PluginPyLint.py

branch
eric7
changeset 117
f8955e5dba87
parent 116
71d3a2e48265
child 119
ebb5306aeb60
diff -r 71d3a2e48265 -r f8955e5dba87 PluginPyLint.py
--- a/PluginPyLint.py	Sat Dec 23 16:06:01 2023 +0100
+++ b/PluginPyLint.py	Tue Oct 29 17:23:21 2024 +0100
@@ -29,20 +29,23 @@
     from eric7.Utilities import getEnvironmentEntry, isWindowsPlatform
 
 # Start-of-Header
-name = "PyLint Plugin"
-author = "Detlev Offenbach <detlev@die-offenbachs.de>"
-autoactivate = True
-deactivateable = True
-version = "10.2.0"
-className = "PyLintPlugin"
-packageName = "PyLintInterface"
-shortDescription = "Show the PyLint dialogs."
-longDescription = (
-    """This plug-in implements the PyLint dialogs. PyLint is used to check"""
-    """ Python source files according to various rules."""
-)
-needsRestart = False
-pyqtApi = 2
+__header__ = {
+    "name": "PyLint Plugin",
+    "author": "Detlev Offenbach <detlev@die-offenbachs.de>",
+    "autoactivate": True,
+    "deactivateable": True,
+    "version": "10.3.0",
+    "className": "PyLintPlugin",
+    "packageName": "PyLintInterface",
+    "shortDescription": "Show the PyLint dialogs.",
+    "longDescription": (
+        "This plug-in implements the PyLint dialogs. PyLint is used to check"
+        " Python source files according to various rules."
+    ),
+    "needsRestart": False,
+    "hasCompiledForms": True,
+    "pyqtApi": 2,
+}
 # End-of-Header
 
 error = ""
@@ -579,7 +582,9 @@
             )
             return
 
-        dlg = PyLintConfigDialog(project.getProjectPath(), exe, parms, version)
+        dlg = PyLintConfigDialog(
+            project.getProjectPath(), exe, parms, version, parent=self.__ui
+        )
         if dlg.exec() == QDialog.DialogCode.Accepted:
             args, parms = dlg.generateParameters()
             self.__editorParms = copy.deepcopy(parms)

eric ide

mercurial