src/eric7/Plugins/PluginCodeStyleChecker.py

branch
eric7
changeset 10061
8bdad5699288
parent 9653
e67609152c5e
child 10069
435cc5875135
--- a/src/eric7/Plugins/PluginCodeStyleChecker.py	Wed May 24 10:31:09 2023 +0200
+++ b/src/eric7/Plugins/PluginCodeStyleChecker.py	Wed May 24 10:45:11 2023 +0200
@@ -21,27 +21,29 @@
 from eric7.UI import Info
 
 # Start-Of-Header
-name = "Code Style Checker Plugin"
-author = "Detlev Offenbach <detlev@die-offenbachs.de>"
-autoactivate = True
-deactivateable = True
-version = Info.VersionOnly
-className = "CodeStyleCheckerPlugin"
-packageName = "__core__"
-shortDescription = "Show the Python Code Style Checker dialog."
-longDescription = (
-    """This plugin implements the Python Code Style"""
-    """ Checker dialog. A PEP-8 checker is used to check Python source"""
-    """ files for compliance to the code style conventions given in PEP-8."""
-    """ A PEP-257 checker is used to check Python source files for"""
-    """ compliance to docstring conventions given in PEP-257 and an"""
-    """ eric variant is used to check against eric conventions."""
-)
-pyqtApi = 2
+__header__ = {
+    "name": "Code Style Checker Plugin",
+    "author": "Detlev Offenbach <detlev@die-offenbachs.de>",
+    "autoactivate": True,
+    "deactivateable": True,
+    "version": Info.VersionOnly,
+    "className": "CodeStyleCheckerPlugin",
+    "packageName": "__core__",
+    "shortDescription": "Show the Python Code Style Checker dialog.",
+    "longDescription": (
+        """This plugin implements the Python Code Style"""
+        """ Checker dialog. A PEP-8 checker is used to check Python source"""
+        """ files for compliance to the code style conventions given in PEP-8."""
+        """ A PEP-257 checker is used to check Python source files for"""
+        """ compliance to docstring conventions given in PEP-257 and an"""
+        """ eric variant is used to check against eric conventions."""
+    ),
+    "pyqtApi": 2,
+}
 # End-Of-Header
 
 
-error = ""
+error = ""  # noqa: U200
 
 
 class CodeStyleCheckerPlugin(QObject):

eric ide

mercurial