--- a/PluginProtobuf.epj Thu Dec 01 14:47:47 2022 +0100 +++ b/PluginProtobuf.epj Sun Dec 04 14:32:07 2022 +0100 @@ -5,19 +5,152 @@ }, "project": { "AUTHOR": "Detlev Offenbach", - "CHECKERSPARMS": {}, + "CHECKERSPARMS": { + "Pep8Checker": { + "AnnotationsChecker": { + "AllowStarArgAny": false, + "AllowUntypedDefs": false, + "AllowUntypedNested": false, + "DispatchDecorators": [ + "singledispatch", + "singledispatchmethod" + ], + "ForceFutureAnnotations": false, + "MaximumComplexity": 3, + "MaximumLength": 7, + "MinimumCoverage": 75, + "MypyInitReturn": false, + "OverloadDecorators": [ + "overload" + ], + "SuppressDummyArgs": false, + "SuppressNoneReturning": true + }, + "BlankLines": [ + 2, + 1 + ], + "BuiltinsChecker": { + "bytes": [ + "unicode" + ], + "chr": [ + "unichr" + ], + "str": [ + "unicode" + ] + }, + "CommentedCodeChecker": { + "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_black", + "EnabledCheckerCategories": "C, D, E, I, M, N, Y, 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": "", + "FixIssues": false, + "FutureChecker": "", + "HangClosing": false, + "ImportsChecker": { + "ApplicationPackageNames": [ + "ExtensionProtobuf", + "eric7" + ], + "BanRelativeImports": "", + "BannedModules": [], + "CombinedAsImports": true, + "SortCaseSensitive": false, + "SortFromFirst": false, + "SortIgnoringStyle": false, + "SortOrder": "natural" + }, + "IncludeMessages": "", + "LineComplexity": 25, + "LineComplexityScore": 10, + "MaxCodeComplexity": 10, + "MaxDocLineLength": 88, + "MaxLineLength": 88, + "NoFixCodes": "E501", + "RepeatMessages": true, + "SecurityChecker": { + "CheckTypedException": false, + "HardcodedTmpDirectories": [ + "/tmp", + "/var/tmp", + "/dev/shm", + "~/tmp" + ], + "InsecureHashes": [ + "md4", + "md5", + "sha", + "sha1" + ], + "InsecureSslProtocolVersions": [ + "PROTOCOL_SSLv2", + "SSLv2_METHOD", + "SSLv23_METHOD", + "PROTOCOL_SSLv3", + "PROTOCOL_TLSv1", + "SSLv3_METHOD", + "TLSv1_METHOD" + ], + "WeakKeySizeDsaHigh": "1024", + "WeakKeySizeDsaMedium": "2048", + "WeakKeySizeEcHigh": "160", + "WeakKeySizeEcMedium": "224", + "WeakKeySizeRsaHigh": "1024", + "WeakKeySizeRsaMedium": "2048" + }, + "ShowIgnored": false, + "ValidEncodings": "latin-1, utf-8" + } + }, "DESCRIPTION": "This plugin adds support for the development of Protobuf related projects.", "DOCSTRING": "ericdoc", - "DOCUMENTATIONPARMS": {}, + "DOCUMENTATIONPARMS": { + "ERIC4DOC": { + "cssFile": "%PYTHON%/eric7/CSSs/default.css", + "ignoreDirectories": [ + ".eric7project", + ".ropeproject", + ".jedi", + ".hg" + ], + "ignoreFilePatterns": [ + "Ui_*" + ], + "outputDirectory": "ExtensionProtobuf/Documentation/source", + "qtHelpEnabled": false, + "startDirectory": "", + "useRecursion": true + } + }, "EMAIL": "detlev@die-offenbachs.de", "EMBEDDED_VENV": false, "EOL": 1, "FILETYPES": { "*.e4p": "OTHERS", "*.epj": "OTHERS", - "*.idl": "INTERFACES", "*.md": "OTHERS", - "*.proto": "PROTOCOLS", "*.py": "SOURCES", "*.py3": "SOURCES", "*.pyw": "SOURCES", @@ -31,9 +164,12 @@ "Makefile": "OTHERS", "README": "OTHERS", "README.*": "OTHERS", + "Ui_*.py": "__IGNORE__", "makefile": "OTHERS" }, - "FORMS": [], + "FORMS": [ + "ExtensionProtobuf/ConfigurationPage/ProtobufPage.ui" + ], "HASH": "2aa67bf985ce54fd697e4234b82b811023a3cf19", "IDLPARAMS": { "DefinedNames": [], @@ -43,7 +179,7 @@ "INTERFACES": [], "LEXERASSOCS": {}, "LICENSE": "GNU General Public License v3 or later (GPLv3+)", - "MAINSCRIPT": "PluginExtensionProtobuf", + "MAINSCRIPT": "PluginExtensionProtobuf.py", "MAKEPARAMS": { "MakeEnabled": false, "MakeExecutable": "", @@ -54,9 +190,52 @@ }, "MIXEDLANGUAGE": false, "OTHERS": [ - ".hgignore" + ".hgignore", + "ExtensionProtobuf/Documentation/LICENSE.GPL3", + "ExtensionProtobuf/Documentation/source", + "ExtensionProtobuf/icons/gRPC48.svg", + "ExtensionProtobuf/icons/protobuf.svg", + "ExtensionProtobuf/icons/protobuf48.svg", + "PKGLIST", + "PluginExtensionProtobuf.zip", + "PluginProtobuf.epj", + "pyproject.toml" ], - "OTHERTOOLSPARMS": {}, + "OTHERTOOLSPARMS": { + "Black": { + "exclude": "/(\\.direnv|\\.eggs|\\.git|\\.hg|\\.mypy_cache|\\.nox|\\.tox|\\.venv|venv|\\.svn|\\.ipynb_checkpoints|_build|buck-out|build|dist|__pypackages__)/", + "extend-exclude": "Ui_.*\\.py", + "force-exclude": "", + "line-length": 88, + "skip-magic-trailing-comma": false, + "skip-string-normalization": false, + "source": "project", + "target-version": [ + "py311", + "py310", + "py39", + "py38", + "py37" + ] + }, + "isort": { + "combine_as_imports": true, + "config_source": "project", + "extend_skip_glob": [ + "*/Ui_*.py" + ], + "lines_between_types": 1, + "profile": "black", + "sort_order": "natural", + "supported_extensions": [ + "pyi", + "pxd", + "pyx", + "py", + "pyw" + ] + } + }, "PACKAGERSPARMS": {}, "PROGLANGUAGE": "Python3", "PROJECTTYPE": "E7Plugin", @@ -69,7 +248,11 @@ }, "RESOURCES": [], "SOURCES": [ - "PluginExtensionProtobuf", + "ExtensionProtobuf/ConfigurationPage/ProtobufPage.py", + "ExtensionProtobuf/ConfigurationPage/__init__.py", + "ExtensionProtobuf/ProjectProtocolsBrowser.py", + "ExtensionProtobuf/__init__.py", + "PluginExtensionProtobuf.py", "__init__.py" ], "SPELLEXCLUDES": "", @@ -78,7 +261,17 @@ "TESTING_FRAMEWORK": "", "TRANSLATIONEXCEPTIONS": [], "TRANSLATIONPATTERN": "ExtensionProtobuf/i18n/protobuf_%language%.ts", - "TRANSLATIONS": [], + "TRANSLATIONS": [ + "ExtensionProtobuf/i18n/protobuf_de.qm", + "ExtensionProtobuf/i18n/protobuf_de.ts", + "ExtensionProtobuf/i18n/protobuf_empty.ts", + "ExtensionProtobuf/i18n/protobuf_en.qm", + "ExtensionProtobuf/i18n/protobuf_en.ts", + "ExtensionProtobuf/i18n/protobuf_es.qm", + "ExtensionProtobuf/i18n/protobuf_es.ts", + "ExtensionProtobuf/i18n/protobuf_ru.qm", + "ExtensionProtobuf/i18n/protobuf_ru.ts" + ], "TRANSLATIONSBINPATH": "", "TRANSLATIONSOURCESTARTPATH": "", "UICPARAMS": {