Mon, 22 Apr 2024 18:23:20 +0200
Changed the source code and the source code documentation to improve the indication of unused method/function arguments.
# -*- coding: utf-8 -*- # Copyright (c) 2023 - 2024 Detlev Offenbach <detlev@die-offenbachs.de> # """ Module implementing message translations for the code style plugin (unused part). """ from PyQt6.QtCore import QCoreApplication _unusedMessages = { ## Unused Arguments "U100": QCoreApplication.translate("UnusedChecker", "Unused argument '{0}'"), "U101": QCoreApplication.translate("UnusedChecker", "Unused argument '{0}'"), ## Unused Globals "U200": QCoreApplication.translate("UnusedChecker", "Unused global variable '{0}'"), } _unusedMessagesSampleArgs = { ## Unused Arguments "U100": ["foo_arg"], "U101": ["_bar_arg"], ## Unused Globals "U200": ["FOO"], }