eric6/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py

changeset 8188
bfa6c0969acf
parent 8186
655b658aa7ee
child 8195
db7f2badd374
equal deleted inserted replaced
8187:7bfee4d12551 8188:bfa6c0969acf
293 itm.setIcon(1, UI.PixmapCache.getIcon("namingError")) 293 itm.setIcon(1, UI.PixmapCache.getIcon("namingError"))
294 elif msgCode.startswith("D"): 294 elif msgCode.startswith("D"):
295 itm.setIcon(1, UI.PixmapCache.getIcon("docstringError")) 295 itm.setIcon(1, UI.PixmapCache.getIcon("docstringError"))
296 elif msgCode.startswith("P"): 296 elif msgCode.startswith("P"):
297 itm.setIcon(1, UI.PixmapCache.getIcon("dirClosed")) 297 itm.setIcon(1, UI.PixmapCache.getIcon("dirClosed"))
298 elif msgCode.startswith("Y"):
299 itm.setIcon(1, UI.PixmapCache.getIcon("filePython"))
298 elif msgCode.startswith("S"): 300 elif msgCode.startswith("S"):
299 if "severity" in result: 301 if "severity" in result:
300 if result["severity"] == "H": 302 if result["severity"] == "H":
301 itm.setIcon(1, UI.PixmapCache.getIcon("securityLow")) 303 itm.setIcon(1, UI.PixmapCache.getIcon("securityLow"))
302 elif result["severity"] == "M": 304 elif result["severity"] == "M":

eric ide

mercurial