--- a/eric6/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py Wed Mar 17 19:54:32 2021 +0100 +++ b/eric6/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py Sun Mar 21 14:17:16 2021 +0100 @@ -82,6 +82,9 @@ "N": QCoreApplication.translate( "CheckerCategories", "Naming"), + "P": QCoreApplication.translate( + "CheckerCategories", + "'pathlib' Usage"), "S": QCoreApplication.translate( "CheckerCategories", "Security"), @@ -287,6 +290,8 @@ itm.setIcon(1, UI.PixmapCache.getIcon("namingError")) elif msgCode.startswith("D"): itm.setIcon(1, UI.PixmapCache.getIcon("docstringError")) + elif msgCode.startswith("P"): + itm.setIcon(1, UI.PixmapCache.getIcon("dirClosed")) elif msgCode.startswith("S"): if "severity" in result: if result["severity"] == "H":