PluginPyright.py

branch
eric7
changeset 9
1ef1797f5f58
parent 3
109b8e5513d8
child 11
55bc88e0aea0
equal deleted inserted replaced
8:e35f1076717d 9:1ef1797f5f58
22 __header__ = { 22 __header__ = {
23 "name": "Python Typing Checker Plug-in", 23 "name": "Python Typing Checker Plug-in",
24 "author": "Detlev Offenbach <detlev@die-offenbachs.de>", 24 "author": "Detlev Offenbach <detlev@die-offenbachs.de>",
25 "autoactivate": True, 25 "autoactivate": True,
26 "deactivateable": True, 26 "deactivateable": True,
27 "version": "10.0.0", 27 "version": "10.0.1",
28 "className": "PyrightPlugin", 28 "className": "PyrightPlugin",
29 "packageName": "PyrightChecker", 29 "packageName": "PyrightChecker",
30 "shortDescription": "Plug-in to check Python sources for typing issues.", 30 "shortDescription": "Plug-in to check Python sources for typing issues.",
31 "longDescription": ("""Plug-in to check Python sources for typing issues."""), 31 "longDescription": ("""Plug-in to check Python sources for typing issues."""),
32 "needsRestart": False, 32 "needsRestart": False,
84 @type UI.UserInterface 84 @type UI.UserInterface
85 """ 85 """
86 super().__init__(ui) 86 super().__init__(ui)
87 self.__ui = ui 87 self.__ui = ui
88 self.__initialize() 88 self.__initialize()
89
90 self.__translator = None
91 self.__loadTranslator()
89 92
90 def __initialize(self): 93 def __initialize(self):
91 """ 94 """
92 Private slot to (re)initialize the plug-in. 95 Private slot to (re)initialize the plug-in.
93 """ 96 """

eric ide

mercurial