Sat, 24 Apr 2021 11:51:52 +0200
- implemented some code simplifications
ChangeLog | file | annotate | diff | comparison | revisions | |
Documentation/source/Plugin_Apis.PluginApis.html | file | annotate | diff | comparison | revisions | |
PluginApis.epj | file | annotate | diff | comparison | revisions | |
PluginApis.py | file | annotate | diff | comparison | revisions | |
PluginApis.zip | file | annotate | diff | comparison | revisions |
--- a/ChangeLog Sun Feb 21 17:31:49 2021 +0100 +++ b/ChangeLog Sat Apr 24 11:51:52 2021 +0200 @@ -1,11 +1,14 @@ ChangeLog --------- +Version 3.0.2: +- implemented some code simplifications + Version 3.0.1: - added API files for -- Python 3.9 Version 3.0.0: -- removed support for Python2 nad PyQt4 +- removed support for Python2 and PyQt4 - added API files for -- PyQtPurchasing
--- a/Documentation/source/Plugin_Apis.PluginApis.html Sun Feb 21 17:31:49 2021 +0100 +++ b/Documentation/source/Plugin_Apis.PluginApis.html Sat Apr 24 11:51:52 2021 +0200 @@ -113,7 +113,7 @@ Public method to activate this plugin. </p> <dl> -<dt>Returns:</dt> +<dt>Return:</dt> <dd> tuple of None and activation status (boolean) </dd> @@ -143,7 +143,7 @@ </dd> </dl> <dl> -<dt>Returns:</dt> +<dt>Return:</dt> <dd> list of API filenames (list of string) </dd>
--- a/PluginApis.epj Sun Feb 21 17:31:49 2021 +0100 +++ b/PluginApis.epj Sat Apr 24 11:51:52 2021 +0200 @@ -8,8 +8,21 @@ "CHECKERSPARMS": { "Pep8Checker": { "AnnotationsChecker": { + "AllowUntypedDefs": false, + "AllowUntypedNested": false, + "DispatchDecorators": [ + "singledispatch", + "singledispatchmethod" + ], "MaximumComplexity": 3, - "MinimumCoverage": 75 + "MaximumLength": 7, + "MinimumCoverage": 75, + "MypyInitReturn": false, + "OverloadDecorators": [ + "overload" + ], + "SuppressDummyArgs": false, + "SuppressNoneReturning": true }, "BlankLines": [ 2, @@ -27,20 +40,35 @@ ] }, "CommentedCodeChecker": { - "Aggressive": false + "Aggressive": false, + "WhiteList": [ + "pylint", + "pyright", + "noqa", + "type:\\s*ignore", + "fmt:\\s*(on|off)", + "TODO", + "FIXME", + "WARNING", + "NOTE", + "TEST", + "DOCU", + "XXX", + "- " + ] }, "CopyrightAuthor": "", "CopyrightMinFileSize": 0, "DocstringType": "eric", - "EnabledCheckerCategories": "C, D, E, M, N, S, W", + "EnabledCheckerCategories": "C, D, E, M, N, S, Y, W", "ExcludeFiles": "*/Ui_*.py, */*_rc.py,", - "ExcludeMessages": "C101,E265,E266,E305,E402,M811,N802,N803,N807,N808,N821,W293", + "ExcludeMessages": "C101,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,W504,Y119,Y401,Y402", "FixCodes": "", "FixIssues": false, "FutureChecker": "", "HangClosing": false, "IncludeMessages": "", - "LineComplexity": 20, + "LineComplexity": 25, "LineComplexityScore": 10, "MaxCodeComplexity": 10, "MaxDocLineLength": 79,
--- a/PluginApis.py Sun Feb 21 17:31:49 2021 +0100 +++ b/PluginApis.py Sat Apr 24 11:51:52 2021 +0200 @@ -17,7 +17,7 @@ author = "Detlev Offenbach <detlev@die-offenbachs.de>" autoactivate = True deactivateable = True -version = "3.0.1" +version = "3.0.2" className = "PluginApis" packageName = "APIs" shortDescription = "API files for auto-completion and call tips." @@ -60,7 +60,7 @@ @param ui reference to the user interface object (UI.UserInterface) """ - super(PluginApis, self).__init__(ui) + super().__init__(ui) self.__ui = ui def activate(self):