--- 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):