Corrected some code style issues.

Fri, 27 Oct 2023 14:45:25 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Fri, 27 Oct 2023 14:45:25 +0200
changeset 39
e033c7f0d45e
parent 38
aefce8f68439
child 40
ab0575a24dd0

Corrected some code style issues.

PluginCorba.epj file | annotate | diff | comparison | revisions
PluginExtensionCorba.py file | annotate | diff | comparison | revisions
--- a/PluginCorba.epj	Wed Oct 25 18:04:06 2023 +0200
+++ b/PluginCorba.epj	Fri Oct 27 14:45:25 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
         },
@@ -151,7 +151,7 @@
     "DOCSTRING": "ericdoc",
     "DOCUMENTATIONPARMS": {
       "ERIC4DOC": {
-        "cssFile": "%PYTHON%/eric7/CSSs/default.css",
+        "cssFile": "/home/detlev/Development/Python/Eric/eric7_default/src/eric7/CSSs/default.css",
         "ignoreDirectories": [
           ".eric7project",
           ".ropeproject",
--- a/PluginExtensionCorba.py	Wed Oct 25 18:04:06 2023 +0200
+++ b/PluginExtensionCorba.py	Fri Oct 27 14:45:25 2023 +0200
@@ -105,7 +105,7 @@
     }
 
 
-def createCorbaPage(configDlg):
+def createCorbaPage(configDlg):  # noqa: U100
     """
     Module function to create the CORBA configuration page.
 
@@ -288,7 +288,7 @@
 
         return LexerIDL(parent=parent)
 
-    def getFileIcon(self, filename=""):
+    def getFileIcon(self, filename=""):  # noqa: U100
         """
         Public method to get the name of a file icon.
 
@@ -302,4 +302,4 @@
 
 
 #
-# eflag: noqa = M801
+# eflag: noqa = M801, U200

eric ide

mercurial