src/eric7/Plugins/PluginCodeStyleChecker.py

branch
eric7
changeset 10061
8bdad5699288
parent 9653
e67609152c5e
child 10069
435cc5875135
equal deleted inserted replaced
10060:b946699e9e79 10061:8bdad5699288
19 from eric7.Project.ProjectBrowserModel import ProjectBrowserFileItem 19 from eric7.Project.ProjectBrowserModel import ProjectBrowserFileItem
20 from eric7.SystemUtilities import PythonUtilities 20 from eric7.SystemUtilities import PythonUtilities
21 from eric7.UI import Info 21 from eric7.UI import Info
22 22
23 # Start-Of-Header 23 # Start-Of-Header
24 name = "Code Style Checker Plugin" 24 __header__ = {
25 author = "Detlev Offenbach <detlev@die-offenbachs.de>" 25 "name": "Code Style Checker Plugin",
26 autoactivate = True 26 "author": "Detlev Offenbach <detlev@die-offenbachs.de>",
27 deactivateable = True 27 "autoactivate": True,
28 version = Info.VersionOnly 28 "deactivateable": True,
29 className = "CodeStyleCheckerPlugin" 29 "version": Info.VersionOnly,
30 packageName = "__core__" 30 "className": "CodeStyleCheckerPlugin",
31 shortDescription = "Show the Python Code Style Checker dialog." 31 "packageName": "__core__",
32 longDescription = ( 32 "shortDescription": "Show the Python Code Style Checker dialog.",
33 """This plugin implements the Python Code Style""" 33 "longDescription": (
34 """ Checker dialog. A PEP-8 checker is used to check Python source""" 34 """This plugin implements the Python Code Style"""
35 """ files for compliance to the code style conventions given in PEP-8.""" 35 """ Checker dialog. A PEP-8 checker is used to check Python source"""
36 """ A PEP-257 checker is used to check Python source files for""" 36 """ files for compliance to the code style conventions given in PEP-8."""
37 """ compliance to docstring conventions given in PEP-257 and an""" 37 """ A PEP-257 checker is used to check Python source files for"""
38 """ eric variant is used to check against eric conventions.""" 38 """ compliance to docstring conventions given in PEP-257 and an"""
39 ) 39 """ eric variant is used to check against eric conventions."""
40 pyqtApi = 2 40 ),
41 "pyqtApi": 2,
42 }
41 # End-Of-Header 43 # End-Of-Header
42 44
43 45
44 error = "" 46 error = "" # noqa: U200
45 47
46 48
47 class CodeStyleCheckerPlugin(QObject): 49 class CodeStyleCheckerPlugin(QObject):
48 """ 50 """
49 Class implementing the code style checker plug-in. 51 Class implementing the code style checker plug-in.

eric ide

mercurial