Fri, 27 Oct 2023 14:48:37 +0200
Corrected some code style issues.
PluginExtensionProtobuf.py | file | annotate | diff | comparison | revisions | |
PluginProtobuf.epj | file | annotate | diff | comparison | revisions |
--- a/PluginExtensionProtobuf.py Wed Oct 25 18:08:35 2023 +0200 +++ b/PluginExtensionProtobuf.py Fri Oct 27 14:48:37 2023 +0200 @@ -144,7 +144,7 @@ } -def createProtobufPage(configDlg): +def createProtobufPage(configDlg): # noqa: U100 """ Module function to create the Protobuf configuration page. @@ -337,7 +337,7 @@ else: return None - def getFileIcon(self, filename=""): + def getFileIcon(self, filename=""): # noqa: U100 """ Public method to get the name of a file icon. @@ -363,4 +363,4 @@ # -# eflag: noqa = M801 +# eflag: noqa = M801, U200
--- a/PluginProtobuf.epj Wed Oct 25 18:08:35 2023 +0200 +++ b/PluginProtobuf.epj Fri Oct 27 14:48:37 2023 +0200 @@ -66,7 +66,7 @@ "CopyrightAuthor": "", "CopyrightMinFileSize": 0, "DocstringType": "eric_black", - "EnabledCheckerCategories": "C, D, E, I, M, NO, N, Y, W", + "EnabledCheckerCategories": "C, D, E, I, M, NO, N, Y, U, W", "ExcludeFiles": "*/ThirdParty/*, */coverage/*, */Ui_*.py, */Examples/*, */pycodestyle.py,*/pyflakes/checker.py,*/mccabe.py,*/eradicate.py,*/ast_unparse.py,*/piplicenses.py,*/pipdeptree.py", "ExcludeMessages": "C101,E203,E265,E266,E305,E402,M201,M301,M302,M303,M304,M305,M306,M307,M308,M311,M312,M313,M314,M315,M321,M701,M702,M811,M834,N802,N803,N807,N808,N821,W293,W503,Y119,Y401,Y402", "FixCodes": "", @@ -135,12 +135,12 @@ "IgnoreAbstract": true, "IgnoreDunderGlobals": true, "IgnoreDunderMethods": true, - "IgnoreEventHandlerMethods": false, + "IgnoreEventHandlerMethods": true, "IgnoreLambdas": false, "IgnoreNestedFunctions": false, "IgnoreOverload": true, "IgnoreOverride": true, - "IgnoreSlotMethods": false, + "IgnoreSlotMethods": true, "IgnoreStubs": true, "IgnoreVariadicNames": false },