Wed, 02 Jun 2021 18:27:07 +0200
Ported the plug-in to PyQt6 for eric7.
--- a/.hgignore Wed Jun 02 17:36:34 2021 +0200 +++ b/.hgignore Wed Jun 02 18:27:07 2021 +0200 @@ -1,9 +1,6 @@ +glob:.eric7project glob:.eric6project -glob:_eric6project -glob:.eric5project -glob:_eric5project glob:.ropeproject -glob:_ropeproject glob:.directory glob:**.pyc glob:**.orig
--- a/ChangeLog Wed Jun 02 17:36:34 2021 +0200 +++ b/ChangeLog Wed Jun 02 18:27:07 2021 +0200 @@ -1,5 +1,10 @@ ChangeLog --------- +Version 1.0.0: +- first release of the eric7 variant + +************************************************************ + Version 7.1.3: - implemented some code simplifications
--- a/PKGLIST Wed Jun 02 17:36:34 2021 +0200 +++ b/PKGLIST Wed Jun 02 18:27:07 2021 +0200 @@ -1,13 +1,14 @@ PluginPyLint.py -PyLint/Documentation/LICENSE.GPL3 -PyLint/PyLintConfigDialog.py -PyLint/PyLintConfigDialog.ui -PyLint/PyLintExecDialog.py -PyLint/PyLintExecDialog.ui -PyLint/__init__.py -PyLint/i18n/pylint_cs.qm -PyLint/i18n/pylint_de.qm -PyLint/i18n/pylint_es.qm -PyLint/i18n/pylint_fr.qm -PyLint/i18n/pylint_pt.qm -PyLint/i18n/pylint_ru.qm +PyLintInterface/Documentation/LICENSE.GPL3 +PyLintInterface/PyLintConfigDialog.py +PyLintInterface/PyLintConfigDialog.ui +PyLintInterface/PyLintExecDialog.py +PyLintInterface/PyLintExecDialog.ui +PyLintInterface/__init__.py +PyLintInterface/i18n/pylint_cs.qm +PyLintInterface/i18n/pylint_de.qm +PyLintInterface/i18n/pylint_en.qm +PyLintInterface/i18n/pylint_es.qm +PyLintInterface/i18n/pylint_fr.qm +PyLintInterface/i18n/pylint_pt.qm +PyLintInterface/i18n/pylint_ru.qm
--- a/PluginPyLint.e4p Wed Jun 02 17:36:34 2021 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,520 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE Project SYSTEM "Project-5.1.dtd"> -<!-- eric project file for project PluginPyLint --> -<!-- Copyright (C) 2020 Detlev Offenbach, detlev@die-offenbachs.de --> -<Project version="5.1"> - <Language>en_US</Language> - <Hash>abcf6641287ab95ca3df062cd9840dd92df2e42f</Hash> - <ProgLanguage mixed="0">Python3</ProgLanguage> - <ProjectType>E6Plugin</ProjectType> - <Description>This plugin implements an eric5 interface to the pylint checker.</Description> - <Version>6.0.x</Version> - <Author>Detlev Offenbach</Author> - <Email>detlev@die-offenbachs.de</Email> - <TranslationPattern>PyLint/i18n/pylint_%language%.ts</TranslationPattern> - <Eol index="1"/> - <Sources> - <Source>PluginPyLint.py</Source> - <Source>PyLint/PyLintConfigDialog.py</Source> - <Source>PyLint/PyLintExecDialog.py</Source> - <Source>PyLint/__init__.py</Source> - <Source>__init__.py</Source> - </Sources> - <Forms> - <Form>PyLint/PyLintConfigDialog.ui</Form> - <Form>PyLint/PyLintExecDialog.ui</Form> - </Forms> - <Translations> - <Translation>PyLint/i18n/pylint_cs.qm</Translation> - <Translation>PyLint/i18n/pylint_cs.ts</Translation> - <Translation>PyLint/i18n/pylint_de.qm</Translation> - <Translation>PyLint/i18n/pylint_de.ts</Translation> - <Translation>PyLint/i18n/pylint_es.qm</Translation> - <Translation>PyLint/i18n/pylint_es.ts</Translation> - <Translation>PyLint/i18n/pylint_fr.qm</Translation> - <Translation>PyLint/i18n/pylint_fr.ts</Translation> - <Translation>PyLint/i18n/pylint_pt.qm</Translation> - <Translation>PyLint/i18n/pylint_pt.ts</Translation> - <Translation>PyLint/i18n/pylint_ru.qm</Translation> - <Translation>PyLint/i18n/pylint_ru.ts</Translation> - </Translations> - <Others> - <Other>.hgignore</Other> - <Other>ChangeLog</Other> - <Other>PKGLIST</Other> - <Other>PluginPyLint.e4p</Other> - <Other>PluginPyLint.zip</Other> - <Other>PyLint/Documentation/LICENSE.GPL3</Other> - <Other>PyLint/Documentation/source</Other> - </Others> - <MainScript>PluginPyLint.py</MainScript> - <Vcs> - <VcsType>Mercurial</VcsType> - <VcsOptions> - <dict> - <key> - <string>add</string> - </key> - <value> - <list> - <string></string> - </list> - </value> - <key> - <string>checkout</string> - </key> - <value> - <list> - <string></string> - </list> - </value> - <key> - <string>commit</string> - </key> - <value> - <list> - <string></string> - </list> - </value> - <key> - <string>diff</string> - </key> - <value> - <list> - <string></string> - </list> - </value> - <key> - <string>export</string> - </key> - <value> - <list> - <string></string> - </list> - </value> - <key> - <string>global</string> - </key> - <value> - <list> - <string></string> - </list> - </value> - <key> - <string>history</string> - </key> - <value> - <list> - <string></string> - </list> - </value> - <key> - <string>log</string> - </key> - <value> - <list> - <string></string> - </list> - </value> - <key> - <string>remove</string> - </key> - <value> - <list> - <string></string> - </list> - </value> - <key> - <string>status</string> - </key> - <value> - <list> - <string></string> - </list> - </value> - <key> - <string>tag</string> - </key> - <value> - <list> - <string></string> - </list> - </value> - <key> - <string>update</string> - </key> - <value> - <list> - <string></string> - </list> - </value> - </dict> - </VcsOptions> - <VcsOtherData> - <dict> - <key> - <string>standardLayout</string> - </key> - <value> - <bool>True</bool> - </value> - </dict> - </VcsOtherData> - </Vcs> - <FiletypeAssociations> - <FiletypeAssociation pattern="*.idl" type="INTERFACES"/> - <FiletypeAssociation pattern="*.py" type="SOURCES"/> - <FiletypeAssociation pattern="*.py3" type="SOURCES"/> - <FiletypeAssociation pattern="*.pyw" type="SOURCES"/> - <FiletypeAssociation pattern="*.pyw3" type="SOURCES"/> - <FiletypeAssociation pattern="*.qm" type="TRANSLATIONS"/> - <FiletypeAssociation pattern="*.qrc" type="RESOURCES"/> - <FiletypeAssociation pattern="*.ts" type="TRANSLATIONS"/> - <FiletypeAssociation pattern="*.ui" type="FORMS"/> - <FiletypeAssociation pattern="*.ui.h" type="FORMS"/> - <FiletypeAssociation pattern="Ui_*.py" type="__IGNORE__"/> - </FiletypeAssociations> - <Documentation> - <DocumentationParams> - <dict> - <key> - <string>ERIC4DOC</string> - </key> - <value> - <dict> - <key> - <string>cssFile</string> - </key> - <value> - <string>%PYTHON%/eric6/CSSs/default.css</string> - </value> - <key> - <string>ignoreDirectories</string> - </key> - <value> - <list> - <string>.ropeproject</string> - </list> - </value> - <key> - <string>ignoreFilePatterns</string> - </key> - <value> - <list> - <string>Ui_*</string> - </list> - </value> - <key> - <string>outputDirectory</string> - </key> - <value> - <string>PyLint/Documentation/source</string> - </value> - <key> - <string>qtHelpEnabled</string> - </key> - <value> - <bool>False</bool> - </value> - <key> - <string>useRecursion</string> - </key> - <value> - <bool>True</bool> - </value> - </dict> - </value> - </dict> - </DocumentationParams> - </Documentation> - <Checkers> - <CheckersParams> - <dict> - <key> - <string>Pep8Checker</string> - </key> - <value> - <dict> - <key> - <string>AnnotationsChecker</string> - </key> - <value> - <dict> - <key> - <string>MaximumComplexity</string> - </key> - <value> - <int>3</int> - </value> - <key> - <string>MinimumCoverage</string> - </key> - <value> - <int>75</int> - </value> - </dict> - </value> - <key> - <string>BlankLines</string> - </key> - <value> - <tuple> - <int>2</int> - <int>1</int> - </tuple> - </value> - <key> - <string>BuiltinsChecker</string> - </key> - <value> - <dict> - <key> - <string>bytes</string> - </key> - <value> - <list> - <string>unicode</string> - </list> - </value> - <key> - <string>chr</string> - </key> - <value> - <list> - <string>unichr</string> - </list> - </value> - <key> - <string>str</string> - </key> - <value> - <list> - <string>unicode</string> - </list> - </value> - </dict> - </value> - <key> - <string>CommentedCodeChecker</string> - </key> - <value> - <dict> - <key> - <string>Aggressive</string> - </key> - <value> - <bool>False</bool> - </value> - </dict> - </value> - <key> - <string>CopyrightAuthor</string> - </key> - <value> - <string></string> - </value> - <key> - <string>CopyrightMinFileSize</string> - </key> - <value> - <int>0</int> - </value> - <key> - <string>DocstringType</string> - </key> - <value> - <string>eric</string> - </value> - <key> - <string>EnabledCheckerCategories</string> - </key> - <value> - <string>C, D, E, M, N, S, W</string> - </value> - <key> - <string>ExcludeFiles</string> - </key> - <value> - <string>*/Ui_*.py, */*_rc.py,</string> - </value> - <key> - <string>ExcludeMessages</string> - </key> - <value> - <string>C101,E265,E266,E305,E402,M811,N802,N803,N807,N808,N821,W293,M201,W504</string> - </value> - <key> - <string>FixCodes</string> - </key> - <value> - <string></string> - </value> - <key> - <string>FixIssues</string> - </key> - <value> - <bool>False</bool> - </value> - <key> - <string>FutureChecker</string> - </key> - <value> - <string></string> - </value> - <key> - <string>HangClosing</string> - </key> - <value> - <bool>False</bool> - </value> - <key> - <string>IncludeMessages</string> - </key> - <value> - <string></string> - </value> - <key> - <string>LineComplexity</string> - </key> - <value> - <int>20</int> - </value> - <key> - <string>LineComplexityScore</string> - </key> - <value> - <int>10</int> - </value> - <key> - <string>MaxCodeComplexity</string> - </key> - <value> - <int>10</int> - </value> - <key> - <string>MaxDocLineLength</string> - </key> - <value> - <int>79</int> - </value> - <key> - <string>MaxLineLength</string> - </key> - <value> - <int>79</int> - </value> - <key> - <string>NoFixCodes</string> - </key> - <value> - <string>E501</string> - </value> - <key> - <string>RepeatMessages</string> - </key> - <value> - <bool>True</bool> - </value> - <key> - <string>SecurityChecker</string> - </key> - <value> - <dict> - <key> - <string>CheckTypedException</string> - </key> - <value> - <bool>False</bool> - </value> - <key> - <string>HardcodedTmpDirectories</string> - </key> - <value> - <list> - <string>/tmp</string> - <string>/var/tmp</string> - <string>/dev/shm</string> - <string>~/tmp</string> - </list> - </value> - <key> - <string>InsecureHashes</string> - </key> - <value> - <list> - <string>md4</string> - <string>md5</string> - <string>sha</string> - <string>sha1</string> - </list> - </value> - <key> - <string>InsecureSslProtocolVersions</string> - </key> - <value> - <list> - <string>PROTOCOL_SSLv2</string> - <string>SSLv2_METHOD</string> - <string>SSLv23_METHOD</string> - <string>PROTOCOL_SSLv3</string> - <string>PROTOCOL_TLSv1</string> - <string>SSLv3_METHOD</string> - <string>TLSv1_METHOD</string> - </list> - </value> - <key> - <string>WeakKeySizeDsaHigh</string> - </key> - <value> - <string>1024</string> - </value> - <key> - <string>WeakKeySizeDsaMedium</string> - </key> - <value> - <string>2048</string> - </value> - <key> - <string>WeakKeySizeEcHigh</string> - </key> - <value> - <string>160</string> - </value> - <key> - <string>WeakKeySizeEcMedium</string> - </key> - <value> - <string>224</string> - </value> - <key> - <string>WeakKeySizeRsaHigh</string> - </key> - <value> - <string>1024</string> - </value> - <key> - <string>WeakKeySizeRsaMedium</string> - </key> - <value> - <string>2048</string> - </value> - </dict> - </value> - <key> - <string>ShowIgnored</string> - </key> - <value> - <bool>False</bool> - </value> - <key> - <string>ValidEncodings</string> - </key> - <value> - <string>latin-1, utf-8</string> - </value> - </dict> - </value> - </dict> - </CheckersParams> - </Checkers> -</Project>
--- a/PluginPyLint.epj Wed Jun 02 17:36:34 2021 +0200 +++ b/PluginPyLint.epj Wed Jun 02 18:27:07 2021 +0200 @@ -109,18 +109,20 @@ "ValidEncodings": "latin-1, utf-8" } }, - "DESCRIPTION": "This plugin implements an eric5 interface to the pylint checker.", + "DESCRIPTION": "This plugin implements an interface to the pylint checker.", "DOCSTRING": "", "DOCUMENTATIONPARMS": { "ERIC4DOC": { - "cssFile": "%PYTHON%/eric6/CSSs/default.css", + "cssFile": "%PYTHON%/eric7/CSSs/default.css", "ignoreDirectories": [ - ".ropeproject" + ".ropeproject", + ".eric6project", + ".eric7project" ], "ignoreFilePatterns": [ "Ui_*" ], - "outputDirectory": "PyLint/Documentation/source", + "outputDirectory": "PyLintInterface/Documentation/source", "qtHelpEnabled": false, "useRecursion": true } @@ -128,21 +130,29 @@ "EMAIL": "detlev@die-offenbachs.de", "EOL": 1, "FILETYPES": { + "*.epj": "OTHERS", "*.idl": "INTERFACES", + "*.md": "OTHERS", + "*.proto": "PROTOCOLS", "*.py": "SOURCES", "*.py3": "SOURCES", "*.pyw": "SOURCES", "*.pyw3": "SOURCES", "*.qm": "TRANSLATIONS", - "*.qrc": "RESOURCES", + "*.rst": "OTHERS", "*.ts": "TRANSLATIONS", + "*.txt": "OTHERS", "*.ui": "FORMS", - "*.ui.h": "FORMS", - "Ui_*.py": "__IGNORE__" + "GNUmakefile": "OTHERS", + "Makefile": "OTHERS", + "README": "OTHERS", + "README.*": "OTHERS", + "Ui_*.py": "__IGNORE__", + "makefile": "OTHERS" }, "FORMS": [ - "PyLint/PyLintConfigDialog.ui", - "PyLint/PyLintExecDialog.ui" + "PyLintInterface/PyLintConfigDialog.ui", + "PyLintInterface/PyLintExecDialog.ui" ], "HASH": "abcf6641287ab95ca3df062cd9840dd92df2e42f", "IDLPARAMS": { @@ -166,16 +176,15 @@ ".hgignore", "ChangeLog", "PKGLIST", - "PluginPyLint.e4p", "PluginPyLint.zip", - "PyLint/Documentation/LICENSE.GPL3", - "PyLint/Documentation/source", - "PluginPyLint.epj" + "PluginPyLint.epj", + "PyLintInterface/Documentation/LICENSE.GPL3", + "PyLintInterface/Documentation/source" ], "OTHERTOOLSPARMS": {}, "PACKAGERSPARMS": {}, "PROGLANGUAGE": "Python3", - "PROJECTTYPE": "E6Plugin", + "PROJECTTYPE": "E7Plugin", "PROJECTTYPESPECIFICDATA": {}, "PROTOCOLS": [], "RCCPARAMS": { @@ -187,29 +196,31 @@ "RESOURCES": [], "SOURCES": [ "PluginPyLint.py", - "PyLint/PyLintConfigDialog.py", - "PyLint/PyLintExecDialog.py", - "PyLint/__init__.py", - "__init__.py" + "__init__.py", + "PyLintInterface/__init__.py", + "PyLintInterface/PyLintExecDialog.py", + "PyLintInterface/PyLintConfigDialog.py" ], "SPELLEXCLUDES": "", "SPELLLANGUAGE": "en_US", "SPELLWORDS": "", "TRANSLATIONEXCEPTIONS": [], - "TRANSLATIONPATTERN": "PyLint/i18n/pylint_%language%.ts", + "TRANSLATIONPATTERN": "PyLintInterface/i18n/pylint_%language%.ts", "TRANSLATIONS": [ - "PyLint/i18n/pylint_cs.qm", - "PyLint/i18n/pylint_cs.ts", - "PyLint/i18n/pylint_de.qm", - "PyLint/i18n/pylint_de.ts", - "PyLint/i18n/pylint_es.qm", - "PyLint/i18n/pylint_es.ts", - "PyLint/i18n/pylint_fr.qm", - "PyLint/i18n/pylint_fr.ts", - "PyLint/i18n/pylint_pt.qm", - "PyLint/i18n/pylint_pt.ts", - "PyLint/i18n/pylint_ru.qm", - "PyLint/i18n/pylint_ru.ts" + "PyLintInterface/i18n/pylint_de.qm", + "PyLintInterface/i18n/pylint_pt.ts", + "PyLintInterface/i18n/pylint_ru.ts", + "PyLintInterface/i18n/pylint_fr.qm", + "PyLintInterface/i18n/pylint_es.qm", + "PyLintInterface/i18n/pylint_fr.ts", + "PyLintInterface/i18n/pylint_es.ts", + "PyLintInterface/i18n/pylint_cs.qm", + "PyLintInterface/i18n/pylint_de.ts", + "PyLintInterface/i18n/pylint_ru.qm", + "PyLintInterface/i18n/pylint_pt.qm", + "PyLintInterface/i18n/pylint_cs.ts", + "PyLintInterface/i18n/pylint_en.ts", + "PyLintInterface/i18n/pylint_en.qm" ], "TRANSLATIONSBINPATH": "", "UICPARAMS": { @@ -259,6 +270,6 @@ "VCSOTHERDATA": { "standardLayout": true }, - "VERSION": "6.0.x" + "VERSION": "" } } \ No newline at end of file
--- a/PluginPyLint.py Wed Jun 02 17:36:34 2021 +0200 +++ b/PluginPyLint.py Wed Jun 02 18:27:07 2021 +0200 @@ -13,12 +13,12 @@ import platform import contextlib -from PyQt5.QtCore import QObject, QTranslator, QCoreApplication, QProcess -from PyQt5.QtWidgets import QDialog +from PyQt6.QtCore import QObject, QTranslator, QCoreApplication, QProcess +from PyQt6.QtWidgets import QDialog -from E5Gui.E5Application import e5App -from E5Gui.E5Action import E5Action -from E5Gui import E5MessageBox +from EricWidgets.EricApplication import ericApp +from EricGui.EricAction import EricAction +from EricWidgets import EricMessageBox from Project.ProjectBrowserModel import ProjectBrowserFileItem @@ -30,9 +30,9 @@ author = "Detlev Offenbach <detlev@die-offenbachs.de>" autoactivate = True deactivateable = True -version = "7.1.3" +version = "1.0.0" className = "PyLintPlugin" -packageName = "PyLint" +packageName = "PyLintInterface" shortDescription = "Show the PyLint dialogs." longDescription = ( """This plug-in implements the PyLint dialogs. PyLint is used to check""" @@ -51,8 +51,9 @@ """ Public method to support the display of some executable info. - @return dictionary containing the data to query the presence of + @return list of dictionaries containing the data to query the presence of the executable + @rtype list of dict """ dataList = [] data = { @@ -81,11 +82,13 @@ """ Private method to generate a program entry. - @param exe name of the executable program (string) - @return version string of detected version (string) + @param exe name of the executable program + @type str + @return version string of detected version + @rtype str """ proc = QProcess() - proc.setProcessChannelMode(QProcess.MergedChannels) + proc.setProcessChannelMode(QProcess.ProcessChannelMode.MergedChannels) proc.start(exe, ['--version']) finished = proc.waitForFinished(10000) if finished: @@ -104,8 +107,10 @@ """ Restricted function to determine the name and path of the executable. - @param majorVersion major python version of the executables (int) - @return path name of the executable (string) + @param majorVersion major python version of the executables + @type int + @return path name of the executable + @rtype str """ # Determine Python Version if majorVersion == 3: @@ -248,7 +253,8 @@ """ Restricted function to check the availability of pylint. - @return flag indicating availability (boolean) + @return flag indicating availability + @rtype bool """ global error, exePy3 @@ -257,10 +263,6 @@ error = QCoreApplication.translate( "PyLintPlugin", "The pylint executable could not be found.") return False - elif exePy3[1] < '0.23.0': - error = QCoreApplication.translate( - "PyLintPlugin", "PyLint version < 0.23.0.") - return False else: return True @@ -273,7 +275,8 @@ """ Constructor - @param ui reference to the user interface object (UI.UserInterface) + @param ui reference to the user interface object + @type UserInterface """ QObject.__init__(self, ui) self.__ui = ui @@ -304,7 +307,8 @@ """ Public method to activate this plugin. - @return tuple of None and activation status (boolean) + @return tuple of None and activation status + @rtype tuple of (None, bool) """ global error @@ -315,9 +319,9 @@ if not _checkProgram(): return None, False - menu = e5App().getObject("Project").getMenu("Checks") + menu = ericApp().getObject("Project").getMenu("Checks") if menu: - self.__projectAct = E5Action( + self.__projectAct = EricAction( self.tr('Run PyLint'), self.tr('Run &PyLint...'), 0, 0, self, 'project_check_pylint') @@ -329,10 +333,10 @@ """ pylint.</p>""" )) self.__projectAct.triggered.connect(self.__projectPylint) - e5App().getObject("Project").addE5Actions([self.__projectAct]) + ericApp().getObject("Project").addEricActions([self.__projectAct]) menu.addAction(self.__projectAct) - self.__projectShowAct = E5Action( + self.__projectShowAct = EricAction( self.tr('Show PyLint Dialog'), self.tr('Show Py&Lint Dialog...'), 0, 0, self, 'project_check_pylintshow') @@ -345,10 +349,11 @@ )) self.__projectShowAct.triggered.connect( self.__projectPylintShow) - e5App().getObject("Project").addE5Actions([self.__projectShowAct]) + ericApp().getObject("Project").addEricActions( + [self.__projectShowAct]) menu.addAction(self.__projectShowAct) - self.__editorAct = E5Action( + self.__editorAct = EricAction( self.tr('Run PyLint'), self.tr('Run &PyLint...'), 0, 0, self, "") @@ -358,15 +363,15 @@ )) self.__editorAct.triggered.connect(self.__editorPylint) - e5App().getObject("Project").showMenu.connect(self.__projectShowMenu) - e5App().getObject("ProjectBrowser").getProjectBrowser( + ericApp().getObject("Project").showMenu.connect(self.__projectShowMenu) + ericApp().getObject("ProjectBrowser").getProjectBrowser( "sources").showMenu.connect(self.__projectBrowserShowMenu) - e5App().getObject("ViewManager").editorOpenedEd.connect( + ericApp().getObject("ViewManager").editorOpenedEd.connect( self.__editorOpened) - e5App().getObject("ViewManager").editorClosedEd.connect( + ericApp().getObject("ViewManager").editorClosedEd.connect( self.__editorClosed) - for editor in e5App().getObject("ViewManager").getOpenEditors(): + for editor in ericApp().getObject("ViewManager").getOpenEditors(): self.__editorOpened(editor) error = "" @@ -376,24 +381,24 @@ """ Public method to deactivate this plugin. """ - e5App().getObject("Project").showMenu.disconnect( + ericApp().getObject("Project").showMenu.disconnect( self.__projectShowMenu) - e5App().getObject("ProjectBrowser").getProjectBrowser( + ericApp().getObject("ProjectBrowser").getProjectBrowser( "sources").showMenu.disconnect(self.__projectBrowserShowMenu) - e5App().getObject("ViewManager").editorOpenedEd.disconnect( + ericApp().getObject("ViewManager").editorOpenedEd.disconnect( self.__editorOpened) - e5App().getObject("ViewManager").editorClosedEd.disconnect( + ericApp().getObject("ViewManager").editorClosedEd.disconnect( self.__editorClosed) - menu = e5App().getObject("Project").getMenu("Checks") + menu = ericApp().getObject("Project").getMenu("Checks") if menu: if self.__projectAct: menu.removeAction(self.__projectAct) - e5App().getObject("Project").removeE5Actions( + ericApp().getObject("Project").removeEricActions( [self.__projectAct]) if self.__projectShowAct: menu.removeAction(self.__projectShowAct) - e5App().getObject("Project").removeE5Actions( + ericApp().getObject("Project").removeEricActions( [self.__projectShowAct]) if self.__projectBrowserMenu: @@ -426,7 +431,7 @@ loaded = translator.load(translation, locale_dir) if loaded: self.__translator = translator - e5App().installTranslator(self.__translator) + ericApp().installTranslator(self.__translator) else: print("Warning: translation file '{0}' could not be" " loaded.".format(translation)) @@ -437,11 +442,13 @@ Private slot called, when the the project menu or a submenu is about to be shown. - @param menuName name of the menu to be shown (string) - @param menu reference to the menu (QMenu) + @param menuName name of the menu to be shown + @type str + @param menu reference to the menu + @type QMenu """ if menuName == "Checks": - lang = e5App().getObject("Project").getProjectLanguage() + lang = ericApp().getObject("Project").getProjectLanguage() if self.__projectAct is not None: self.__projectAct.setEnabled(lang.startswith("Python")) if self.__projectShowAct is not None: @@ -453,17 +460,19 @@ Private slot called, when the the project browser menu or a submenu is about to be shown. - @param menuName name of the menu to be shown (string) - @param menu reference to the menu (QMenu) + @param menuName name of the menu to be shown + @type str + @param menu reference to the menu + @type QMenu """ if ( menuName == "Checks" and - e5App().getObject("Project").getProjectLanguage() + ericApp().getObject("Project").getProjectLanguage() .startswith("Python") ): self.__projectBrowserMenu = menu if self.__projectBrowserAct is None: - self.__projectBrowserAct = E5Action( + self.__projectBrowserAct = EricAction( self.tr('Run PyLint'), self.tr('Run &PyLint...'), 0, 0, self, '') @@ -476,7 +485,7 @@ self.__projectBrowserPylint) if self.__projectBrowserShowAct is None: - self.__projectBrowserShowAct = E5Action( + self.__projectBrowserShowAct = EricAction( self.tr('Show PyLint Dialog'), self.tr('Show Py&Lint Dialog...'), 0, 0, self, '') @@ -494,7 +503,7 @@ menu.addAction(self.__projectBrowserShowAct) enable = ( - e5App().getObject("ProjectBrowser") + ericApp().getObject("ProjectBrowser") .getProjectBrowser("sources") .getSelectedItemsCount([ProjectBrowserFileItem]) == 1) self.__projectBrowserAct.setEnabled(enable) @@ -506,41 +515,39 @@ Private method used to perform a PyLint run. @param project reference to the Project object - @param mpName name of module or package to be checked (string) - @param forProject flag indicating a run for the project (boolean) - @param forEditor flag indicating a run for an editor (boolean) + @type Project + @param mpName name of module or package to be checked + @type str + @param forProject flag indicating a run for the project + @type bool + @param forEditor flag indicating a run for an editor + @type bool """ if forEditor: parms = copy.deepcopy(self.__editorParms) - editor = e5App().getObject("ViewManager").getOpenEditor(mpName) + editor = ericApp().getObject("ViewManager").getOpenEditor(mpName) majorVersionStr = editor.getLanguage() else: parms = project.getData('CHECKERSPARMS', "PYLINT") majorVersionStr = project.getProjectLanguage() exe, version = {"Python3": exePy3}.get(majorVersionStr) if exe == '': - E5MessageBox.critical( + EricMessageBox.critical( None, self.tr("pylint"), self.tr("""The pylint executable could not be found.""")) return - elif version < '0.23.0': - E5MessageBox.critical( - None, - self.tr("pylint"), - self.tr("PyLint version < 0.23.0.")) - return - from PyLint.PyLintConfigDialog import PyLintConfigDialog + from PyLintInterface.PyLintConfigDialog import PyLintConfigDialog dlg = PyLintConfigDialog(project.getProjectPath(), exe, parms, version) - if dlg.exec() == QDialog.Accepted: + if dlg.exec() == QDialog.DialogCode.Accepted: args, parms = dlg.generateParameters() self.__editorParms = copy.deepcopy(parms) if not forEditor: project.setData('CHECKERSPARMS', "PYLINT", parms) # now do the call - from PyLint.PyLintExecDialog import PyLintExecDialog + from PyLintInterface.PyLintExecDialog import PyLintExecDialog dlg2 = PyLintExecDialog() reportFile = parms.get('reportFile', None) res = dlg2.start(args, mpName, reportFile, @@ -558,7 +565,7 @@ """ Private slot used to check the project files with Pylint. """ - project = e5App().getObject("Project") + project = ericApp().getObject("Project") project.saveAllScripts() self.__pyLint(project, project.getProjectPath(), True) @@ -575,9 +582,9 @@ Private method to handle the Pylint context menu action of the project sources browser. """ - project = e5App().getObject("Project") + project = ericApp().getObject("Project") browser = ( - e5App().getObject("ProjectBrowser").getProjectBrowser("sources") + ericApp().getObject("ProjectBrowser").getProjectBrowser("sources") ) itm = browser.model().item(browser.currentIndex()) try: @@ -598,7 +605,8 @@ """ Private slot called, when a new editor was opened. - @param editor reference to the new editor (QScintilla.Editor) + @param editor reference to the new editor + @type Editor """ menu = editor.getMenu("Checks") if menu is not None: @@ -610,7 +618,8 @@ """ Private slot called, when an editor was closed. - @param editor reference to the editor (QScintilla.Editor) + @param editor reference to the editor + @type Editor """ with contextlib.suppress(ValueError): self.__editors.remove(editor) @@ -620,9 +629,12 @@ Private slot called, when the the editor context menu or a submenu is about to be shown. - @param menuName name of the menu to be shown (string) - @param menu reference to the menu (QMenu) - @param editor reference to the editor (QScintilla.Editor) + @param menuName name of the menu to be shown + @type str + @param menu reference to the menu + @type QMenu + @param editor reference to the editor + @type Editor """ if menuName == "Checks": if self.__editorAct not in menu.actions(): @@ -633,7 +645,7 @@ """ Private slot to handle the Pylint context menu action of the editors. """ - editor = e5App().getObject("ViewManager").activeWindow() + editor = ericApp().getObject("ViewManager").activeWindow() if ( editor is not None and not editor.checkDirty() @@ -641,8 +653,21 @@ return fn = editor.getFileName() - project = e5App().getObject("Project") + project = ericApp().getObject("Project") self.__pyLint(project, fn, False, True) + +def installDependencies(pipInstall): + """ + Function to install dependencies of this plug-in. + + @param pipInstall function to be called with a list of package names. + @type function + """ + try: + import pylint # __IGNORE_WARNING__ + except ImportError: + pipInstall(["pylint"]) + # # eflag: noqa = M801
--- a/PyLint/Documentation/LICENSE.GPL3 Wed Jun 02 17:36:34 2021 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,621 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 3, 29 June 2007 - - Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/> - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The GNU General Public License is a free, copyleft license for -software and other kinds of works. - - The licenses for most software and other practical works are designed -to take away your freedom to share and change the works. By contrast, -the GNU General Public License is intended to guarantee your freedom to -share and change all versions of a program--to make sure it remains free -software for all its users. We, the Free Software Foundation, use the -GNU General Public License for most of our software; it applies also to -any other work released this way by its authors. You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -them if you wish), that you receive source code or can get it if you -want it, that you can change the software or use pieces of it in new -free programs, and that you know you can do these things. - - To protect your rights, we need to prevent others from denying you -these rights or asking you to surrender the rights. Therefore, you have -certain responsibilities if you distribute copies of the software, or if -you modify it: responsibilities to respect the freedom of others. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must pass on to the recipients the same -freedoms that you received. You must make sure that they, too, receive -or can get the source code. And you must show them these terms so they -know their rights. - - Developers that use the GNU GPL protect your rights with two steps: -(1) assert copyright on the software, and (2) offer you this License -giving you legal permission to copy, distribute and/or modify it. - - For the developers' and authors' protection, the GPL clearly explains -that there is no warranty for this free software. For both users' and -authors' sake, the GPL requires that modified versions be marked as -changed, so that their problems will not be attributed erroneously to -authors of previous versions. - - Some devices are designed to deny users access to install or run -modified versions of the software inside them, although the manufacturer -can do so. This is fundamentally incompatible with the aim of -protecting users' freedom to change the software. The systematic -pattern of such abuse occurs in the area of products for individuals to -use, which is precisely where it is most unacceptable. Therefore, we -have designed this version of the GPL to prohibit the practice for those -products. If such problems arise substantially in other domains, we -stand ready to extend this provision to those domains in future versions -of the GPL, as needed to protect the freedom of users. - - Finally, every program is threatened constantly by software patents. -States should not allow patents to restrict development and use of -software on general-purpose computers, but in those that do, we wish to -avoid the special danger that patents applied to a free program could -make it effectively proprietary. To prevent this, the GPL assures that -patents cannot be used to render the program non-free. - - The precise terms and conditions for copying, distribution and -modification follow. - - TERMS AND CONDITIONS - - 0. Definitions. - - "This License" refers to version 3 of the GNU General Public License. - - "Copyright" also means copyright-like laws that apply to other kinds of -works, such as semiconductor masks. - - "The Program" refers to any copyrightable work licensed under this -License. Each licensee is addressed as "you". "Licensees" and -"recipients" may be individuals or organizations. - - To "modify" a work means to copy from or adapt all or part of the work -in a fashion requiring copyright permission, other than the making of an -exact copy. The resulting work is called a "modified version" of the -earlier work or a work "based on" the earlier work. - - A "covered work" means either the unmodified Program or a work based -on the Program. - - To "propagate" a work means to do anything with it that, without -permission, would make you directly or secondarily liable for -infringement under applicable copyright law, except executing it on a -computer or modifying a private copy. Propagation includes copying, -distribution (with or without modification), making available to the -public, and in some countries other activities as well. - - To "convey" a work means any kind of propagation that enables other -parties to make or receive copies. Mere interaction with a user through -a computer network, with no transfer of a copy, is not conveying. - - An interactive user interface displays "Appropriate Legal Notices" -to the extent that it includes a convenient and prominently visible -feature that (1) displays an appropriate copyright notice, and (2) -tells the user that there is no warranty for the work (except to the -extent that warranties are provided), that licensees may convey the -work under this License, and how to view a copy of this License. If -the interface presents a list of user commands or options, such as a -menu, a prominent item in the list meets this criterion. - - 1. Source Code. - - The "source code" for a work means the preferred form of the work -for making modifications to it. "Object code" means any non-source -form of a work. - - A "Standard Interface" means an interface that either is an official -standard defined by a recognized standards body, or, in the case of -interfaces specified for a particular programming language, one that -is widely used among developers working in that language. - - The "System Libraries" of an executable work include anything, other -than the work as a whole, that (a) is included in the normal form of -packaging a Major Component, but which is not part of that Major -Component, and (b) serves only to enable use of the work with that -Major Component, or to implement a Standard Interface for which an -implementation is available to the public in source code form. A -"Major Component", in this context, means a major essential component -(kernel, window system, and so on) of the specific operating system -(if any) on which the executable work runs, or a compiler used to -produce the work, or an object code interpreter used to run it. - - The "Corresponding Source" for a work in object code form means all -the source code needed to generate, install, and (for an executable -work) run the object code and to modify the work, including scripts to -control those activities. However, it does not include the work's -System Libraries, or general-purpose tools or generally available free -programs which are used unmodified in performing those activities but -which are not part of the work. For example, Corresponding Source -includes interface definition files associated with source files for -the work, and the source code for shared libraries and dynamically -linked subprograms that the work is specifically designed to require, -such as by intimate data communication or control flow between those -subprograms and other parts of the work. - - The Corresponding Source need not include anything that users -can regenerate automatically from other parts of the Corresponding -Source. - - The Corresponding Source for a work in source code form is that -same work. - - 2. Basic Permissions. - - All rights granted under this License are granted for the term of -copyright on the Program, and are irrevocable provided the stated -conditions are met. This License explicitly affirms your unlimited -permission to run the unmodified Program. The output from running a -covered work is covered by this License only if the output, given its -content, constitutes a covered work. This License acknowledges your -rights of fair use or other equivalent, as provided by copyright law. - - You may make, run and propagate covered works that you do not -convey, without conditions so long as your license otherwise remains -in force. You may convey covered works to others for the sole purpose -of having them make modifications exclusively for you, or provide you -with facilities for running those works, provided that you comply with -the terms of this License in conveying all material for which you do -not control copyright. Those thus making or running the covered works -for you must do so exclusively on your behalf, under your direction -and control, on terms that prohibit them from making any copies of -your copyrighted material outside their relationship with you. - - Conveying under any other circumstances is permitted solely under -the conditions stated below. Sublicensing is not allowed; section 10 -makes it unnecessary. - - 3. Protecting Users' Legal Rights From Anti-Circumvention Law. - - No covered work shall be deemed part of an effective technological -measure under any applicable law fulfilling obligations under article -11 of the WIPO copyright treaty adopted on 20 December 1996, or -similar laws prohibiting or restricting circumvention of such -measures. - - When you convey a covered work, you waive any legal power to forbid -circumvention of technological measures to the extent such circumvention -is effected by exercising rights under this License with respect to -the covered work, and you disclaim any intention to limit operation or -modification of the work as a means of enforcing, against the work's -users, your or third parties' legal rights to forbid circumvention of -technological measures. - - 4. Conveying Verbatim Copies. - - You may convey verbatim copies of the Program's source code as you -receive it, in any medium, provided that you conspicuously and -appropriately publish on each copy an appropriate copyright notice; -keep intact all notices stating that this License and any -non-permissive terms added in accord with section 7 apply to the code; -keep intact all notices of the absence of any warranty; and give all -recipients a copy of this License along with the Program. - - You may charge any price or no price for each copy that you convey, -and you may offer support or warranty protection for a fee. - - 5. Conveying Modified Source Versions. - - You may convey a work based on the Program, or the modifications to -produce it from the Program, in the form of source code under the -terms of section 4, provided that you also meet all of these conditions: - - a) The work must carry prominent notices stating that you modified - it, and giving a relevant date. - - b) The work must carry prominent notices stating that it is - released under this License and any conditions added under section - 7. This requirement modifies the requirement in section 4 to - "keep intact all notices". - - c) You must license the entire work, as a whole, under this - License to anyone who comes into possession of a copy. This - License will therefore apply, along with any applicable section 7 - additional terms, to the whole of the work, and all its parts, - regardless of how they are packaged. This License gives no - permission to license the work in any other way, but it does not - invalidate such permission if you have separately received it. - - d) If the work has interactive user interfaces, each must display - Appropriate Legal Notices; however, if the Program has interactive - interfaces that do not display Appropriate Legal Notices, your - work need not make them do so. - - A compilation of a covered work with other separate and independent -works, which are not by their nature extensions of the covered work, -and which are not combined with it such as to form a larger program, -in or on a volume of a storage or distribution medium, is called an -"aggregate" if the compilation and its resulting copyright are not -used to limit the access or legal rights of the compilation's users -beyond what the individual works permit. Inclusion of a covered work -in an aggregate does not cause this License to apply to the other -parts of the aggregate. - - 6. Conveying Non-Source Forms. - - You may convey a covered work in object code form under the terms -of sections 4 and 5, provided that you also convey the -machine-readable Corresponding Source under the terms of this License, -in one of these ways: - - a) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by the - Corresponding Source fixed on a durable physical medium - customarily used for software interchange. - - b) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by a - written offer, valid for at least three years and valid for as - long as you offer spare parts or customer support for that product - model, to give anyone who possesses the object code either (1) a - copy of the Corresponding Source for all the software in the - product that is covered by this License, on a durable physical - medium customarily used for software interchange, for a price no - more than your reasonable cost of physically performing this - conveying of source, or (2) access to copy the - Corresponding Source from a network server at no charge. - - c) Convey individual copies of the object code with a copy of the - written offer to provide the Corresponding Source. This - alternative is allowed only occasionally and noncommercially, and - only if you received the object code with such an offer, in accord - with subsection 6b. - - d) Convey the object code by offering access from a designated - place (gratis or for a charge), and offer equivalent access to the - Corresponding Source in the same way through the same place at no - further charge. You need not require recipients to copy the - Corresponding Source along with the object code. If the place to - copy the object code is a network server, the Corresponding Source - may be on a different server (operated by you or a third party) - that supports equivalent copying facilities, provided you maintain - clear directions next to the object code saying where to find the - Corresponding Source. Regardless of what server hosts the - Corresponding Source, you remain obligated to ensure that it is - available for as long as needed to satisfy these requirements. - - e) Convey the object code using peer-to-peer transmission, provided - you inform other peers where the object code and Corresponding - Source of the work are being offered to the general public at no - charge under subsection 6d. - - A separable portion of the object code, whose source code is excluded -from the Corresponding Source as a System Library, need not be -included in conveying the object code work. - - A "User Product" is either (1) a "consumer product", which means any -tangible personal property which is normally used for personal, family, -or household purposes, or (2) anything designed or sold for incorporation -into a dwelling. In determining whether a product is a consumer product, -doubtful cases shall be resolved in favor of coverage. For a particular -product received by a particular user, "normally used" refers to a -typical or common use of that class of product, regardless of the status -of the particular user or of the way in which the particular user -actually uses, or expects or is expected to use, the product. A product -is a consumer product regardless of whether the product has substantial -commercial, industrial or non-consumer uses, unless such uses represent -the only significant mode of use of the product. - - "Installation Information" for a User Product means any methods, -procedures, authorization keys, or other information required to install -and execute modified versions of a covered work in that User Product from -a modified version of its Corresponding Source. The information must -suffice to ensure that the continued functioning of the modified object -code is in no case prevented or interfered with solely because -modification has been made. - - If you convey an object code work under this section in, or with, or -specifically for use in, a User Product, and the conveying occurs as -part of a transaction in which the right of possession and use of the -User Product is transferred to the recipient in perpetuity or for a -fixed term (regardless of how the transaction is characterized), the -Corresponding Source conveyed under this section must be accompanied -by the Installation Information. But this requirement does not apply -if neither you nor any third party retains the ability to install -modified object code on the User Product (for example, the work has -been installed in ROM). - - The requirement to provide Installation Information does not include a -requirement to continue to provide support service, warranty, or updates -for a work that has been modified or installed by the recipient, or for -the User Product in which it has been modified or installed. Access to a -network may be denied when the modification itself materially and -adversely affects the operation of the network or violates the rules and -protocols for communication across the network. - - Corresponding Source conveyed, and Installation Information provided, -in accord with this section must be in a format that is publicly -documented (and with an implementation available to the public in -source code form), and must require no special password or key for -unpacking, reading or copying. - - 7. Additional Terms. - - "Additional permissions" are terms that supplement the terms of this -License by making exceptions from one or more of its conditions. -Additional permissions that are applicable to the entire Program shall -be treated as though they were included in this License, to the extent -that they are valid under applicable law. If additional permissions -apply only to part of the Program, that part may be used separately -under those permissions, but the entire Program remains governed by -this License without regard to the additional permissions. - - When you convey a copy of a covered work, you may at your option -remove any additional permissions from that copy, or from any part of -it. (Additional permissions may be written to require their own -removal in certain cases when you modify the work.) You may place -additional permissions on material, added by you to a covered work, -for which you have or can give appropriate copyright permission. - - Notwithstanding any other provision of this License, for material you -add to a covered work, you may (if authorized by the copyright holders of -that material) supplement the terms of this License with terms: - - a) Disclaiming warranty or limiting liability differently from the - terms of sections 15 and 16 of this License; or - - b) Requiring preservation of specified reasonable legal notices or - author attributions in that material or in the Appropriate Legal - Notices displayed by works containing it; or - - c) Prohibiting misrepresentation of the origin of that material, or - requiring that modified versions of such material be marked in - reasonable ways as different from the original version; or - - d) Limiting the use for publicity purposes of names of licensors or - authors of the material; or - - e) Declining to grant rights under trademark law for use of some - trade names, trademarks, or service marks; or - - f) Requiring indemnification of licensors and authors of that - material by anyone who conveys the material (or modified versions of - it) with contractual assumptions of liability to the recipient, for - any liability that these contractual assumptions directly impose on - those licensors and authors. - - All other non-permissive additional terms are considered "further -restrictions" within the meaning of section 10. If the Program as you -received it, or any part of it, contains a notice stating that it is -governed by this License along with a term that is a further -restriction, you may remove that term. If a license document contains -a further restriction but permits relicensing or conveying under this -License, you may add to a covered work material governed by the terms -of that license document, provided that the further restriction does -not survive such relicensing or conveying. - - If you add terms to a covered work in accord with this section, you -must place, in the relevant source files, a statement of the -additional terms that apply to those files, or a notice indicating -where to find the applicable terms. - - Additional terms, permissive or non-permissive, may be stated in the -form of a separately written license, or stated as exceptions; -the above requirements apply either way. - - 8. Termination. - - You may not propagate or modify a covered work except as expressly -provided under this License. Any attempt otherwise to propagate or -modify it is void, and will automatically terminate your rights under -this License (including any patent licenses granted under the third -paragraph of section 11). - - However, if you cease all violation of this License, then your -license from a particular copyright holder is reinstated (a) -provisionally, unless and until the copyright holder explicitly and -finally terminates your license, and (b) permanently, if the copyright -holder fails to notify you of the violation by some reasonable means -prior to 60 days after the cessation. - - Moreover, your license from a particular copyright holder is -reinstated permanently if the copyright holder notifies you of the -violation by some reasonable means, this is the first time you have -received notice of violation of this License (for any work) from that -copyright holder, and you cure the violation prior to 30 days after -your receipt of the notice. - - Termination of your rights under this section does not terminate the -licenses of parties who have received copies or rights from you under -this License. If your rights have been terminated and not permanently -reinstated, you do not qualify to receive new licenses for the same -material under section 10. - - 9. Acceptance Not Required for Having Copies. - - You are not required to accept this License in order to receive or -run a copy of the Program. Ancillary propagation of a covered work -occurring solely as a consequence of using peer-to-peer transmission -to receive a copy likewise does not require acceptance. However, -nothing other than this License grants you permission to propagate or -modify any covered work. These actions infringe copyright if you do -not accept this License. Therefore, by modifying or propagating a -covered work, you indicate your acceptance of this License to do so. - - 10. Automatic Licensing of Downstream Recipients. - - Each time you convey a covered work, the recipient automatically -receives a license from the original licensors, to run, modify and -propagate that work, subject to this License. You are not responsible -for enforcing compliance by third parties with this License. - - An "entity transaction" is a transaction transferring control of an -organization, or substantially all assets of one, or subdividing an -organization, or merging organizations. If propagation of a covered -work results from an entity transaction, each party to that -transaction who receives a copy of the work also receives whatever -licenses to the work the party's predecessor in interest had or could -give under the previous paragraph, plus a right to possession of the -Corresponding Source of the work from the predecessor in interest, if -the predecessor has it or can get it with reasonable efforts. - - You may not impose any further restrictions on the exercise of the -rights granted or affirmed under this License. For example, you may -not impose a license fee, royalty, or other charge for exercise of -rights granted under this License, and you may not initiate litigation -(including a cross-claim or counterclaim in a lawsuit) alleging that -any patent claim is infringed by making, using, selling, offering for -sale, or importing the Program or any portion of it. - - 11. Patents. - - A "contributor" is a copyright holder who authorizes use under this -License of the Program or a work on which the Program is based. The -work thus licensed is called the contributor's "contributor version". - - A contributor's "essential patent claims" are all patent claims -owned or controlled by the contributor, whether already acquired or -hereafter acquired, that would be infringed by some manner, permitted -by this License, of making, using, or selling its contributor version, -but do not include claims that would be infringed only as a -consequence of further modification of the contributor version. For -purposes of this definition, "control" includes the right to grant -patent sublicenses in a manner consistent with the requirements of -this License. - - Each contributor grants you a non-exclusive, worldwide, royalty-free -patent license under the contributor's essential patent claims, to -make, use, sell, offer for sale, import and otherwise run, modify and -propagate the contents of its contributor version. - - In the following three paragraphs, a "patent license" is any express -agreement or commitment, however denominated, not to enforce a patent -(such as an express permission to practice a patent or covenant not to -sue for patent infringement). To "grant" such a patent license to a -party means to make such an agreement or commitment not to enforce a -patent against the party. - - If you convey a covered work, knowingly relying on a patent license, -and the Corresponding Source of the work is not available for anyone -to copy, free of charge and under the terms of this License, through a -publicly available network server or other readily accessible means, -then you must either (1) cause the Corresponding Source to be so -available, or (2) arrange to deprive yourself of the benefit of the -patent license for this particular work, or (3) arrange, in a manner -consistent with the requirements of this License, to extend the patent -license to downstream recipients. "Knowingly relying" means you have -actual knowledge that, but for the patent license, your conveying the -covered work in a country, or your recipient's use of the covered work -in a country, would infringe one or more identifiable patents in that -country that you have reason to believe are valid. - - If, pursuant to or in connection with a single transaction or -arrangement, you convey, or propagate by procuring conveyance of, a -covered work, and grant a patent license to some of the parties -receiving the covered work authorizing them to use, propagate, modify -or convey a specific copy of the covered work, then the patent license -you grant is automatically extended to all recipients of the covered -work and works based on it. - - A patent license is "discriminatory" if it does not include within -the scope of its coverage, prohibits the exercise of, or is -conditioned on the non-exercise of one or more of the rights that are -specifically granted under this License. You may not convey a covered -work if you are a party to an arrangement with a third party that is -in the business of distributing software, under which you make payment -to the third party based on the extent of your activity of conveying -the work, and under which the third party grants, to any of the -parties who would receive the covered work from you, a discriminatory -patent license (a) in connection with copies of the covered work -conveyed by you (or copies made from those copies), or (b) primarily -for and in connection with specific products or compilations that -contain the covered work, unless you entered into that arrangement, -or that patent license was granted, prior to 28 March 2007. - - Nothing in this License shall be construed as excluding or limiting -any implied license or other defenses to infringement that may -otherwise be available to you under applicable patent law. - - 12. No Surrender of Others' Freedom. - - If conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot convey a -covered work so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you may -not convey it at all. For example, if you agree to terms that obligate you -to collect a royalty for further conveying from those to whom you convey -the Program, the only way you could satisfy both those terms and this -License would be to refrain entirely from conveying the Program. - - 13. Use with the GNU Affero General Public License. - - Notwithstanding any other provision of this License, you have -permission to link or combine any covered work with a work licensed -under version 3 of the GNU Affero General Public License into a single -combined work, and to convey the resulting work. The terms of this -License will continue to apply to the part which is the covered work, -but the special requirements of the GNU Affero General Public License, -section 13, concerning interaction through a network will apply to the -combination as such. - - 14. Revised Versions of this License. - - The Free Software Foundation may publish revised and/or new versions of -the GNU General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - - Each version is given a distinguishing version number. If the -Program specifies that a certain numbered version of the GNU General -Public License "or any later version" applies to it, you have the -option of following the terms and conditions either of that numbered -version or of any later version published by the Free Software -Foundation. If the Program does not specify a version number of the -GNU General Public License, you may choose any version ever published -by the Free Software Foundation. - - If the Program specifies that a proxy can decide which future -versions of the GNU General Public License can be used, that proxy's -public statement of acceptance of a version permanently authorizes you -to choose that version for the Program. - - Later license versions may give you additional or different -permissions. However, no additional obligations are imposed on any -author or copyright holder as a result of your choosing to follow a -later version. - - 15. Disclaimer of Warranty. - - THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY -APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT -HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY -OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, -THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM -IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF -ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. Limitation of Liability. - - IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS -THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY -GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE -USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF -DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD -PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), -EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF -SUCH DAMAGES. - - 17. Interpretation of Sections 15 and 16. - - If the disclaimer of warranty and limitation of liability provided -above cannot be given local legal effect according to their terms, -reviewing courts shall apply local law that most closely approximates -an absolute waiver of all civil liability in connection with the -Program, unless a warranty or assumption of liability accompanies a -copy of the Program in return for a fee. - - END OF TERMS AND CONDITIONS
--- a/PyLint/Documentation/source/Plugin_Checker_PyLint.PluginPyLint.html Wed Jun 02 17:36:34 2021 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,451 +0,0 @@ -<!DOCTYPE html> -<html><head> -<title>Plugin_Checker_PyLint.PluginPyLint</title> -<meta charset="UTF-8"> -<style> -body { - background: #EDECE6; - margin: 0em 1em 10em 1em; - color: black; -} - -h1 { color: white; background: #85774A; } -h2 { color: white; background: #85774A; } -h3 { color: white; background: #9D936E; } -h4 { color: white; background: #9D936E; } - -a { color: #BA6D36; } - -</style> -</head> -<body> -<a NAME="top" ID="top"></a> -<h1>Plugin_Checker_PyLint.PluginPyLint</h1> - -<p> -Module implementing the PyLint plug-in. -</p> -<h3>Global Attributes</h3> - -<table> -<tr><td>author</td></tr><tr><td>autoactivate</td></tr><tr><td>className</td></tr><tr><td>deactivateable</td></tr><tr><td>error</td></tr><tr><td>exePy3</td></tr><tr><td>longDescription</td></tr><tr><td>name</td></tr><tr><td>needsRestart</td></tr><tr><td>packageName</td></tr><tr><td>pyqtApi</td></tr><tr><td>shortDescription</td></tr><tr><td>version</td></tr> -</table> -<h3>Classes</h3> - -<table> - -<tr> -<td><a href="#PyLintPlugin">PyLintPlugin</a></td> -<td>Class implementing the PyLint plug-in.</td> -</tr> -</table> -<h3>Functions</h3> - -<table> - -<tr> -<td><a href="#__getProgramVersion">__getProgramVersion</a></td> -<td>Private method to generate a program entry.</td> -</tr> -<tr> -<td><a href="#_checkProgram">_checkProgram</a></td> -<td>Restricted function to check the availability of pylint.</td> -</tr> -<tr> -<td><a href="#_findExecutable">_findExecutable</a></td> -<td>Restricted function to determine the name and path of the executable.</td> -</tr> -<tr> -<td><a href="#exeDisplayDataList">exeDisplayDataList</a></td> -<td>Public method to support the display of some executable info.</td> -</tr> -<tr> -<td><a href="#getExePath">getExePath</a></td> -<td></td> -</tr> -</table> -<hr /> -<hr /> -<a NAME="PyLintPlugin" ID="PyLintPlugin"></a> -<h2>PyLintPlugin</h2> - -<p> - Class implementing the PyLint plug-in. -</p> -<h3>Derived from</h3> -QObject -<h3>Class Attributes</h3> - -<table> -<tr><td>None</td></tr> -</table> -<h3>Class Methods</h3> - -<table> -<tr><td>None</td></tr> -</table> -<h3>Methods</h3> - -<table> - -<tr> -<td><a href="#PyLintPlugin.__init__">PyLintPlugin</a></td> -<td>Constructor</td> -</tr> -<tr> -<td><a href="#PyLintPlugin.__editorClosed">__editorClosed</a></td> -<td>Private slot called, when an editor was closed.</td> -</tr> -<tr> -<td><a href="#PyLintPlugin.__editorOpened">__editorOpened</a></td> -<td>Private slot called, when a new editor was opened.</td> -</tr> -<tr> -<td><a href="#PyLintPlugin.__editorPylint">__editorPylint</a></td> -<td>Private slot to handle the Pylint context menu action of the editors.</td> -</tr> -<tr> -<td><a href="#PyLintPlugin.__editorShowMenu">__editorShowMenu</a></td> -<td>Private slot called, when the the editor context menu or a submenu is about to be shown.</td> -</tr> -<tr> -<td><a href="#PyLintPlugin.__initialize">__initialize</a></td> -<td>Private slot to (re)initialize the plugin.</td> -</tr> -<tr> -<td><a href="#PyLintPlugin.__loadTranslator">__loadTranslator</a></td> -<td>Private method to load the translation file.</td> -</tr> -<tr> -<td><a href="#PyLintPlugin.__projectBrowserPylint">__projectBrowserPylint</a></td> -<td>Private method to handle the Pylint context menu action of the project sources browser.</td> -</tr> -<tr> -<td><a href="#PyLintPlugin.__projectBrowserPylintShow">__projectBrowserPylintShow</a></td> -<td>Private slot to show the PyLint dialog with the results of the last run.</td> -</tr> -<tr> -<td><a href="#PyLintPlugin.__projectBrowserShowMenu">__projectBrowserShowMenu</a></td> -<td>Private slot called, when the the project browser menu or a submenu is about to be shown.</td> -</tr> -<tr> -<td><a href="#PyLintPlugin.__projectPylint">__projectPylint</a></td> -<td>Private slot used to check the project files with Pylint.</td> -</tr> -<tr> -<td><a href="#PyLintPlugin.__projectPylintShow">__projectPylintShow</a></td> -<td>Private slot to show the PyLint dialog with the results of the last run.</td> -</tr> -<tr> -<td><a href="#PyLintPlugin.__projectShowMenu">__projectShowMenu</a></td> -<td>Private slot called, when the the project menu or a submenu is about to be shown.</td> -</tr> -<tr> -<td><a href="#PyLintPlugin.__pyLint">__pyLint</a></td> -<td>Private method used to perform a PyLint run.</td> -</tr> -<tr> -<td><a href="#PyLintPlugin.activate">activate</a></td> -<td>Public method to activate this plugin.</td> -</tr> -<tr> -<td><a href="#PyLintPlugin.deactivate">deactivate</a></td> -<td>Public method to deactivate this plugin.</td> -</tr> -</table> -<h3>Static Methods</h3> - -<table> -<tr><td>None</td></tr> -</table> - -<a NAME="PyLintPlugin.__init__" ID="PyLintPlugin.__init__"></a> -<h4>PyLintPlugin (Constructor)</h4> -<b>PyLintPlugin</b>(<i>ui</i>) - -<p> - Constructor -</p> -<dl> - -<dt><i>ui</i></dt> -<dd> -reference to the user interface object (UI.UserInterface) -</dd> -</dl> -<a NAME="PyLintPlugin.__editorClosed" ID="PyLintPlugin.__editorClosed"></a> -<h4>PyLintPlugin.__editorClosed</h4> -<b>__editorClosed</b>(<i>editor</i>) - -<p> - Private slot called, when an editor was closed. -</p> -<dl> - -<dt><i>editor</i></dt> -<dd> -reference to the editor (QScintilla.Editor) -</dd> -</dl> -<a NAME="PyLintPlugin.__editorOpened" ID="PyLintPlugin.__editorOpened"></a> -<h4>PyLintPlugin.__editorOpened</h4> -<b>__editorOpened</b>(<i>editor</i>) - -<p> - Private slot called, when a new editor was opened. -</p> -<dl> - -<dt><i>editor</i></dt> -<dd> -reference to the new editor (QScintilla.Editor) -</dd> -</dl> -<a NAME="PyLintPlugin.__editorPylint" ID="PyLintPlugin.__editorPylint"></a> -<h4>PyLintPlugin.__editorPylint</h4> -<b>__editorPylint</b>(<i></i>) - -<p> - Private slot to handle the Pylint context menu action of the editors. -</p> -<a NAME="PyLintPlugin.__editorShowMenu" ID="PyLintPlugin.__editorShowMenu"></a> -<h4>PyLintPlugin.__editorShowMenu</h4> -<b>__editorShowMenu</b>(<i>menuName, menu, editor</i>) - -<p> - Private slot called, when the the editor context menu or a submenu is - about to be shown. -</p> -<dl> - -<dt><i>menuName</i></dt> -<dd> -name of the menu to be shown (string) -</dd> -<dt><i>menu</i></dt> -<dd> -reference to the menu (QMenu) -</dd> -<dt><i>editor</i></dt> -<dd> -reference to the editor (QScintilla.Editor) -</dd> -</dl> -<a NAME="PyLintPlugin.__initialize" ID="PyLintPlugin.__initialize"></a> -<h4>PyLintPlugin.__initialize</h4> -<b>__initialize</b>(<i></i>) - -<p> - Private slot to (re)initialize the plugin. -</p> -<a NAME="PyLintPlugin.__loadTranslator" ID="PyLintPlugin.__loadTranslator"></a> -<h4>PyLintPlugin.__loadTranslator</h4> -<b>__loadTranslator</b>(<i></i>) - -<p> - Private method to load the translation file. -</p> -<a NAME="PyLintPlugin.__projectBrowserPylint" ID="PyLintPlugin.__projectBrowserPylint"></a> -<h4>PyLintPlugin.__projectBrowserPylint</h4> -<b>__projectBrowserPylint</b>(<i></i>) - -<p> - Private method to handle the Pylint context menu action of the project - sources browser. -</p> -<a NAME="PyLintPlugin.__projectBrowserPylintShow" ID="PyLintPlugin.__projectBrowserPylintShow"></a> -<h4>PyLintPlugin.__projectBrowserPylintShow</h4> -<b>__projectBrowserPylintShow</b>(<i></i>) - -<p> - Private slot to show the PyLint dialog with the results of the last - run. -</p> -<a NAME="PyLintPlugin.__projectBrowserShowMenu" ID="PyLintPlugin.__projectBrowserShowMenu"></a> -<h4>PyLintPlugin.__projectBrowserShowMenu</h4> -<b>__projectBrowserShowMenu</b>(<i>menuName, menu</i>) - -<p> - Private slot called, when the the project browser menu or a submenu is - about to be shown. -</p> -<dl> - -<dt><i>menuName</i></dt> -<dd> -name of the menu to be shown (string) -</dd> -<dt><i>menu</i></dt> -<dd> -reference to the menu (QMenu) -</dd> -</dl> -<a NAME="PyLintPlugin.__projectPylint" ID="PyLintPlugin.__projectPylint"></a> -<h4>PyLintPlugin.__projectPylint</h4> -<b>__projectPylint</b>(<i></i>) - -<p> - Private slot used to check the project files with Pylint. -</p> -<a NAME="PyLintPlugin.__projectPylintShow" ID="PyLintPlugin.__projectPylintShow"></a> -<h4>PyLintPlugin.__projectPylintShow</h4> -<b>__projectPylintShow</b>(<i></i>) - -<p> - Private slot to show the PyLint dialog with the results of the last - run. -</p> -<a NAME="PyLintPlugin.__projectShowMenu" ID="PyLintPlugin.__projectShowMenu"></a> -<h4>PyLintPlugin.__projectShowMenu</h4> -<b>__projectShowMenu</b>(<i>menuName, menu</i>) - -<p> - Private slot called, when the the project menu or a submenu is - about to be shown. -</p> -<dl> - -<dt><i>menuName</i></dt> -<dd> -name of the menu to be shown (string) -</dd> -<dt><i>menu</i></dt> -<dd> -reference to the menu (QMenu) -</dd> -</dl> -<a NAME="PyLintPlugin.__pyLint" ID="PyLintPlugin.__pyLint"></a> -<h4>PyLintPlugin.__pyLint</h4> -<b>__pyLint</b>(<i>project, mpName, forProject, forEditor=False</i>) - -<p> - Private method used to perform a PyLint run. -</p> -<dl> - -<dt><i>project</i></dt> -<dd> -reference to the Project object -</dd> -<dt><i>mpName</i></dt> -<dd> -name of module or package to be checked (string) -</dd> -<dt><i>forProject</i></dt> -<dd> -flag indicating a run for the project (boolean) -</dd> -<dt><i>forEditor</i></dt> -<dd> -flag indicating a run for an editor (boolean) -</dd> -</dl> -<a NAME="PyLintPlugin.activate" ID="PyLintPlugin.activate"></a> -<h4>PyLintPlugin.activate</h4> -<b>activate</b>(<i></i>) - -<p> - Public method to activate this plugin. -</p> -<dl> -<dt>Return:</dt> -<dd> -tuple of None and activation status (boolean) -</dd> -</dl> -<a NAME="PyLintPlugin.deactivate" ID="PyLintPlugin.deactivate"></a> -<h4>PyLintPlugin.deactivate</h4> -<b>deactivate</b>(<i></i>) - -<p> - Public method to deactivate this plugin. -</p> -<div align="right"><a href="#top">Up</a></div> -<hr /> -<hr /> -<a NAME="__getProgramVersion" ID="__getProgramVersion"></a> -<h2>__getProgramVersion</h2> -<b>__getProgramVersion</b>(<i>exe</i>) - -<p> - Private method to generate a program entry. -</p> -<dl> - -<dt><i>exe</i></dt> -<dd> -name of the executable program (string) -</dd> -</dl> -<dl> -<dt>Return:</dt> -<dd> -version string of detected version (string) -</dd> -</dl> -<div align="right"><a href="#top">Up</a></div> -<hr /> -<hr /> -<a NAME="_checkProgram" ID="_checkProgram"></a> -<h2>_checkProgram</h2> -<b>_checkProgram</b>(<i></i>) - -<p> - Restricted function to check the availability of pylint. -</p> -<dl> -<dt>Return:</dt> -<dd> -flag indicating availability (boolean) -</dd> -</dl> -<div align="right"><a href="#top">Up</a></div> -<hr /> -<hr /> -<a NAME="_findExecutable" ID="_findExecutable"></a> -<h2>_findExecutable</h2> -<b>_findExecutable</b>(<i>majorVersion</i>) - -<p> - Restricted function to determine the name and path of the executable. -</p> -<dl> - -<dt><i>majorVersion</i></dt> -<dd> -major python version of the executables (int) -</dd> -</dl> -<dl> -<dt>Return:</dt> -<dd> -path name of the executable (string) -</dd> -</dl> -<div align="right"><a href="#top">Up</a></div> -<hr /> -<hr /> -<a NAME="exeDisplayDataList" ID="exeDisplayDataList"></a> -<h2>exeDisplayDataList</h2> -<b>exeDisplayDataList</b>(<i></i>) - -<p> - Public method to support the display of some executable info. -</p> -<dl> -<dt>Return:</dt> -<dd> -dictionary containing the data to query the presence of - the executable -</dd> -</dl> -<div align="right"><a href="#top">Up</a></div> -<hr /> -<hr /> -<a NAME="getExePath" ID="getExePath"></a> -<h2>getExePath</h2> -<b>getExePath</b>(<i>branch, access, versionStr</i>) - -<div align="right"><a href="#top">Up</a></div> -<hr /> -</body></html> \ No newline at end of file
--- a/PyLint/Documentation/source/Plugin_Checker_PyLint.PyLint.PyLintConfigDialog.html Wed Jun 02 17:36:34 2021 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,254 +0,0 @@ -<!DOCTYPE html> -<html><head> -<title>Plugin_Checker_PyLint.PyLint.PyLintConfigDialog</title> -<meta charset="UTF-8"> -<style> -body { - background: #EDECE6; - margin: 0em 1em 10em 1em; - color: black; -} - -h1 { color: white; background: #85774A; } -h2 { color: white; background: #85774A; } -h3 { color: white; background: #9D936E; } -h4 { color: white; background: #9D936E; } - -a { color: #BA6D36; } - -</style> -</head> -<body> -<a NAME="top" ID="top"></a> -<h1>Plugin_Checker_PyLint.PyLint.PyLintConfigDialog</h1> - -<p> -Module implementing a dialog to configure the PyLint process. -</p> -<h3>Global Attributes</h3> - -<table> -<tr><td>None</td></tr> -</table> -<h3>Classes</h3> - -<table> - -<tr> -<td><a href="#PyLintConfigDialog">PyLintConfigDialog</a></td> -<td>Class implementing a dialog to configure the PyLint process.</td> -</tr> -</table> -<h3>Functions</h3> - -<table> -<tr><td>None</td></tr> -</table> -<hr /> -<hr /> -<a NAME="PyLintConfigDialog" ID="PyLintConfigDialog"></a> -<h2>PyLintConfigDialog</h2> - -<p> - Class implementing a dialog to configure the PyLint process. -</p> -<h3>Derived from</h3> -QDialog, Ui_PyLintConfigDialog -<h3>Class Attributes</h3> - -<table> -<tr><td>None</td></tr> -</table> -<h3>Class Methods</h3> - -<table> -<tr><td>None</td></tr> -</table> -<h3>Methods</h3> - -<table> - -<tr> -<td><a href="#PyLintConfigDialog.__init__">PyLintConfigDialog</a></td> -<td>Constructor</td> -</tr> -<tr> -<td><a href="#PyLintConfigDialog.__createConfigDone">__createConfigDone</a></td> -<td>Private slot to handle the the finished signal of the pylint process.</td> -</tr> -<tr> -<td><a href="#PyLintConfigDialog.__initializeDefaults">__initializeDefaults</a></td> -<td>Private method to set the default values.</td> -</tr> -<tr> -<td><a href="#PyLintConfigDialog.__readStderr">__readStderr</a></td> -<td>Private slot to handle the readyReadStandardError signal of the pylint process.</td> -</tr> -<tr> -<td><a href="#PyLintConfigDialog.__readStdout">__readStdout</a></td> -<td>Private slot to handle the readyReadStandardOutput signal of the pylint process.</td> -</tr> -<tr> -<td><a href="#PyLintConfigDialog.accept">accept</a></td> -<td>Public slot called by the Ok button.</td> -</tr> -<tr> -<td><a href="#PyLintConfigDialog.generateParameters">generateParameters</a></td> -<td>Public method that generates the commandline parameters.</td> -</tr> -<tr> -<td><a href="#PyLintConfigDialog.on_configButton_clicked">on_configButton_clicked</a></td> -<td>Private slot to handle the generation of a sample configuration.</td> -</tr> -<tr> -<td><a href="#PyLintConfigDialog.on_configfileButton_clicked">on_configfileButton_clicked</a></td> -<td>Private slot to select the configuration file.</td> -</tr> -<tr> -<td><a href="#PyLintConfigDialog.on_reportfileButton_clicked">on_reportfileButton_clicked</a></td> -<td>Private slot to select the report file.</td> -</tr> -</table> -<h3>Static Methods</h3> - -<table> -<tr><td>None</td></tr> -</table> - -<a NAME="PyLintConfigDialog.__init__" ID="PyLintConfigDialog.__init__"></a> -<h4>PyLintConfigDialog (Constructor)</h4> -<b>PyLintConfigDialog</b>(<i>ppath, exe, parms, version</i>) - -<p> - Constructor -</p> -<dl> - -<dt><i>ppath</i></dt> -<dd> -project path (string or QString) - Used to set the default path for the rcfile selection dialog -</dd> -<dt><i>exe</i></dt> -<dd> -name of the pylint executable (string) -</dd> -<dt><i>parms</i></dt> -<dd> -parameters to set in the dialog -</dd> -<dt><i>version</i></dt> -<dd> -pylint version (string) -</dd> -</dl> -<a NAME="PyLintConfigDialog.__createConfigDone" ID="PyLintConfigDialog.__createConfigDone"></a> -<h4>PyLintConfigDialog.__createConfigDone</h4> -<b>__createConfigDone</b>(<i>exitCode, exitStatus</i>) - -<p> - Private slot to handle the the finished signal of the pylint process. -</p> -<dl> - -<dt><i>exitCode</i></dt> -<dd> -exit code of the process (integer) -</dd> -<dt><i>exitStatus</i></dt> -<dd> -exit status of the process (QProcess.ExitStatus) -</dd> -</dl> -<a NAME="PyLintConfigDialog.__initializeDefaults" ID="PyLintConfigDialog.__initializeDefaults"></a> -<h4>PyLintConfigDialog.__initializeDefaults</h4> -<b>__initializeDefaults</b>(<i></i>) - -<p> - Private method to set the default values. -</p> -<p> - These are needed later on to generate the commandline - parameters. -</p> -<a NAME="PyLintConfigDialog.__readStderr" ID="PyLintConfigDialog.__readStderr"></a> -<h4>PyLintConfigDialog.__readStderr</h4> -<b>__readStderr</b>(<i></i>) - -<p> - Private slot to handle the readyReadStandardError signal of the - pylint process. -</p> -<a NAME="PyLintConfigDialog.__readStdout" ID="PyLintConfigDialog.__readStdout"></a> -<h4>PyLintConfigDialog.__readStdout</h4> -<b>__readStdout</b>(<i></i>) - -<p> - Private slot to handle the readyReadStandardOutput signal of the - pylint process. -</p> -<a NAME="PyLintConfigDialog.accept" ID="PyLintConfigDialog.accept"></a> -<h4>PyLintConfigDialog.accept</h4> -<b>accept</b>(<i></i>) - -<p> - Public slot called by the Ok button. -</p> -<p> - It saves the values in the parameters dictionary. -</p> -<a NAME="PyLintConfigDialog.generateParameters" ID="PyLintConfigDialog.generateParameters"></a> -<h4>PyLintConfigDialog.generateParameters</h4> -<b>generateParameters</b>(<i></i>) - -<p> - Public method that generates the commandline parameters. -</p> -<p> - It generates a QStringList to be used - to set the QProcess arguments for the pylint call and - a list containing the non default parameters. The second - list can be passed back upon object generation to overwrite - the default settings. -</p> -<p> - <b>Note</b>: The arguments list contains the name of the pylint - executable as the first parameter. -</p> -<dl> -<dt>Return:</dt> -<dd> -a tuple of the commandline parameters and non default - parameters (list of strings, dictionary) -</dd> -</dl> -<a NAME="PyLintConfigDialog.on_configButton_clicked" ID="PyLintConfigDialog.on_configButton_clicked"></a> -<h4>PyLintConfigDialog.on_configButton_clicked</h4> -<b>on_configButton_clicked</b>(<i></i>) - -<p> - Private slot to handle the generation of a sample configuration. -</p> -<a NAME="PyLintConfigDialog.on_configfileButton_clicked" ID="PyLintConfigDialog.on_configfileButton_clicked"></a> -<h4>PyLintConfigDialog.on_configfileButton_clicked</h4> -<b>on_configfileButton_clicked</b>(<i></i>) - -<p> - Private slot to select the configuration file. -</p> -<p> - It displays a file selection dialog to select the configuration file. -</p> -<a NAME="PyLintConfigDialog.on_reportfileButton_clicked" ID="PyLintConfigDialog.on_reportfileButton_clicked"></a> -<h4>PyLintConfigDialog.on_reportfileButton_clicked</h4> -<b>on_reportfileButton_clicked</b>(<i></i>) - -<p> - Private slot to select the report file. -</p> -<p> - It displays a file selection dialog to select the report file. -</p> -<div align="right"><a href="#top">Up</a></div> -<hr /> -</body></html> \ No newline at end of file
--- a/PyLint/Documentation/source/Plugin_Checker_PyLint.PyLint.PyLintExecDialog.html Wed Jun 02 17:36:34 2021 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,303 +0,0 @@ -<!DOCTYPE html> -<html><head> -<title>Plugin_Checker_PyLint.PyLint.PyLintExecDialog</title> -<meta charset="UTF-8"> -<style> -body { - background: #EDECE6; - margin: 0em 1em 10em 1em; - color: black; -} - -h1 { color: white; background: #85774A; } -h2 { color: white; background: #85774A; } -h3 { color: white; background: #9D936E; } -h4 { color: white; background: #9D936E; } - -a { color: #BA6D36; } - -</style> -</head> -<body> -<a NAME="top" ID="top"></a> -<h1>Plugin_Checker_PyLint.PyLint.PyLintExecDialog</h1> - -<p> -Module implementing a dialog to show the results of the PyLint run. -</p> -<h3>Global Attributes</h3> - -<table> -<tr><td>None</td></tr> -</table> -<h3>Classes</h3> - -<table> - -<tr> -<td><a href="#PyLintExecDialog">PyLintExecDialog</a></td> -<td>Class implementing a dialog to show the results of the PyLint run.</td> -</tr> -</table> -<h3>Functions</h3> - -<table> -<tr><td>None</td></tr> -</table> -<hr /> -<hr /> -<a NAME="PyLintExecDialog" ID="PyLintExecDialog"></a> -<h2>PyLintExecDialog</h2> - -<p> - Class implementing a dialog to show the results of the PyLint run. -</p> -<p> - This class starts a QProcess and displays a dialog that - shows the results of the PyLint command process. -</p> -<h3>Derived from</h3> -QWidget, Ui_PyLintExecDialog -<h3>Class Attributes</h3> - -<table> -<tr><td>filenameRole</td></tr> -</table> -<h3>Class Methods</h3> - -<table> -<tr><td>None</td></tr> -</table> -<h3>Methods</h3> - -<table> - -<tr> -<td><a href="#PyLintExecDialog.__init__">PyLintExecDialog</a></td> -<td>Constructor</td> -</tr> -<tr> -<td><a href="#PyLintExecDialog.__createItem">__createItem</a></td> -<td>Private method to create an entry in the message list.</td> -</tr> -<tr> -<td><a href="#PyLintExecDialog.__finish">__finish</a></td> -<td>Private slot called when the process finished.</td> -</tr> -<tr> -<td><a href="#PyLintExecDialog.__readParseStdout">__readParseStdout</a></td> -<td>Private slot to handle the readyReadStandardOutput signal for parseable output.</td> -</tr> -<tr> -<td><a href="#PyLintExecDialog.__readStderr">__readStderr</a></td> -<td>Private slot to handle the readyReadStandardError signal.</td> -</tr> -<tr> -<td><a href="#PyLintExecDialog.__readStdout">__readStdout</a></td> -<td>Private slot to handle the readyReadStandardOutput signal.</td> -</tr> -<tr> -<td><a href="#PyLintExecDialog.__writeReport">__writeReport</a></td> -<td>Private slot to write the report to a report file.</td> -</tr> -<tr> -<td><a href="#PyLintExecDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td> -<td>Private slot called by a button of the button box clicked.</td> -</tr> -<tr> -<td><a href="#PyLintExecDialog.on_messageList_itemActivated">on_messageList_itemActivated</a></td> -<td>Private slot to handle the itemActivated signal of the message list.</td> -</tr> -<tr> -<td><a href="#PyLintExecDialog.on_refreshButton_clicked">on_refreshButton_clicked</a></td> -<td>Private slot to refresh the status display.</td> -</tr> -<tr> -<td><a href="#PyLintExecDialog.on_saveButton_clicked">on_saveButton_clicked</a></td> -<td>Private slot to save the report to a file.</td> -</tr> -<tr> -<td><a href="#PyLintExecDialog.start">start</a></td> -<td>Public slot to start PyLint.</td> -</tr> -</table> -<h3>Static Methods</h3> - -<table> -<tr><td>None</td></tr> -</table> - -<a NAME="PyLintExecDialog.__init__" ID="PyLintExecDialog.__init__"></a> -<h4>PyLintExecDialog (Constructor)</h4> -<b>PyLintExecDialog</b>(<i>parent=None</i>) - -<p> - Constructor -</p> -<dl> - -<dt><i>parent</i></dt> -<dd> -parent widget of this dialog (QWidget) -</dd> -</dl> -<a NAME="PyLintExecDialog.__createItem" ID="PyLintExecDialog.__createItem"></a> -<h4>PyLintExecDialog.__createItem</h4> -<b>__createItem</b>(<i>file, line, type_, message</i>) - -<p> - Private method to create an entry in the message list. -</p> -<dl> - -<dt><i>file</i></dt> -<dd> -filename of file (string) -</dd> -<dt><i>line</i></dt> -<dd> -linenumber of message (integer or string) -</dd> -<dt><i>type_</i></dt> -<dd> -type of message (string) -</dd> -<dt><i>message</i></dt> -<dd> -message text (string) -</dd> -</dl> -<a NAME="PyLintExecDialog.__finish" ID="PyLintExecDialog.__finish"></a> -<h4>PyLintExecDialog.__finish</h4> -<b>__finish</b>(<i></i>) - -<p> - Private slot called when the process finished. -</p> -<p> - It is called when the process finished or - the user pressed the button. -</p> -<a NAME="PyLintExecDialog.__readParseStdout" ID="PyLintExecDialog.__readParseStdout"></a> -<h4>PyLintExecDialog.__readParseStdout</h4> -<b>__readParseStdout</b>(<i></i>) - -<p> - Private slot to handle the readyReadStandardOutput signal for - parseable output. -</p> -<p> - It reads the output of the process, formats it and inserts it into - the message list pane. -</p> -<a NAME="PyLintExecDialog.__readStderr" ID="PyLintExecDialog.__readStderr"></a> -<h4>PyLintExecDialog.__readStderr</h4> -<b>__readStderr</b>(<i></i>) - -<p> - Private slot to handle the readyReadStandardError signal. -</p> -<p> - It reads the error output of the process and inserts it into the - error pane. -</p> -<a NAME="PyLintExecDialog.__readStdout" ID="PyLintExecDialog.__readStdout"></a> -<h4>PyLintExecDialog.__readStdout</h4> -<b>__readStdout</b>(<i></i>) - -<p> - Private slot to handle the readyReadStandardOutput signal. -</p> -<p> - It reads the output of the process, formats it and inserts it into - the contents pane. -</p> -<a NAME="PyLintExecDialog.__writeReport" ID="PyLintExecDialog.__writeReport"></a> -<h4>PyLintExecDialog.__writeReport</h4> -<b>__writeReport</b>(<i></i>) - -<p> - Private slot to write the report to a report file. -</p> -<a NAME="PyLintExecDialog.on_buttonBox_clicked" ID="PyLintExecDialog.on_buttonBox_clicked"></a> -<h4>PyLintExecDialog.on_buttonBox_clicked</h4> -<b>on_buttonBox_clicked</b>(<i>button</i>) - -<p> - Private slot called by a button of the button box clicked. -</p> -<dl> - -<dt><i>button</i></dt> -<dd> -button that was clicked (QAbstractButton) -</dd> -</dl> -<a NAME="PyLintExecDialog.on_messageList_itemActivated" ID="PyLintExecDialog.on_messageList_itemActivated"></a> -<h4>PyLintExecDialog.on_messageList_itemActivated</h4> -<b>on_messageList_itemActivated</b>(<i>itm, column</i>) - -<p> - Private slot to handle the itemActivated signal of the message list. -</p> -<dl> - -<dt><i>itm</i></dt> -<dd> -The message item that was activated (QTreeWidgetItem) -</dd> -<dt><i>column</i></dt> -<dd> -column the item was activated in (integer) -</dd> -</dl> -<a NAME="PyLintExecDialog.on_refreshButton_clicked" ID="PyLintExecDialog.on_refreshButton_clicked"></a> -<h4>PyLintExecDialog.on_refreshButton_clicked</h4> -<b>on_refreshButton_clicked</b>(<i></i>) - -<p> - Private slot to refresh the status display. -</p> -<a NAME="PyLintExecDialog.on_saveButton_clicked" ID="PyLintExecDialog.on_saveButton_clicked"></a> -<h4>PyLintExecDialog.on_saveButton_clicked</h4> -<b>on_saveButton_clicked</b>(<i></i>) - -<p> - Private slot to save the report to a file. -</p> -<a NAME="PyLintExecDialog.start" ID="PyLintExecDialog.start"></a> -<h4>PyLintExecDialog.start</h4> -<b>start</b>(<i>args, fn, reportFile, ppath</i>) - -<p> - Public slot to start PyLint. -</p> -<dl> - -<dt><i>args</i></dt> -<dd> -commandline arguments for documentation programPyLint - (list of strings) -</dd> -<dt><i>fn</i></dt> -<dd> -filename or dirname to be processed by PyLint (string) -</dd> -<dt><i>reportFile</i></dt> -<dd> -filename of file to write the report to (string) -</dd> -<dt><i>ppath</i></dt> -<dd> -project path (string) -</dd> -</dl> -<dl> -<dt>Return:</dt> -<dd> -flag indicating the successful start of the process (boolean) -</dd> -</dl> -<div align="right"><a href="#top">Up</a></div> -<hr /> -</body></html> \ No newline at end of file
--- a/PyLint/Documentation/source/index-Plugin_Checker_PyLint.PyLint.html Wed Jun 02 17:36:34 2021 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,41 +0,0 @@ -<!DOCTYPE html> -<html><head> -<title>Plugin_Checker_PyLint.PyLint</title> -<meta charset="UTF-8"> -<style> -body { - background: #EDECE6; - margin: 0em 1em 10em 1em; - color: black; -} - -h1 { color: white; background: #85774A; } -h2 { color: white; background: #85774A; } -h3 { color: white; background: #9D936E; } -h4 { color: white; background: #9D936E; } - -a { color: #BA6D36; } - -</style> -</head> -<body> -<h1>Plugin_Checker_PyLint.PyLint</h1> - -<p> -Package containing the PyLint plugin. -</p> - - -<h3>Modules</h3> -<table> - -<tr> -<td><a href="Plugin_Checker_PyLint.PyLint.PyLintConfigDialog.html">PyLintConfigDialog</a></td> -<td>Module implementing a dialog to configure the PyLint process.</td> -</tr> -<tr> -<td><a href="Plugin_Checker_PyLint.PyLint.PyLintExecDialog.html">PyLintExecDialog</a></td> -<td>Module implementing a dialog to show the results of the PyLint run.</td> -</tr> -</table> -</body></html> \ No newline at end of file
--- a/PyLint/Documentation/source/index-Plugin_Checker_PyLint.html Wed Jun 02 17:36:34 2021 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,45 +0,0 @@ -<!DOCTYPE html> -<html><head> -<title>Plugin_Checker_PyLint</title> -<meta charset="UTF-8"> -<style> -body { - background: #EDECE6; - margin: 0em 1em 10em 1em; - color: black; -} - -h1 { color: white; background: #85774A; } -h2 { color: white; background: #85774A; } -h3 { color: white; background: #9D936E; } -h4 { color: white; background: #9D936E; } - -a { color: #BA6D36; } - -</style> -</head> -<body> -<h1>Plugin_Checker_PyLint</h1> - -<p> -Package containing the PyLint checker plugin. -</p> - -<h3>Packages</h3> -<table> - -<tr> -<td><a href="index-Plugin_Checker_PyLint.PyLint.html">PyLint</a></td> -<td>Package containing the PyLint plugin.</td> -</tr> -</table> - -<h3>Modules</h3> -<table> - -<tr> -<td><a href="Plugin_Checker_PyLint.PluginPyLint.html">PluginPyLint</a></td> -<td>Module implementing the PyLint plug-in.</td> -</tr> -</table> -</body></html> \ No newline at end of file
--- a/PyLint/Documentation/source/index.html Wed Jun 02 17:36:34 2021 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,34 +0,0 @@ -<!DOCTYPE html> -<html><head> -<title>Table of contents</title> -<meta charset="UTF-8"> -<style> -body { - background: #EDECE6; - margin: 0em 1em 10em 1em; - color: black; -} - -h1 { color: white; background: #85774A; } -h2 { color: white; background: #85774A; } -h3 { color: white; background: #9D936E; } -h4 { color: white; background: #9D936E; } - -a { color: #BA6D36; } - -</style> -</head> -<body> -<h1>Table of contents</h1> - - -<h3>Packages</h3> -<table> - -<tr> -<td><a href="index-Plugin_Checker_PyLint.html">Plugin_Checker_PyLint</a></td> -<td>Package containing the PyLint checker plugin.</td> -</tr> -</table> - -</body></html> \ No newline at end of file
--- a/PyLint/PyLintConfigDialog.py Wed Jun 02 17:36:34 2021 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,384 +0,0 @@ -# -*- coding: utf-8 -*- - -# Copyright (c) 2005 - 2021 Detlev Offenbach <detlev@die-offenbachs.de> -# - -""" -Module implementing a dialog to configure the PyLint process. -""" - -import os -import copy - -from PyQt5.QtCore import pyqtSlot, QProcess -from PyQt5.QtWidgets import QDialog - -from E5Gui.E5Application import e5App -from E5Gui import E5FileDialog, E5MessageBox -from E5Gui.E5Completers import E5FileCompleter - -from .Ui_PyLintConfigDialog import Ui_PyLintConfigDialog - -import Preferences -import Utilities - - -class PyLintConfigDialog(QDialog, Ui_PyLintConfigDialog): - """ - Class implementing a dialog to configure the PyLint process. - """ - def __init__(self, ppath, exe, parms, version): - """ - Constructor - - @param ppath project path (string or QString) - Used to set the default path for the rcfile selection dialog - @param exe name of the pylint executable (string) - @param parms parameters to set in the dialog - @param version pylint version (string) - """ - super().__init__(None) - self.setupUi(self) - - self.version = version - self.pylintProc = None - self.lint = exe - - self.__initializeDefaults() - - # get a copy of the defaults to store the user settings - self.parameters = copy.deepcopy(self.defaults) - - # combine it with the values of parms - if parms is not None: - self.parameters.update(parms) - - self.configfileCompleter = E5FileCompleter(self.configfileEdit) - self.reportfileCompleter = E5FileCompleter(self.reportfileEdit) - - # initialize general tab - self.configfileEdit.setText(self.parameters['configFile']) - self.txtOutputButton.setChecked(self.parameters['txtReport']) - self.htmlOutputButton.setChecked(self.parameters['htmlReport']) - self.dialogOutputButton.setChecked(self.parameters['dialogReport']) - self.reportfileEdit.setText(self.parameters['reportFile']) - - # initialize checkers tab - self.basicCheckBox.setChecked(self.parameters['enableBasic']) - self.classesCheckBox.setChecked(self.parameters['enableClasses']) - self.designCheckBox.setChecked(self.parameters['enableDesign']) - self.exceptionsCheckBox.setChecked(self.parameters['enableExceptions']) - self.formatCheckBox.setChecked(self.parameters['enableFormat']) - self.importsCheckBox.setChecked(self.parameters['enableImports']) - self.metricsCheckBox.setChecked(self.parameters['enableMetrics']) - self.miscellaneousCheckBox.setChecked( - self.parameters['enableMiscellaneous']) - self.newstyleCheckBox.setChecked(self.parameters['enableNewstyle']) - self.similaritiesCheckBox.setChecked( - self.parameters['enableSimilarities']) - self.typecheckCheckBox.setChecked(self.parameters['enableTypecheck']) - self.variablesCheckBox.setChecked(self.parameters['enableVariables']) - self.loggingCheckBox.setChecked(self.parameters['enableLogging']) - self.stringFormatCheckBox.setChecked( - self.parameters['enableStringFormat']) - - # initialize messages tab - self.enabledMessagesEdit.setText(self.parameters['enabledMessages']) - self.disabledMessagesEdit.setText(self.parameters['disabledMessages']) - - self.ppath = ppath - - def __initializeDefaults(self): - """ - Private method to set the default values. - - These are needed later on to generate the commandline - parameters. - """ - self.defaults = { - # general options - 'configFile': '', - 'reportFile': '', - 'txtReport': False, - 'htmlReport': True, - 'dialogReport': False, - - # enabled checkers - 'enableBasic': True, - 'enableClasses': True, - 'enableDesign': True, - 'enableExceptions': True, - 'enableFormat': False, - 'enableImports': False, - 'enableLogging': True, - 'enableMetrics': True, - 'enableMiscellaneous': True, - 'enableNewstyle': True, - 'enableSimilarities': True, - 'enableStringFormat': True, - 'enableTypecheck': True, - 'enableVariables': True, - - # messages - 'enabledMessages': '', - 'disabledMessages': '', - } - - def generateParameters(self): - """ - Public method that generates the commandline parameters. - - It generates a QStringList to be used - to set the QProcess arguments for the pylint call and - a list containing the non default parameters. The second - list can be passed back upon object generation to overwrite - the default settings. - - <b>Note</b>: The arguments list contains the name of the pylint - executable as the first parameter. - - @return a tuple of the commandline parameters and non default - parameters (list of strings, dictionary) - """ - parms = {} - args = [] - - # 1. the program name - args.append(self.lint) - - # 2. the commandline options - # 2.1 general options - if self.parameters['configFile'] != self.defaults['configFile']: - parms['configFile'] = self.parameters['configFile'] - args.append('--rcfile={0}'.format(self.parameters['configFile'])) - parms['txtReport'] = self.parameters['txtReport'] - parms['htmlReport'] = self.parameters['htmlReport'] - parms['dialogReport'] = self.parameters['dialogReport'] - if self.parameters['htmlReport']: - args.append('--output-format=html') - elif self.parameters['dialogReport']: - args.append('--output-format=parseable') - args.append('--reports=n') - else: - args.append('--output-format=text') - if self.parameters['reportFile'] != self.defaults['reportFile']: - parms['reportFile'] = self.parameters['reportFile'] - - # 2.2 checkers options - parms['enableBasic'] = self.parameters['enableBasic'] - parms['enableClasses'] = self.parameters['enableClasses'] - parms['enableDesign'] = self.parameters['enableDesign'] - parms['enableExceptions'] = self.parameters['enableExceptions'] - parms['enableFormat'] = self.parameters['enableFormat'] - parms['enableImports'] = self.parameters['enableImports'] - parms['enableMetrics'] = self.parameters['enableMetrics'] - parms['enableMiscellaneous'] = self.parameters['enableMiscellaneous'] - parms['enableNewstyle'] = self.parameters['enableNewstyle'] - parms['enableSimilarities'] = self.parameters['enableSimilarities'] - parms['enableTypecheck'] = self.parameters['enableTypecheck'] - parms['enableVariables'] = self.parameters['enableVariables'] - parms['enableLogging'] = self.parameters['enableLogging'] - parms['enableStringFormat'] = self.parameters['enableStringFormat'] - - checkers = [] - if self.parameters['enableBasic']: - checkers.append('basic') - if self.parameters['enableClasses']: - checkers.append('classes') - if self.parameters['enableDesign']: - checkers.append('design') - if self.parameters['enableExceptions']: - checkers.append('exceptions') - if self.parameters['enableFormat']: - checkers.append('format') - if self.parameters['enableImports']: - checkers.append('imports') - if self.parameters['enableMetrics']: - checkers.append('metrics') - if self.parameters['enableMiscellaneous']: - checkers.append('miscellaneous') - if self.parameters['enableNewstyle']: - checkers.append('newstyle') - if self.parameters['enableSimilarities']: - checkers.append('similarities') - if self.parameters['enableTypecheck']: - checkers.append('typecheck') - if self.parameters['enableVariables']: - checkers.append('variables') - if self.parameters['enableLogging']: - checkers.append('logging') - if self.parameters['enableStringFormat']: - if self.version > '0.27.0': - checkers.append('string') - else: - checkers.append('string_format') - - args.append('--disable=all') - if checkers: - args.append('--enable={0}'.format(','.join(checkers))) - - # 2.3 messages options - parms['enabledMessages'] = self.parameters['enabledMessages'] - parms['disabledMessages'] = self.parameters['disabledMessages'] - if parms['enabledMessages']: - args.append('--enable={0}'.format(parms['enabledMessages'])) - if parms['disabledMessages']: - args.append('--disable={0}'.format(parms['disabledMessages'])) - - return (args, parms) - - @pyqtSlot() - def on_configfileButton_clicked(self): - """ - Private slot to select the configuration file. - - It displays a file selection dialog to select the configuration file. - """ - startWith = self.configfileEdit.text() - if startWith == "": - startWith = self.ppath - config = E5FileDialog.getOpenFileName( - self, - self.tr("Select configuration file"), - startWith, - self.tr("Configuration Files (*.cfg *.cnf *.rc);;" - "All Files (*)")) - if config: - self.configfileEdit.setText(Utilities.toNativeSeparators(config)) - - @pyqtSlot() - def on_reportfileButton_clicked(self): - """ - Private slot to select the report file. - - It displays a file selection dialog to select the report file. - """ - report = E5FileDialog.getSaveFileName( - self, - self.tr("Select report file"), - self.reportfileEdit.text(), - None, - None, - E5FileDialog.Options(E5FileDialog.DontConfirmOverwrite)) - - if report: - self.reportfileEdit.setText(Utilities.toNativeSeparators(report)) - - def accept(self): - """ - Public slot called by the Ok button. - - It saves the values in the parameters dictionary. - """ - # get data of general tab - self.parameters['configFile'] = self.configfileEdit.text() - self.parameters['txtReport'] = self.txtOutputButton.isChecked() - self.parameters['htmlReport'] = self.htmlOutputButton.isChecked() - self.parameters['dialogReport'] = self.dialogOutputButton.isChecked() - self.parameters['reportFile'] = self.reportfileEdit.text() - - # get data of checkers tab - self.parameters['enableBasic'] = self.basicCheckBox.isChecked() - self.parameters['enableClasses'] = self.classesCheckBox.isChecked() - self.parameters['enableDesign'] = self.designCheckBox.isChecked() - self.parameters['enableExceptions'] = ( - self.exceptionsCheckBox.isChecked()) - self.parameters['enableFormat'] = self.formatCheckBox.isChecked() - self.parameters['enableImports'] = self.importsCheckBox.isChecked() - self.parameters['enableMetrics'] = self.metricsCheckBox.isChecked() - self.parameters['enableMiscellaneous'] = ( - self.miscellaneousCheckBox.isChecked()) - self.parameters['enableNewstyle'] = self.newstyleCheckBox.isChecked() - self.parameters['enableSimilarities'] = ( - self.similaritiesCheckBox.isChecked()) - self.parameters['enableTypecheck'] = self.typecheckCheckBox.isChecked() - self.parameters['enableVariables'] = self.variablesCheckBox.isChecked() - self.parameters['enableLogging'] = self.loggingCheckBox.isChecked() - self.parameters['enableStringFormat'] = ( - self.stringFormatCheckBox.isChecked()) - - # get data of messages tab - self.parameters['enabledMessages'] = ','.join( - [m.strip() for m in self.enabledMessagesEdit.text().split(',')]) - self.parameters['disabledMessages'] = ','.join( - [m.strip() for m in self.disabledMessagesEdit.text().split(',')]) - - # call the accept slot of the base class - super().accept() - - ########################################################################### - ## Methods below are needed to generate a configuration file template - ########################################################################### - - @pyqtSlot() - def on_configButton_clicked(self): - """ - Private slot to handle the generation of a sample configuration. - """ - self.buf = "" - self.pylintProc = QProcess() - args = [] - - self.__ioEncoding = Preferences.getSystem("IOEncoding") - - args.append('--generate-rcfile') - - self.pylintProc.readyReadStandardOutput.connect(self.__readStdout) - self.pylintProc.readyReadStandardError.connect(self.__readStderr) - self.pylintProc.finished.connect(self.__createConfigDone) - - self.pylintProc.start(self.lint, args) - procStarted = self.pylintProc.waitForStarted() - if procStarted: - e5App().getObject("ViewManager").enableEditorsCheckFocusIn(False) - else: - E5MessageBox.critical( - self, - self.tr('Process Generation Error'), - self.tr( - 'Could not start {0}.<br>' - 'Ensure that it is in the search path.' - ).format(self.lint)) - - def __createConfigDone(self, exitCode, exitStatus): - """ - Private slot to handle the the finished signal of the pylint process. - - @param exitCode exit code of the process (integer) - @param exitStatus exit status of the process (QProcess.ExitStatus) - """ - vm = e5App().getObject("ViewManager") - vm.enableEditorsCheckFocusIn(True) - if exitStatus == QProcess.NormalExit and exitCode == 0: - vm.newEditor() - aw = vm.activeWindow() - aw.insertAt(self.buf, 0, 0) - aw.setLanguage('dummy.rc') - self.reject() - - def __readStdout(self): - """ - Private slot to handle the readyReadStandardOutput signal of the - pylint process. - """ - if self.pylintProc is None: - return - self.pylintProc.setReadChannel(QProcess.StandardOutput) - - while self.pylintProc and self.pylintProc.canReadLine(): - line = str(self.pylintProc.readLine(), self.__ioEncoding, - "replace").rstrip() - self.buf += line + os.linesep - - def __readStderr(self): - """ - Private slot to handle the readyReadStandardError signal of the - pylint process. - """ - if self.pylintProc is None: - return - self.pylintProc.setReadChannel(QProcess.StandardError) - while self.pylintProc and self.pylintProc.canReadLine(): - s = 'pylint: ' + str( - self.pylintProc.readLine(), self.__ioEncoding, "replace") - e5App().getObject("UserInterface").appendStderr.emit(s)
--- a/PyLint/PyLintConfigDialog.ui Wed Jun 02 17:36:34 2021 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,536 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<ui version="4.0"> - <class>PyLintConfigDialog</class> - <widget class="QDialog" name="PyLintConfigDialog"> - <property name="geometry"> - <rect> - <x>0</x> - <y>0</y> - <width>528</width> - <height>335</height> - </rect> - </property> - <property name="windowTitle"> - <string>PyLint Configuration</string> - </property> - <property name="sizeGripEnabled"> - <bool>true</bool> - </property> - <layout class="QGridLayout" name="gridLayout_2"> - <property name="margin"> - <number>6</number> - </property> - <item row="0" column="0"> - <widget class="QTabWidget" name="tabWidget"> - <property name="currentIndex"> - <number>1</number> - </property> - <widget class="QWidget" name="General"> - <attribute name="title"> - <string>General</string> - </attribute> - <layout class="QGridLayout"> - <property name="margin"> - <number>6</number> - </property> - <property name="spacing"> - <number>6</number> - </property> - <item row="0" column="0"> - <widget class="QLabel" name="textLabel1"> - <property name="text"> - <string>Configuration &File:</string> - </property> - <property name="buddy"> - <cstring>configfileEdit</cstring> - </property> - </widget> - </item> - <item row="1" column="0" colspan="3"> - <widget class="QGroupBox" name="groupBox"> - <property name="title"> - <string>Output</string> - </property> - <layout class="QVBoxLayout"> - <property name="spacing"> - <number>6</number> - </property> - <property name="margin"> - <number>6</number> - </property> - <item> - <widget class="QRadioButton" name="txtOutputButton"> - <property name="toolTip"> - <string>Select to generate a plain text report</string> - </property> - <property name="text"> - <string>Generate &Textreport</string> - </property> - <property name="shortcut"> - <string>Alt+T</string> - </property> - </widget> - </item> - <item> - <widget class="QRadioButton" name="htmlOutputButton"> - <property name="toolTip"> - <string>Select to generate a HTML report</string> - </property> - <property name="text"> - <string>Generate &HTML Report</string> - </property> - <property name="shortcut"> - <string>Alt+H</string> - </property> - </widget> - </item> - <item> - <widget class="QRadioButton" name="dialogOutputButton"> - <property name="toolTip"> - <string>Show the pylint result in a dialog</string> - </property> - <property name="text"> - <string>Show Result &Dialog</string> - </property> - <property name="shortcut"> - <string>Alt+D</string> - </property> - </widget> - </item> - <item> - <widget class="QGroupBox" name="groupBox_2"> - <property name="title"> - <string>Report File</string> - </property> - <layout class="QHBoxLayout"> - <property name="spacing"> - <number>6</number> - </property> - <property name="margin"> - <number>6</number> - </property> - <item> - <widget class="QLineEdit" name="reportfileEdit"> - <property name="toolTip"> - <string>Enter the name of the report file</string> - </property> - </widget> - </item> - <item> - <widget class="QPushButton" name="reportfileButton"> - <property name="toolTip"> - <string>Press to open a file selection dialog</string> - </property> - <property name="text"> - <string>...</string> - </property> - </widget> - </item> - </layout> - </widget> - </item> - </layout> - </widget> - </item> - <item row="0" column="1"> - <widget class="QLineEdit" name="configfileEdit"> - <property name="toolTip"> - <string>Enter the name of the configuration file</string> - </property> - </widget> - </item> - <item row="3" column="0" colspan="3"> - <layout class="QHBoxLayout"> - <property name="spacing"> - <number>6</number> - </property> - <property name="margin"> - <number>0</number> - </property> - <item> - <spacer> - <property name="orientation"> - <enum>Qt::Horizontal</enum> - </property> - <property name="sizeType"> - <enum>QSizePolicy::Expanding</enum> - </property> - <property name="sizeHint" stdset="0"> - <size> - <width>40</width> - <height>20</height> - </size> - </property> - </spacer> - </item> - <item> - <widget class="QPushButton" name="configButton"> - <property name="toolTip"> - <string>Press to generate a sample configuration</string> - </property> - <property name="whatsThis"> - <string><b>Generate Configuration Template</b> -<p>This generates a sample configuration. The data is shown in a new editor window.</p></string> - </property> - <property name="text"> - <string>&Generate Configuration Template</string> - </property> - <property name="shortcut"> - <string>Alt+G</string> - </property> - </widget> - </item> - <item> - <spacer> - <property name="orientation"> - <enum>Qt::Horizontal</enum> - </property> - <property name="sizeType"> - <enum>QSizePolicy::Expanding</enum> - </property> - <property name="sizeHint" stdset="0"> - <size> - <width>40</width> - <height>20</height> - </size> - </property> - </spacer> - </item> - </layout> - </item> - <item row="2" column="0" colspan="3"> - <widget class="Line" name="line1"> - <property name="frameShape"> - <enum>QFrame::HLine</enum> - </property> - <property name="frameShadow"> - <enum>QFrame::Sunken</enum> - </property> - <property name="orientation"> - <enum>Qt::Horizontal</enum> - </property> - </widget> - </item> - <item row="0" column="2"> - <widget class="QPushButton" name="configfileButton"> - <property name="toolTip"> - <string>Press to open a file selection dialog</string> - </property> - <property name="text"> - <string>...</string> - </property> - </widget> - </item> - </layout> - </widget> - <widget class="QWidget" name="Checkers"> - <attribute name="title"> - <string>Checkers</string> - </attribute> - <layout class="QVBoxLayout" name="verticalLayout"> - <item> - <layout class="QGridLayout" name="gridLayout_3"> - <item row="0" column="0"> - <widget class="QCheckBox" name="basicCheckBox"> - <property name="toolTip"> - <string>Select to enable the basic checker</string> - </property> - <property name="text"> - <string>Basic</string> - </property> - </widget> - </item> - <item row="0" column="1"> - <widget class="QCheckBox" name="importsCheckBox"> - <property name="toolTip"> - <string>Select to enable the imports checker</string> - </property> - <property name="text"> - <string>Imports</string> - </property> - </widget> - </item> - <item row="0" column="2"> - <widget class="QCheckBox" name="similaritiesCheckBox"> - <property name="toolTip"> - <string>Select to enable the similarities checker</string> - </property> - <property name="text"> - <string>Similarities</string> - </property> - </widget> - </item> - <item row="1" column="0"> - <widget class="QCheckBox" name="classesCheckBox"> - <property name="toolTip"> - <string>Select to enable the classes checker</string> - </property> - <property name="text"> - <string>Classes</string> - </property> - </widget> - </item> - <item row="1" column="1"> - <widget class="QCheckBox" name="loggingCheckBox"> - <property name="toolTip"> - <string>Select to enable the logging checker</string> - </property> - <property name="text"> - <string>Logging</string> - </property> - </widget> - </item> - <item row="1" column="2"> - <widget class="QCheckBox" name="stringFormatCheckBox"> - <property name="toolTip"> - <string>Select to enable the string format checker</string> - </property> - <property name="text"> - <string>String Format</string> - </property> - </widget> - </item> - <item row="2" column="0"> - <widget class="QCheckBox" name="designCheckBox"> - <property name="toolTip"> - <string>Select to enable the design checker</string> - </property> - <property name="text"> - <string>Design</string> - </property> - </widget> - </item> - <item row="2" column="1"> - <widget class="QCheckBox" name="metricsCheckBox"> - <property name="toolTip"> - <string>Select to enable the metrics checker</string> - </property> - <property name="text"> - <string>Metrics</string> - </property> - </widget> - </item> - <item row="2" column="2"> - <widget class="QCheckBox" name="typecheckCheckBox"> - <property name="toolTip"> - <string>Select to enable the typecheck checker</string> - </property> - <property name="text"> - <string>Typecheck</string> - </property> - </widget> - </item> - <item row="3" column="0"> - <widget class="QCheckBox" name="exceptionsCheckBox"> - <property name="toolTip"> - <string>Select to enable the exceptions checker</string> - </property> - <property name="text"> - <string>Exceptions</string> - </property> - </widget> - </item> - <item row="3" column="1"> - <widget class="QCheckBox" name="miscellaneousCheckBox"> - <property name="toolTip"> - <string>Select to enable the miscellaneous checker</string> - </property> - <property name="text"> - <string>Miscellaneous</string> - </property> - </widget> - </item> - <item row="3" column="2"> - <widget class="QCheckBox" name="variablesCheckBox"> - <property name="toolTip"> - <string>Select to enable the variables checker</string> - </property> - <property name="text"> - <string>Variables</string> - </property> - </widget> - </item> - <item row="4" column="0"> - <widget class="QCheckBox" name="formatCheckBox"> - <property name="toolTip"> - <string>Select to enable the format checker</string> - </property> - <property name="text"> - <string>Format</string> - </property> - </widget> - </item> - <item row="4" column="1"> - <widget class="QCheckBox" name="newstyleCheckBox"> - <property name="toolTip"> - <string>Select to enable the newstyle checker</string> - </property> - <property name="text"> - <string>Newstyle</string> - </property> - </widget> - </item> - </layout> - </item> - <item> - <spacer> - <property name="orientation"> - <enum>Qt::Vertical</enum> - </property> - <property name="sizeType"> - <enum>QSizePolicy::Expanding</enum> - </property> - <property name="sizeHint" stdset="0"> - <size> - <width>20</width> - <height>40</height> - </size> - </property> - </spacer> - </item> - </layout> - </widget> - <widget class="QWidget" name="Messages"> - <attribute name="title"> - <string>Messages</string> - </attribute> - <layout class="QGridLayout" name="gridLayout"> - <item row="0" column="0"> - <widget class="QLabel" name="label"> - <property name="text"> - <string>Enabled Messages:</string> - </property> - </widget> - </item> - <item row="0" column="1"> - <widget class="QLineEdit" name="enabledMessagesEdit"> - <property name="toolTip"> - <string>Enter the list of enabled messages separated by comma</string> - </property> - </widget> - </item> - <item row="1" column="0"> - <widget class="QLabel" name="label_2"> - <property name="text"> - <string>Disabled Messages:</string> - </property> - </widget> - </item> - <item row="1" column="1"> - <widget class="QLineEdit" name="disabledMessagesEdit"> - <property name="toolTip"> - <string>Enter the list of disabled messages separated by comma</string> - </property> - </widget> - </item> - <item row="2" column="1"> - <spacer name="verticalSpacer"> - <property name="orientation"> - <enum>Qt::Vertical</enum> - </property> - <property name="sizeHint" stdset="0"> - <size> - <width>20</width> - <height>192</height> - </size> - </property> - </spacer> - </item> - </layout> - </widget> - </widget> - </item> - <item row="1" column="0"> - <widget class="QDialogButtonBox" name="buttonBox"> - <property name="orientation"> - <enum>Qt::Horizontal</enum> - </property> - <property name="standardButtons"> - <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> - </property> - </widget> - </item> - </layout> - </widget> - <layoutdefault spacing="6" margin="6"/> - <pixmapfunction>qPixmapFromMimeSource</pixmapfunction> - <tabstops> - <tabstop>tabWidget</tabstop> - <tabstop>configfileEdit</tabstop> - <tabstop>configfileButton</tabstop> - <tabstop>txtOutputButton</tabstop> - <tabstop>htmlOutputButton</tabstop> - <tabstop>dialogOutputButton</tabstop> - <tabstop>reportfileEdit</tabstop> - <tabstop>reportfileButton</tabstop> - <tabstop>configButton</tabstop> - <tabstop>basicCheckBox</tabstop> - <tabstop>classesCheckBox</tabstop> - <tabstop>designCheckBox</tabstop> - <tabstop>exceptionsCheckBox</tabstop> - <tabstop>formatCheckBox</tabstop> - <tabstop>importsCheckBox</tabstop> - <tabstop>loggingCheckBox</tabstop> - <tabstop>metricsCheckBox</tabstop> - <tabstop>miscellaneousCheckBox</tabstop> - <tabstop>newstyleCheckBox</tabstop> - <tabstop>stringFormatCheckBox</tabstop> - <tabstop>similaritiesCheckBox</tabstop> - <tabstop>typecheckCheckBox</tabstop> - <tabstop>variablesCheckBox</tabstop> - <tabstop>enabledMessagesEdit</tabstop> - <tabstop>disabledMessagesEdit</tabstop> - <tabstop>buttonBox</tabstop> - </tabstops> - <resources/> - <connections> - <connection> - <sender>dialogOutputButton</sender> - <signal>toggled(bool)</signal> - <receiver>groupBox_2</receiver> - <slot>setDisabled(bool)</slot> - <hints> - <hint type="sourcelabel"> - <x>78</x> - <y>163</y> - </hint> - <hint type="destinationlabel"> - <x>62</x> - <y>188</y> - </hint> - </hints> - </connection> - <connection> - <sender>buttonBox</sender> - <signal>accepted()</signal> - <receiver>PyLintConfigDialog</receiver> - <slot>accept()</slot> - <hints> - <hint type="sourcelabel"> - <x>35</x> - <y>321</y> - </hint> - <hint type="destinationlabel"> - <x>34</x> - <y>333</y> - </hint> - </hints> - </connection> - <connection> - <sender>buttonBox</sender> - <signal>rejected()</signal> - <receiver>PyLintConfigDialog</receiver> - <slot>reject()</slot> - <hints> - <hint type="sourcelabel"> - <x>91</x> - <y>309</y> - </hint> - <hint type="destinationlabel"> - <x>100</x> - <y>332</y> - </hint> - </hints> - </connection> - </connections> -</ui>
--- a/PyLint/PyLintExecDialog.py Wed Jun 02 17:36:34 2021 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,410 +0,0 @@ -# -*- coding: utf-8 -*- - -# Copyright (c) 2005 - 2021 Detlev Offenbach <detlev@die-offenbachs.de> -# - -""" -Module implementing a dialog to show the results of the PyLint run. -""" - -import os - -from PyQt5.QtCore import pyqtSlot, Qt, QTimer, QProcess -from PyQt5.QtGui import QTextCursor -from PyQt5.QtWidgets import ( - QWidget, QHeaderView, QApplication, QDialogButtonBox, QTreeWidgetItem -) - -from E5Gui import E5MessageBox, E5FileDialog -from E5Gui.E5Application import e5App -try: - from E5Gui.E5OverrideCursor import E5OverrideCursorProcess -except ImportError: - # workaround for eric6 < 20.11 - E5OverrideCursorProcess = QProcess - -from .Ui_PyLintExecDialog import Ui_PyLintExecDialog - -import Preferences -import Utilities - - -class PyLintExecDialog(QWidget, Ui_PyLintExecDialog): - """ - Class implementing a dialog to show the results of the PyLint run. - - This class starts a QProcess and displays a dialog that - shows the results of the PyLint command process. - """ - filenameRole = Qt.UserRole + 1 - - def __init__(self, parent=None): - """ - Constructor - - @param parent parent widget of this dialog (QWidget) - """ - QWidget.__init__(self, parent) - self.setupUi(self) - - self.saveButton = self.buttonBox.addButton( - self.tr("Save Report..."), QDialogButtonBox.ActionRole) - self.saveButton.setToolTip( - self.tr("Press to save the report to a file")) - self.saveButton.setEnabled(False) - - self.refreshButton = self.buttonBox.addButton( - self.tr("Refresh"), QDialogButtonBox.ActionRole) - self.refreshButton.setToolTip(self.tr( - "Press to refresh the result display")) - self.refreshButton.setEnabled(False) - - self.buttonBox.button(QDialogButtonBox.Close).setEnabled(False) - self.buttonBox.button(QDialogButtonBox.Cancel).setDefault(True) - - self.messageList.header().setSortIndicator(0, Qt.AscendingOrder) - - self.process = None - self.noResults = True - self.htmlOutput = False - self.parsedOutput = False - self.__scrollPosition = -1 # illegal value - - self.typeDict = { - 'C': self.tr('Convention'), - 'R': self.tr('Refactor'), - 'W': self.tr('Warning'), - 'E': self.tr('Error'), - 'F': self.tr('Fatal'), - } - - def start(self, args, fn, reportFile, ppath): - """ - Public slot to start PyLint. - - @param args commandline arguments for documentation programPyLint - (list of strings) - @param fn filename or dirname to be processed by PyLint (string) - @param reportFile filename of file to write the report to (string) - @param ppath project path (string) - @return flag indicating the successful start of the process (boolean) - """ - self.errorGroup.hide() - - self.args = args[:] - self.fn = fn - self.reportFile = reportFile - self.ppath = ppath - - self.pathname = os.path.dirname(fn) - self.filename = os.path.basename(fn) - - self.contents.clear() - self.errors.clear() - self.messageList.clear() - - self.buttonBox.button(QDialogButtonBox.Close).setEnabled(False) - self.buttonBox.button(QDialogButtonBox.Cancel).setEnabled(True) - self.buttonBox.button(QDialogButtonBox.Cancel).setDefault(True) - self.saveButton.setEnabled(False) - self.refreshButton.setEnabled(False) - - program = args[0] - del args[0] - args.append(self.filename) - - self.process = E5OverrideCursorProcess() - self.process.setWorkingDirectory(self.pathname) - - self.process.readyReadStandardError.connect(self.__readStderr) - self.process.finished.connect(self.__finish) - - self.__ioEncoding = Preferences.getSystem("IOEncoding") - if "--output-format=parseable" in args: - self.reportFile = None - self.contents.hide() - self.process.readyReadStandardOutput.connect( - self.__readParseStdout) - self.parsedOutput = True - else: - self.process.readyReadStandardOutput.connect(self.__readStdout) - self.messageList.hide() - if "--output-format=html" in args: - self.contents.setAcceptRichText(True) - self.contents.setHtml('<b>Processing your request...</b>') - self.htmlOutput = True - else: - self.contents.setAcceptRichText(False) - self.contents.setCurrentFont( - Preferences.getEditorOtherFonts("MonospacedFont")) - self.htmlOutput = False - self.parsedOutput = False - self.noResults = True - - self.buf = "" - self.__lastFileItem = None - - self.process.start(program, args) - procStarted = self.process.waitForStarted() - if not procStarted: - E5MessageBox.critical( - self, - self.tr('Process Generation Error'), - self.tr( - 'The process {0} could not be started. ' - 'Ensure, that it is in the search path.' - ).format(program)) - return procStarted - - def on_buttonBox_clicked(self, button): - """ - Private slot called by a button of the button box clicked. - - @param button button that was clicked (QAbstractButton) - """ - if button == self.buttonBox.button(QDialogButtonBox.Close): - self.close() - elif button == self.buttonBox.button(QDialogButtonBox.Cancel): - self.__finish() - elif button == self.saveButton: - self.on_saveButton_clicked() - elif button == self.refreshButton: - self.on_refreshButton_clicked() - - def __finish(self): - """ - Private slot called when the process finished. - - It is called when the process finished or - the user pressed the button. - """ - if self.htmlOutput: - self.contents.setHtml(self.buf) - else: - cursor = self.contents.textCursor() - cursor.movePosition(QTextCursor.Start) - self.contents.setTextCursor(cursor) - - if ( - self.process is not None and - self.process.state() != QProcess.NotRunning - ): - self.process.terminate() - QTimer.singleShot(2000, self.process.kill) - self.process.waitForFinished(3000) - - self.buttonBox.button(QDialogButtonBox.Close).setEnabled(True) - self.buttonBox.button(QDialogButtonBox.Cancel).setEnabled(False) - self.buttonBox.button(QDialogButtonBox.Close).setDefault(True) - self.refreshButton.setEnabled(True) - if self.parsedOutput: - QApplication.processEvents() - self.messageList.sortItems( - self.messageList.sortColumn(), - self.messageList.header().sortIndicatorOrder()) - self.messageList.header().resizeSections( - QHeaderView.ResizeToContents) - self.messageList.header().setStretchLastSection(True) - else: - if self.__scrollPosition != -1: - self.contents.verticalScrollBar().setValue( - self.__scrollPosition) - - self.process = None - - if self.reportFile: - self.__writeReport() - elif not self.parsedOutput: - self.saveButton.setEnabled(True) - - if self.noResults: - self.__createItem( - self.tr('No PyLint errors found.'), "", "", "") - - @pyqtSlot() - def on_refreshButton_clicked(self): - """ - Private slot to refresh the status display. - """ - self.__scrollPosition = self.contents.verticalScrollBar().value() - self.start(self.args, self.fn, self.reportFile, self.ppath) - - def __readStdout(self): - """ - Private slot to handle the readyReadStandardOutput signal. - - It reads the output of the process, formats it and inserts it into - the contents pane. - """ - self.process.setReadChannel(QProcess.StandardOutput) - - while self.process.canReadLine(): - s = str(self.process.readLine(), self.__ioEncoding, 'replace') - self.buf += s + os.linesep - if not self.htmlOutput: - self.contents.insertPlainText(s) - self.contents.ensureCursorVisible() - - def __createItem(self, file, line, type_, message): - """ - Private method to create an entry in the message list. - - @param file filename of file (string) - @param line linenumber of message (integer or string) - @param type_ type of message (string) - @param message message text (string) - """ - if self.__lastFileItem is None or self.__lastFileItem.text(0) != file: - matchFlags = Qt.MatchFixedString - if not Utilities.isWindowsPlatform(): - matchFlags |= Qt.MatchCaseSensitive - - itmList = self.messageList.findItems(file, matchFlags) - if itmList: - self.__lastFileItem = itmList[0] - else: - # It's a new file - self.__lastFileItem = QTreeWidgetItem(self.messageList, [file]) - self.__lastFileItem.setFirstColumnSpanned(True) - self.__lastFileItem.setExpanded(True) - self.__lastFileItem.setData(0, self.filenameRole, file) - - itm = QTreeWidgetItem(self.__lastFileItem, [str(line), type_, message]) - itm.setTextAlignment(0, Qt.AlignRight) - itm.setTextAlignment(1, Qt.AlignHCenter) - itm.setData(0, self.filenameRole, file) - - def __readParseStdout(self): - """ - Private slot to handle the readyReadStandardOutput signal for - parseable output. - - It reads the output of the process, formats it and inserts it into - the message list pane. - """ - self.process.setReadChannel(QProcess.StandardOutput) - - while self.process.canReadLine(): - s = str(self.process.readLine(), self.__ioEncoding, 'replace') - if s: - try: - if Utilities.isWindowsPlatform(): - drive, s = os.path.splitdrive(s) - fname, lineno, fullmessage = s.split(':') - fname = drive + fname - else: - fname, lineno, fullmessage = s.split(':') - type_, message = fullmessage.strip().split(']', 1) - type_ = type_.strip()[1:].split(',', 1)[0] - message = message.strip() - if type_ and type_[0] in self.typeDict: - if len(type_) == 1: - self.__createItem( - fname, lineno, self.typeDict[type_], message) - else: - self.__createItem( - fname, lineno, "{0} {1}".format( - self.typeDict[type_[0]], type_[1:]), - message) - self.noResults = False - except ValueError: - continue - - def __readStderr(self): - """ - Private slot to handle the readyReadStandardError signal. - - It reads the error output of the process and inserts it into the - error pane. - """ - self.process.setReadChannel(QProcess.StandardError) - - while self.process.canReadLine(): - self.errorGroup.show() - s = str(self.process.readLine(), self.__ioEncoding, 'replace') - self.errors.insertPlainText(s) - self.errors.ensureCursorVisible() - - def on_messageList_itemActivated(self, itm, column): - """ - Private slot to handle the itemActivated signal of the message list. - - @param itm The message item that was activated (QTreeWidgetItem) - @param column column the item was activated in (integer) - """ - if self.noResults: - return - - if itm.parent(): - fn = os.path.join(self.pathname, itm.data(0, self.filenameRole)) - lineno = int(itm.text(0)) - - vm = e5App().getObject("ViewManager") - vm.openSourceFile(fn, lineno) - editor = vm.getOpenEditor(fn) - editor.toggleWarning( - lineno, 0, True, - "{0} | {1}".format(itm.text(1), itm.text(2))) - else: - fn = os.path.join(self.pathname, itm.data(0, self.filenameRole)) - vm = e5App().getObject("ViewManager") - vm.openSourceFile(fn) - editor = vm.getOpenEditor(fn) - for index in range(itm.childCount()): - citm = itm.child(index) - lineno = int(citm.text(0)) - editor.toggleWarning( - lineno, 0, True, - "{0} | {1}".format(citm.text(1), citm.text(2))) - - def __writeReport(self): - """ - Private slot to write the report to a report file. - """ - self.reportFile = self.reportFile - if os.path.exists(self.reportFile): - res = E5MessageBox.warning( - self, - self.tr("PyLint Report"), - self.tr( - """<p>The PyLint report file <b>{0}</b> already""" - """ exists.</p>""") - .format(self.reportFile), - E5MessageBox.StandardButtons( - E5MessageBox.Cancel | - E5MessageBox.Ignore), - E5MessageBox.Cancel) - if res == E5MessageBox.Cancel: - return - - try: - import codecs - with open(self.reportFile, 'wb') as f: - f.write(codecs.BOM_UTF8) - f.write(self.buf.encode('utf-8')) - except OSError as why: - E5MessageBox.critical( - self, self.tr('PyLint Report'), - self.tr('<p>The PyLint report file <b>{0}</b> could not' - ' be written.<br>Reason: {1}</p>') - .format(self.reportFile, str(why))) - - @pyqtSlot() - def on_saveButton_clicked(self): - """ - Private slot to save the report to a file. - """ - fileFilter = ( - self.tr("HTML Files (*.html);;All Files (*)") - if self.htmlOutput else - self.tr("Text Files (*.txt);;All Files (*)") - ) - - self.reportFile = E5FileDialog.getSaveFileName( - self, - self.tr("PyLint Report"), - self.ppath, - fileFilter, - E5FileDialog.Options(E5FileDialog.DontConfirmOverwrite)) - if self.reportFile: - self.__writeReport()
--- a/PyLint/PyLintExecDialog.ui Wed Jun 02 17:36:34 2021 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,156 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<ui version="4.0"> - <class>PyLintExecDialog</class> - <widget class="QWidget" name="PyLintExecDialog"> - <property name="geometry"> - <rect> - <x>0</x> - <y>0</y> - <width>753</width> - <height>605</height> - </rect> - </property> - <property name="sizePolicy"> - <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> - <horstretch>0</horstretch> - <verstretch>3</verstretch> - </sizepolicy> - </property> - <property name="windowTitle"> - <string>PyLint Results</string> - </property> - <layout class="QVBoxLayout" name="verticalLayout_3"> - <item> - <widget class="QGroupBox" name="resultsGroup"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> - <horstretch>0</horstretch> - <verstretch>3</verstretch> - </sizepolicy> - </property> - <property name="title"> - <string>Results</string> - </property> - <layout class="QVBoxLayout" name="verticalLayout"> - <item> - <widget class="QTextEdit" name="contents"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> - <horstretch>0</horstretch> - <verstretch>3</verstretch> - </sizepolicy> - </property> - <property name="whatsThis"> - <string><b>PyLint Execution</b> -<p>This shows the results of the PyLint run.</p></string> - </property> - <property name="tabChangesFocus"> - <bool>true</bool> - </property> - <property name="readOnly"> - <bool>true</bool> - </property> - </widget> - </item> - <item> - <widget class="QTreeWidget" name="messageList"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> - <horstretch>0</horstretch> - <verstretch>3</verstretch> - </sizepolicy> - </property> - <property name="alternatingRowColors"> - <bool>true</bool> - </property> - <property name="rootIsDecorated"> - <bool>false</bool> - </property> - <property name="itemsExpandable"> - <bool>false</bool> - </property> - <property name="sortingEnabled"> - <bool>true</bool> - </property> - <column> - <property name="text"> - <string>File/Line</string> - </property> - </column> - <column> - <property name="text"> - <string>Type</string> - </property> - </column> - <column> - <property name="text"> - <string>Message</string> - </property> - </column> - <column> - <property name="text"> - <string/> - </property> - </column> - </widget> - </item> - </layout> - </widget> - </item> - <item> - <widget class="QGroupBox" name="errorGroup"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> - <horstretch>0</horstretch> - <verstretch>1</verstretch> - </sizepolicy> - </property> - <property name="title"> - <string>Errors</string> - </property> - <layout class="QVBoxLayout" name="verticalLayout_2"> - <item> - <widget class="QTextEdit" name="errors"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> - <horstretch>0</horstretch> - <verstretch>1</verstretch> - </sizepolicy> - </property> - <property name="whatsThis"> - <string><b>PyLint Execution</b> -<p>This shows the errors of the PyLint run.</p></string> - </property> - <property name="tabChangesFocus"> - <bool>true</bool> - </property> - <property name="readOnly"> - <bool>true</bool> - </property> - </widget> - </item> - </layout> - </widget> - </item> - <item> - <widget class="QDialogButtonBox" name="buttonBox"> - <property name="orientation"> - <enum>Qt::Horizontal</enum> - </property> - <property name="standardButtons"> - <set>QDialogButtonBox::Cancel|QDialogButtonBox::Close</set> - </property> - </widget> - </item> - </layout> - </widget> - <layoutdefault spacing="6" margin="11"/> - <pixmapfunction>qPixmapFromMimeSource</pixmapfunction> - <tabstops> - <tabstop>contents</tabstop> - <tabstop>messageList</tabstop> - <tabstop>errors</tabstop> - </tabstops> - <resources/> - <connections/> -</ui>
--- a/PyLint/__init__.py Wed Jun 02 17:36:34 2021 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,8 +0,0 @@ -# -*- coding: utf-8 -*- - -# Copyright (c) 2007 - 2021 Detlev Offenbach <detlev@die-offenbachs.de> -# - -""" -Package containing the PyLint plugin. -"""
--- a/PyLint/i18n/pylint_cs.ts Wed Jun 02 17:36:34 2021 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,532 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!DOCTYPE TS><TS version="2.0" language="cs_CZ" sourcelanguage=""> -<context> - <name>PyLintConfigDialog</name> - <message> - <location filename="../PyLintConfigDialog.ui" line="14"/> - <source>PyLint Configuration</source> - <translation>PyLint konfigurace</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="30"/> - <source>General</source> - <translation>Hlavní</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="52"/> - <source>Output</source> - <translation>Výstup</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="64"/> - <source>Select to generate a plain text report</source> - <translation>Vybrat pro generování textového reportu</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="67"/> - <source>Generate &Textreport</source> - <translation>Generovat &textový report</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="70"/> - <source>Alt+T</source> - <translation></translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="77"/> - <source>Select to generate a HTML report</source> - <translation>Vybrat pro generování HTML reportu</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="80"/> - <source>Generate &HTML Report</source> - <translation>Generovat &HTML report</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="83"/> - <source>Alt+H</source> - <translation></translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="90"/> - <source>Show the pylint result in a dialog</source> - <translation>Zobrazit pylint výsledku v dialogu</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="93"/> - <source>Show Result &Dialog</source> - <translation>Zobrazit &dialog výsledku</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="96"/> - <source>Alt+D</source> - <translation></translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="103"/> - <source>Report File</source> - <translation>Report soubor</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="115"/> - <source>Enter the name of the report file</source> - <translation>Zadejte jméno souboru reportu</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="217"/> - <source>Press to open a file selection dialog</source> - <translation>Stisknout pro otevření dialogu výběru souborů</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="220"/> - <source>...</source> - <translation>...</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="138"/> - <source>Enter the name of the configuration file</source> - <translation>Zadejte jméno konfiguračního souboru</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="169"/> - <source>Press to generate a sample configuration</source> - <translation>Stisknout pro vygenerování vzorové konfigurace</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="172"/> - <source><b>Generate Configuration Template</b> -<p>This generates a sample configuration. The data is shown in a new editor window.</p></source> - <translation><b>Generovat konfigurační šablonu</b> -<p>Toto vygeneruje konfigurační šablonu. Hodnoty jsou zobrazeny v novém editačním okně.</p></translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="176"/> - <source>&Generate Configuration Template</source> - <translation>&Generovat šablonu s konfigurací</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="179"/> - <source>Alt+G</source> - <translation></translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="228"/> - <source>Checkers</source> - <translation>Kontroloři</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="346"/> - <source>Select to enable the variables checker</source> - <translation>Vybrat pro aktivaci kontrolora proměnných</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="349"/> - <source>Variables</source> - <translation>Proměnné</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="256"/> - <source>Select to enable the similarities checker</source> - <translation>Vybrat pro aktivaci kontrolora podobnosti</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="259"/> - <source>Similarities</source> - <translation>Podobnosti</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="306"/> - <source>Select to enable the metrics checker</source> - <translation>Vybrat pro aktivaci kontrolora metriky</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="309"/> - <source>Metrics</source> - <translation>Metriky</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="336"/> - <source>Select to enable the miscellaneous checker</source> - <translation>Vybrat pro aktivaci různých kontrolorů</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="339"/> - <source>Miscellaneous</source> - <translation>Různé</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="246"/> - <source>Select to enable the imports checker</source> - <translation>Vybrat pro aktivaci kontrolora importů</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="249"/> - <source>Imports</source> - <translation>Importy</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="356"/> - <source>Select to enable the format checker</source> - <translation>Vybrat pro aktivaci kontrolora formátu</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="359"/> - <source>Format</source> - <translation>Formát</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="296"/> - <source>Select to enable the design checker</source> - <translation>Vybrat pro aktivaci kontrolory designu</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="299"/> - <source>Design</source> - <translation>Design</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="266"/> - <source>Select to enable the classes checker</source> - <translation>Vybrat pro aktivaci kontrolora tříd</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="269"/> - <source>Classes</source> - <translation>Třídy</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="326"/> - <source>Select to enable the exceptions checker</source> - <translation>Vybrat pro aktivaci kontrolora výjimek</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="329"/> - <source>Exceptions</source> - <translation>Výjimky</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="236"/> - <source>Select to enable the basic checker</source> - <translation>Vybrat pro aktivaci základního kontrolora</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="239"/> - <source>Basic</source> - <translation>Základní</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.py" line="240"/> - <source>Select configuration file</source> - <translation>Vybrat konfigurační soubor</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.py" line="240"/> - <source>Configuration Files (*.cfg *.cnf *.rc);;All Files (*)</source> - <translation>Konfigurační soubory (*.cfg *.cnf *.rc);;Všechny soubory (*)</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.py" line="256"/> - <source>Select report file</source> - <translation>Vybrat soubor reportu</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.py" line="335"/> - <source>Process Generation Error</source> - <translation>Chyba v procesu generování</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.py" line="335"/> - <source>Could not start {0}.<br>Ensure that it is in the search path.</source> - <translation>Nelze spustit {0}.<br>Ověřte, že je umístěn v požadované cestě.</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="42"/> - <source>Configuration &File:</source> - <translation>Kon&figurační soubor:</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="316"/> - <source>Select to enable the typecheck checker</source> - <translation>Vybrat pro aktivaci kontrolora typecheck</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="319"/> - <source>Typecheck</source> - <translation></translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="366"/> - <source>Select to enable the newstyle checker</source> - <translation>Vybrat pro aktivaci kontrolora newstyle</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="369"/> - <source>Newstyle</source> - <translation></translation> - </message> - <message> - <location filename="PyLint/PyLintConfigDialog.ui" line="289"/> - <source>Select to enable the rpython checker</source> - <translation type="obsolete">Vybrat pro zapnutí rpython kontrolora</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="395"/> - <source>Messages</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="401"/> - <source>Enabled Messages:</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="408"/> - <source>Enter the list of enabled messages separated by comma</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="415"/> - <source>Disabled Messages:</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="422"/> - <source>Enter the list of disabled messages separated by comma</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="276"/> - <source>Select to enable the logging checker</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="279"/> - <source>Logging</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="286"/> - <source>Select to enable the string format checker</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="289"/> - <source>String Format</source> - <translation type="unfinished"></translation> - </message> -</context> -<context> - <name>PyLintExecDialog</name> - <message> - <location filename="../PyLintExecDialog.ui" line="20"/> - <source>PyLint Results</source> - <translation>PyLint výsledky</translation> - </message> - <message> - <location filename="../PyLintExecDialog.ui" line="44"/> - <source><b>PyLint Execution</b> -<p>This shows the results of the PyLint run.</p></source> - <translation><b>Běh PyLintu</b> -<p>Zobrazuje výsledky běhu PyLintu.</p></translation> - </message> - <message> - <location filename="PyLint/PyLintExecDialog.ui" line="76"/> - <source>File</source> - <translation type="obsolete">Soubor</translation> - </message> - <message> - <location filename="PyLint/PyLintExecDialog.ui" line="81"/> - <source>Line</source> - <translation type="obsolete">Řádek</translation> - </message> - <message> - <location filename="../PyLintExecDialog.ui" line="82"/> - <source>Type</source> - <translation>Typ</translation> - </message> - <message> - <location filename="../PyLintExecDialog.ui" line="87"/> - <source>Message</source> - <translation>Zpráva</translation> - </message> - <message> - <location filename="../PyLintExecDialog.ui" line="121"/> - <source><b>PyLint Execution</b> -<p>This shows the errors of the PyLint run.</p></source> - <translation><b>Běh PyLintu</b><p>Zobrazuje výsledky běhu PyLintu.</p></translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="45"/> - <source>Save Report...</source> - <translation>Uložit report...</translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="47"/> - <source>Press to save the report to a file</source> - <translation>Stisknout pro uložení reportu do souboru</translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="69"/> - <source>Convention</source> - <translation>Konvence</translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="70"/> - <source>Refactor</source> - <translation></translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="71"/> - <source>Warning</source> - <translation>Varování</translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="72"/> - <source>Error</source> - <translation>Chyba</translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="73"/> - <source>Fatal</source> - <translation>Fatální</translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="145"/> - <source>Process Generation Error</source> - <translation>Chyba v procesu generování</translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="220"/> - <source>No PyLint errors found.</source> - <translation>PyLint chyby nebyly nalezeny.</translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="402"/> - <source>PyLint Report</source> - <translation>PyLint report</translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="365"/> - <source><p>The PyLint report file <b>{0}</b> already exists.</p></source> - <translation><p>Soubor s PyLint reportem <b>{0}</b> již existuje.</p></translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="386"/> - <source><p>The PyLint report file <b>{0}</b> could not be written.<br>Reason: {1}</p></source> - <translation><p>Do souboru s PyLint reportem <b>{0}</b> nelze zapsat .<br>Důvod: {1}</p></translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="398"/> - <source>HTML Files (*.html);;All Files (*)</source> - <translation>HTML soubory (*.html);;Všechny soubory (*)</translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="400"/> - <source>Text Files (*.txt);;All Files (*)</source> - <translation>Textové soubory (*.txt);;Všechny soubory (*)</translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="145"/> - <source>The process {0} could not be started. Ensure, that it is in the search path.</source> - <translation>Proces {0} nelze spustit. Ověřte, že je umístěn v požadované cestě.</translation> - </message> - <message> - <location filename="../PyLintExecDialog.ui" line="32"/> - <source>Results</source> - <translation>Výsledky</translation> - </message> - <message> - <location filename="../PyLintExecDialog.ui" line="109"/> - <source>Errors</source> - <translation>Chyby</translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="51"/> - <source>Refresh</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="53"/> - <source>Press to refresh the result display</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../PyLintExecDialog.ui" line="77"/> - <source>File/Line</source> - <translation type="unfinished"></translation> - </message> -</context> -<context> - <name>PyLintPlugin</name> - <message> - <location filename="../../PluginPyLint.py" line="470"/> - <source>Run PyLint</source> - <translation>Spustit PyLint</translation> - </message> - <message> - <location filename="../../PluginPyLint.py" line="470"/> - <source>Run &PyLint...</source> - <translation>Spustit &PyLint...</translation> - </message> - <message> - <location filename="../../PluginPyLint.py" line="328"/> - <source>Check project, packages or modules with pylint.</source> - <translation>Zkontrolovat projekt, balíčky nebo moduly s pylintem.</translation> - </message> - <message> - <location filename="../../PluginPyLint.py" line="474"/> - <source><b>Run PyLint...</b><p>This checks the project, packages or modules using pylint.</p></source> - <translation><b>Spustit PyLint...</b><p>Toto zkontroluje poejkt, balíčky nebo moduly za pomoci pylintu.</p></translation> - </message> - <message> - <location filename="../../PluginPyLint.py" line="483"/> - <source>Show PyLint Dialog</source> - <translation>Zobrazit PyLint dialog</translation> - </message> - <message> - <location filename="../../PluginPyLint.py" line="483"/> - <source>Show Py&Lint Dialog...</source> - <translation>Zobrazit Py&Lint dialog...</translation> - </message> - <message> - <location filename="../../PluginPyLint.py" line="343"/> - <source>Show the PyLint dialog with the results of the last run.</source> - <translation>Zobrazit PyLint dialog s výsledky posledního spuštění.</translation> - </message> - <message> - <location filename="../../PluginPyLint.py" line="487"/> - <source><b>Show PyLint Dialog...</b><p>This shows the PyLint dialog with the results of the last run.</p></source> - <translation><b>Zobrazit PyLint dialog...</b><p>Zobrazuje PyLint dialog s výsledky předchozího spuštění.</p></translation> - </message> - <message> - <location filename="../../PluginPyLint.py" line="59"/> - <source>Checkers - Pylint</source> - <translation></translation> - </message> - <message> - <location filename="../../PluginPyLint.py" line="359"/> - <source><b>Run PyLint...</b><p>This checks the loaded module using pylint.</p></source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../../PluginPyLint.py" line="526"/> - <source>The pylint executable could not be found.</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../../PluginPyLint.py" line="532"/> - <source>PyLint version < 0.23.0.</source> - <translation>PyLint verze < 0.23.0.</translation> - </message> - <message> - <location filename="PluginPyLint.py" line="224"/> - <source>Cannot determine pylint version.</source> - <translation type="obsolete">Nelze zjistit pylint verzi.</translation> - </message> - <message> - <location filename="../../PluginPyLint.py" line="532"/> - <source>pylint</source> - <translation>pylint</translation> - </message> -</context> -</TS>
--- a/PyLint/i18n/pylint_de.ts Wed Jun 02 17:36:34 2021 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,518 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!DOCTYPE TS><TS version="2.0" language="de" sourcelanguage=""> -<context> - <name>PyLintConfigDialog</name> - <message> - <location filename="../PyLintConfigDialog.py" line="240"/> - <source>Configuration Files (*.cfg *.cnf *.rc);;All Files (*)</source> - <translation>Konfigurationsdateien (*.cfg *.cnf *.rc);;Alle Dateien (*)</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.py" line="240"/> - <source>Select configuration file</source> - <translation>Wähle Konfigurationsdatei aus</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.py" line="256"/> - <source>Select report file</source> - <translation>Wähle Berichtsdatei aus</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.py" line="335"/> - <source>Process Generation Error</source> - <translation>Fehler beim Prozessstart</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="14"/> - <source>PyLint Configuration</source> - <translation>PyLint Konfiguration</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="30"/> - <source>General</source> - <translation>Allgemein</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="52"/> - <source>Output</source> - <translation>Ausgabe</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="64"/> - <source>Select to generate a plain text report</source> - <translation>Auswählen, um einen Textbericht zu erstellen</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="67"/> - <source>Generate &Textreport</source> - <translation>&Textbericht erzeugen</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="70"/> - <source>Alt+T</source> - <translation>Alt+T</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="77"/> - <source>Select to generate a HTML report</source> - <translation>Auswählen, um einen HTML-Bericht zu erstellen</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="80"/> - <source>Generate &HTML Report</source> - <translation>&HTML-Bericht erzeugen</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="83"/> - <source>Alt+H</source> - <translation>Alt+H</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="90"/> - <source>Show the pylint result in a dialog</source> - <translation>Zeigt das PyLint Ergebnis in einem Dialog</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="93"/> - <source>Show Result &Dialog</source> - <translation>&Ergebnisdialog anzeigen</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="96"/> - <source>Alt+D</source> - <translation>Alt+E</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="103"/> - <source>Report File</source> - <translation>Berichtsdatei</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="115"/> - <source>Enter the name of the report file</source> - <translation>Gib den Namen einer Berichtsdatei ein</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="217"/> - <source>Press to open a file selection dialog</source> - <translation>Drücken, um einen Dateiauswahldialog zu öffnen</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="220"/> - <source>...</source> - <translation>...</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="138"/> - <source>Enter the name of the configuration file</source> - <translation>Gib den namen der Konfigurationsdatei ein</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="169"/> - <source>Press to generate a sample configuration</source> - <translation>Drücken, um eine Beispielkonfiguration zu erstellen</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="172"/> - <source><b>Generate Configuration Template</b> -<p>This generates a sample configuration. The data is shown in a new editor window.</p></source> - <translation><b>Konfigurationsvorlage erstellen</b> -<p>Dies erzeugt eine Beispielkonfiguration. Die Daten werden in einem neuen Editorfenster angezeigt.</p></translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="176"/> - <source>&Generate Configuration Template</source> - <translation>&Konfigurationsvorlage erstellen</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="179"/> - <source>Alt+G</source> - <translation>Alt+K</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="228"/> - <source>Checkers</source> - <translation>Prüfer</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="346"/> - <source>Select to enable the variables checker</source> - <translation>Auswählen, um den Variablen-Prüfer zu aktivieren</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="349"/> - <source>Variables</source> - <translation>Variablen</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="256"/> - <source>Select to enable the similarities checker</source> - <translation>Auswählen, um den Ähnlichkeiten-Prüfer zu aktivieren</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="259"/> - <source>Similarities</source> - <translation>Ähnlichkeiten</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="306"/> - <source>Select to enable the metrics checker</source> - <translation>Auswählen, um Metriken zu erzeugen</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="309"/> - <source>Metrics</source> - <translation>Metriken</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="336"/> - <source>Select to enable the miscellaneous checker</source> - <translation>Auswählen, um den Prüfer für Verschiedenes zu aktivieren</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="339"/> - <source>Miscellaneous</source> - <translation>Verschiedenes</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="246"/> - <source>Select to enable the imports checker</source> - <translation>Auswählen, um den Imports-Prüfer zu aktivieren</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="249"/> - <source>Imports</source> - <translation>Imports</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="356"/> - <source>Select to enable the format checker</source> - <translation>Auswählen, um den Format-Prüfer zu aktivieren</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="359"/> - <source>Format</source> - <translation>Format</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="296"/> - <source>Select to enable the design checker</source> - <translation>Auswählen, um den Design-Prüfer zu aktivieren</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="299"/> - <source>Design</source> - <translation>Design</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="266"/> - <source>Select to enable the classes checker</source> - <translation>Auswählen, um den Klassen-Prüfer zu aktivieren</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="269"/> - <source>Classes</source> - <translation>Klassen</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="326"/> - <source>Select to enable the exceptions checker</source> - <translation>Auswählen, um den Ausnahmen-Prüfer zu aktivieren</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="329"/> - <source>Exceptions</source> - <translation>Ausnahmen</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="236"/> - <source>Select to enable the basic checker</source> - <translation>Auswählen, um den Prüfer für Grundlegendes zu aktivieren</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="239"/> - <source>Basic</source> - <translation>Grundlegendes</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="42"/> - <source>Configuration &File:</source> - <translation>Konfiguration&datei:</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="316"/> - <source>Select to enable the typecheck checker</source> - <translation>Auswählen, um den Typ-Prüfer zu aktivieren</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="319"/> - <source>Typecheck</source> - <translation>Typ</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="366"/> - <source>Select to enable the newstyle checker</source> - <translation>Auswählen, um den 'Neuer Stil'-Prüfer zu aktivieren</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="369"/> - <source>Newstyle</source> - <translation>Neuer Stil</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.py" line="335"/> - <source>Could not start {0}.<br>Ensure that it is in the search path.</source> - <translation>{0} konnte nicht gestartet werden.<br>Stellen sie sicher, dass es sich im Suchpfad befindet.</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="395"/> - <source>Messages</source> - <translation>Nachrichten</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="401"/> - <source>Enabled Messages:</source> - <translation>Aktivierte Nachrichten:</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="408"/> - <source>Enter the list of enabled messages separated by comma</source> - <translation>Gib die Liste der aktivierten Nachrichten durch Komma getrennt ein</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="415"/> - <source>Disabled Messages:</source> - <translation>Deaktivierte Nachrichten:</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="422"/> - <source>Enter the list of disabled messages separated by comma</source> - <translation>Gib die Liste der deaktivierten Nachrichten durch Komma getrennt ein</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="276"/> - <source>Select to enable the logging checker</source> - <translation>Auswählen, um den Logging-Prüfer zu aktivieren</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="279"/> - <source>Logging</source> - <translation>Logging</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="286"/> - <source>Select to enable the string format checker</source> - <translation>Auswählen, um den String-Format-Prüfer zu aktivieren</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="289"/> - <source>String Format</source> - <translation>String Format</translation> - </message> -</context> -<context> - <name>PyLintExecDialog</name> - <message> - <location filename="../PyLintExecDialog.py" line="145"/> - <source>Process Generation Error</source> - <translation>Fehler beim Prozessstart</translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="402"/> - <source>PyLint Report</source> - <translation>PyLint Bericht</translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="398"/> - <source>HTML Files (*.html);;All Files (*)</source> - <translation>HTML Dateien (*.html);;Alle Dateien (*)</translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="400"/> - <source>Text Files (*.txt);;All Files (*)</source> - <translation>Textdateien (*.txt);;Alle Dateien (*)</translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="69"/> - <source>Convention</source> - <translation>Konvention</translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="70"/> - <source>Refactor</source> - <translation>Refaktorierung</translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="71"/> - <source>Warning</source> - <translation>Warnung</translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="72"/> - <source>Error</source> - <translation>Fehler</translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="73"/> - <source>Fatal</source> - <translation>Fatal</translation> - </message> - <message> - <location filename="../PyLintExecDialog.ui" line="20"/> - <source>PyLint Results</source> - <translation>PyLint Resultate</translation> - </message> - <message> - <location filename="../PyLintExecDialog.ui" line="44"/> - <source><b>PyLint Execution</b> -<p>This shows the results of the PyLint run.</p></source> - <translation><b>PyLint Ausführung</b> -<p>Dies zeigt die Resultate eines PyLint Laufes.</p></translation> - </message> - <message> - <location filename="../PyLintExecDialog.ui" line="82"/> - <source>Type</source> - <translation>Typ</translation> - </message> - <message> - <location filename="../PyLintExecDialog.ui" line="87"/> - <source>Message</source> - <translation>Nachricht</translation> - </message> - <message> - <location filename="../PyLintExecDialog.ui" line="121"/> - <source><b>PyLint Execution</b> -<p>This shows the errors of the PyLint run.</p></source> - <translation><b>PyLint Ausführung</b> -<p>Dies zeigt die Fehler eines PyLint Laufes.</p></translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="47"/> - <source>Press to save the report to a file</source> - <translation>Drücken, um eine Berichtsdatei zu schreiben</translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="220"/> - <source>No PyLint errors found.</source> - <translation>Keine PyLint Fehler gefunden.</translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="45"/> - <source>Save Report...</source> - <translation>Bericht speichern...</translation> - </message> - <message> - <location filename="../PyLintExecDialog.ui" line="32"/> - <source>Results</source> - <translation>Resultate</translation> - </message> - <message> - <location filename="../PyLintExecDialog.ui" line="109"/> - <source>Errors</source> - <translation>Fehler</translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="51"/> - <source>Refresh</source> - <translation>Erneuern</translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="53"/> - <source>Press to refresh the result display</source> - <translation>Drücken, um die Ergebnisanzeige zu erneuern</translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="145"/> - <source>The process {0} could not be started. Ensure, that it is in the search path.</source> - <translation>Der Prozess {0} konnte nicht gestartet werden. Stellen Sie sicher, dass er sich im Suchpfad befindet.</translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="365"/> - <source><p>The PyLint report file <b>{0}</b> already exists.</p></source> - <translation><p>Die PyLint Berichtsdatei <b>{0}</b> existiert bereits.</p></translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="386"/> - <source><p>The PyLint report file <b>{0}</b> could not be written.<br>Reason: {1}</p></source> - <translation><p>Die Pylint Berichtsdatei <b>{0}</b> konnte nicht geschrieben werden.<br>Ursache: {1}</p></translation> - </message> - <message> - <location filename="../PyLintExecDialog.ui" line="77"/> - <source>File/Line</source> - <translation>Datei/Zeile</translation> - </message> -</context> -<context> - <name>PyLintPlugin</name> - <message> - <location filename="../../PluginPyLint.py" line="470"/> - <source>Run PyLint</source> - <translation>PyLint ausführen</translation> - </message> - <message> - <location filename="../../PluginPyLint.py" line="470"/> - <source>Run &PyLint...</source> - <translation>&PyLint ausführen...</translation> - </message> - <message> - <location filename="../../PluginPyLint.py" line="328"/> - <source>Check project, packages or modules with pylint.</source> - <translation>Überprüft das Projekt, Packages oder Module mit PyLint.</translation> - </message> - <message> - <location filename="../../PluginPyLint.py" line="474"/> - <source><b>Run PyLint...</b><p>This checks the project, packages or modules using pylint.</p></source> - <translation><b>PyLint ausführen...</b><p>Dies überprüft das Projekt, Packages oder Module mit PyLint.</p></translation> - </message> - <message> - <location filename="../../PluginPyLint.py" line="483"/> - <source>Show PyLint Dialog</source> - <translation>Zeige PyLint Dialog</translation> - </message> - <message> - <location filename="../../PluginPyLint.py" line="483"/> - <source>Show Py&Lint Dialog...</source> - <translation>Zeige Py&Lint Dialog...</translation> - </message> - <message> - <location filename="../../PluginPyLint.py" line="343"/> - <source>Show the PyLint dialog with the results of the last run.</source> - <translation>Zeige den PyLint Dialog mit den Ergebnissen des letzten Laufes.</translation> - </message> - <message> - <location filename="../../PluginPyLint.py" line="487"/> - <source><b>Show PyLint Dialog...</b><p>This shows the PyLint dialog with the results of the last run.</p></source> - <translation><b>Zeige PyLint Dialog...</b><p>Dies zeigt den PyLint Dialog mit den Ergebnissen des letzten Laufes.</p></translation> - </message> - <message> - <location filename="../../PluginPyLint.py" line="59"/> - <source>Checkers - Pylint</source> - <translation>Prüfer - Pylint</translation> - </message> - <message> - <location filename="../../PluginPyLint.py" line="359"/> - <source><b>Run PyLint...</b><p>This checks the loaded module using pylint.</p></source> - <translation><b>PyLint ausführen...</b><p>Dies überprüft das geladene Module mit PyLint.</p></translation> - </message> - <message> - <location filename="../../PluginPyLint.py" line="526"/> - <source>The pylint executable could not be found.</source> - <translation>Das pylint Programm konnte nicht gefunden werden.</translation> - </message> - <message> - <location filename="../../PluginPyLint.py" line="532"/> - <source>PyLint version < 0.23.0.</source> - <translation>PyLint Version < 0.23.0.</translation> - </message> - <message> - <location filename="../../PluginPyLint.py" line="532"/> - <source>pylint</source> - <translation>pylint</translation> - </message> - <message> - <location filename="../../PluginPyLint.py" line="30"/> - <source>Your version of Eric5 is not supported. At least version 5.1.0 of Eric5 is needed.</source> - <translation type="obsolete">Diese eric5 Version wird nicht unterstützt. Es wird mindestens Version 5.1.0 oder höher benötigt.</translation> - </message> -</context> -</TS>
--- a/PyLint/i18n/pylint_es.ts Wed Jun 02 17:36:34 2021 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,517 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!DOCTYPE TS><TS version="2.0" language="es_ES" sourcelanguage=""> -<context> - <name>PyLintConfigDialog</name> - <message> - <location filename="../PyLintConfigDialog.ui" line="14"/> - <source>PyLint Configuration</source> - <translation>Configuración de PyLint</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="30"/> - <source>General</source> - <translation>General</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="42"/> - <source>Configuration &File:</source> - <translation>&Archivo de Configuración:</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="52"/> - <source>Output</source> - <translation>Output</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="64"/> - <source>Select to generate a plain text report</source> - <translation>Seleccionar para generar un informe de texto plano</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="67"/> - <source>Generate &Textreport</source> - <translation>Generar Informe de &Texto</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="70"/> - <source>Alt+T</source> - <translation>Alt+T</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="77"/> - <source>Select to generate a HTML report</source> - <translation>Seleccionar para generar un informe HTML</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="80"/> - <source>Generate &HTML Report</source> - <translation>Generar Informe &HTML</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="83"/> - <source>Alt+H</source> - <translation>Alt+H</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="90"/> - <source>Show the pylint result in a dialog</source> - <translation>Mostrar en un diálogo el resultado de pylint</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="93"/> - <source>Show Result &Dialog</source> - <translation>Mostrar un &Diálogo de Resultado</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="96"/> - <source>Alt+D</source> - <translation>Alt+D</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="103"/> - <source>Report File</source> - <translation>Archivo de Informe</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="115"/> - <source>Enter the name of the report file</source> - <translation>Intruducir el nombre de un archivo de informe</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="217"/> - <source>Press to open a file selection dialog</source> - <translation>Pulse para abrir un diálogo de selección de archivo</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="220"/> - <source>...</source> - <translation>...</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="138"/> - <source>Enter the name of the configuration file</source> - <translation>Introduzca el nombre del archivo de configuración</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="169"/> - <source>Press to generate a sample configuration</source> - <translation>ulse para generar una configuración de ejemplo</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="172"/> - <source><b>Generate Configuration Template</b> -<p>This generates a sample configuration. The data is shown in a new editor window.</p></source> - <translation><b>Generar Plantilla de Configuración</b> -<p>Genera una configuración de ejemplo. Los datos se muestran en una nueva ventana de editor.</p></translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="176"/> - <source>&Generate Configuration Template</source> - <translation>&Generar Plantilla de Configuración</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="179"/> - <source>Alt+G</source> - <translation>Alt+G</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="228"/> - <source>Checkers</source> - <translation>Revisores</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="346"/> - <source>Select to enable the variables checker</source> - <translation>Seleccionar para habilitar la verificación de variables</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="349"/> - <source>Variables</source> - <translation>Variables</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="316"/> - <source>Select to enable the typecheck checker</source> - <translation>Seleccionar para habilitar la verificación de tipos</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="319"/> - <source>Typecheck</source> - <translation>Revisión de Tipos</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="256"/> - <source>Select to enable the similarities checker</source> - <translation>Seleccionar para habilitar la verificación de similitudes</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="259"/> - <source>Similarities</source> - <translation>Similitudes</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="366"/> - <source>Select to enable the newstyle checker</source> - <translation>Seleccionar para habilitar la verificación de nuevo estilo</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="369"/> - <source>Newstyle</source> - <translation>Nuevo Estilo</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="336"/> - <source>Select to enable the miscellaneous checker</source> - <translation>Seleccionar para habilitar diversas verificaciones</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="339"/> - <source>Miscellaneous</source> - <translation>Miscelánea</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="306"/> - <source>Select to enable the metrics checker</source> - <translation>Seleccionar para habilitar la veriricación de métricas</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="309"/> - <source>Metrics</source> - <translation>Métricas</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="356"/> - <source>Select to enable the format checker</source> - <translation>Seleccionar para habilitar la verificación de formato</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="359"/> - <source>Format</source> - <translation>Formato</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="326"/> - <source>Select to enable the exceptions checker</source> - <translation>Seleccionar para habilitar la verificación de excepciones</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="329"/> - <source>Exceptions</source> - <translation>Excepciones</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="296"/> - <source>Select to enable the design checker</source> - <translation>Seleccionar para habilitar la revisión de diseño</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="299"/> - <source>Design</source> - <translation>Diseño</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="266"/> - <source>Select to enable the classes checker</source> - <translation>Seleccionar para habilitar la verificación de clases</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="269"/> - <source>Classes</source> - <translation>Clases</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="246"/> - <source>Select to enable the imports checker</source> - <translation>Seleccionar para habilitar la verificación de imports</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="249"/> - <source>Imports</source> - <translation>Imports</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="236"/> - <source>Select to enable the basic checker</source> - <translation>Seleccionar para habilitar la verificación básica</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="239"/> - <source>Basic</source> - <translation>Básica</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.py" line="240"/> - <source>Select configuration file</source> - <translation>Seleccionar archivo de configuración</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.py" line="240"/> - <source>Configuration Files (*.cfg *.cnf *.rc);;All Files (*)</source> - <translation>Archivos de configuración (*.cfg *.cnf *.rc);;Todos los Archivos (*)</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.py" line="256"/> - <source>Select report file</source> - <translation>Seleccionar archivo de informes</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.py" line="335"/> - <source>Process Generation Error</source> - <translation>Error de Generación de Proceso</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.py" line="335"/> - <source>Could not start {0}.<br>Ensure that it is in the search path.</source> - <translation>No se ha podido ejecutar el proceso {0}.<br>Asegúrese de que está en la ruta de búsqueda.</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="395"/> - <source>Messages</source> - <translation>Mensajes</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="401"/> - <source>Enabled Messages:</source> - <translation>Mensajes Habilitados:</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="408"/> - <source>Enter the list of enabled messages separated by comma</source> - <translation>Introducir la lista de mensajes habilitados separados por comas</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="415"/> - <source>Disabled Messages:</source> - <translation>Mensajes Deshabilitados:</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="422"/> - <source>Enter the list of disabled messages separated by comma</source> - <translation>Introducir la lista de mensajes deshabilitados separados por comas</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="276"/> - <source>Select to enable the logging checker</source> - <translation>Seleccionar para habilitar la verificación de acceso</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="279"/> - <source>Logging</source> - <translation>Acceso</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="286"/> - <source>Select to enable the string format checker</source> - <translation>Seleccionar para habilitar verificación de formato de cadenas</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="289"/> - <source>String Format</source> - <translation>Formato de cadenas</translation> - </message> -</context> -<context> - <name>PyLintExecDialog</name> - <message> - <location filename="../PyLintExecDialog.ui" line="20"/> - <source>PyLint Results</source> - <translation>Resultados de PyLint</translation> - </message> - <message> - <location filename="../PyLintExecDialog.ui" line="44"/> - <source><b>PyLint Execution</b> -<p>This shows the results of the PyLint run.</p></source> - <translation><b>Ejecución de PyLint</b><p>Muestra los resultados de la ejecución de PyLint.</p></translation> - </message> - <message> - <location filename="../PyLintExecDialog.ui" line="82"/> - <source>Type</source> - <translation>Tipo</translation> - </message> - <message> - <location filename="../PyLintExecDialog.ui" line="87"/> - <source>Message</source> - <translation>Mensaje</translation> - </message> - <message> - <location filename="../PyLintExecDialog.ui" line="121"/> - <source><b>PyLint Execution</b> -<p>This shows the errors of the PyLint run.</p></source> - <translation><b>Ejecución de PyLint</b> -<p>Muestra los errores de la ejecución de PyLint.</p></translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="45"/> - <source>Save Report...</source> - <translation>Gaurdar Informe...</translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="47"/> - <source>Press to save the report to a file</source> - <translation>Pulse para guardar el informe a un archivo</translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="69"/> - <source>Convention</source> - <translation>Convención</translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="70"/> - <source>Refactor</source> - <translation>Refactorizar</translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="71"/> - <source>Warning</source> - <translation>Advertencia</translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="72"/> - <source>Error</source> - <translation>Error</translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="73"/> - <source>Fatal</source> - <translation>Fatal</translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="145"/> - <source>Process Generation Error</source> - <translation>Error de Generación de Proceso</translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="145"/> - <source>The process {0} could not be started. Ensure, that it is in the search path.</source> - <translation>No se ha podido ejecutar el proceso {0}.<br>Asegúrese de que está en la ruta de búsqueda.</translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="220"/> - <source>No PyLint errors found.</source> - <translation>No se han encontrado errores de PyLint.</translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="402"/> - <source>PyLint Report</source> - <translation>Informe de PyLint</translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="365"/> - <source><p>The PyLint report file <b>{0}</b> already exists.</p></source> - <translation><p>El archivo de informe PyLint <b>{0}</b> ya existe.</p></translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="386"/> - <source><p>The PyLint report file <b>{0}</b> could not be written.<br>Reason: {1}</p></source> - <translation><p>El archivo de informe PyLint <b>{0}</b> no ha podido guardarse.<br>Causa: {1}</p></translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="398"/> - <source>HTML Files (*.html);;All Files (*)</source> - <translation>Archivos HTML (*.html);;Todos los Archivos (*)</translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="400"/> - <source>Text Files (*.txt);;All Files (*)</source> - <translation>Archivos de Texto (*.txt);;Todos los Archivos (*)</translation> - </message> - <message> - <location filename="../PyLintExecDialog.ui" line="32"/> - <source>Results</source> - <translation>Resultados</translation> - </message> - <message> - <location filename="../PyLintExecDialog.ui" line="109"/> - <source>Errors</source> - <translation>Errores</translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="51"/> - <source>Refresh</source> - <translation>Actualizar</translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="53"/> - <source>Press to refresh the result display</source> - <translation>Pulsar àra actualizar la visualización de resultados</translation> - </message> - <message> - <location filename="../PyLintExecDialog.ui" line="77"/> - <source>File/Line</source> - <translation>Archivo/Línea</translation> - </message> -</context> -<context> - <name>PyLintPlugin</name> - <message> - <location filename="../../PluginPyLint.py" line="59"/> - <source>Checkers - Pylint</source> - <translation>Revisores - PyLint</translation> - </message> - <message> - <location filename="../../PluginPyLint.py" line="470"/> - <source>Run PyLint</source> - <translation>Ejecutar PyLint</translation> - </message> - <message> - <location filename="../../PluginPyLint.py" line="470"/> - <source>Run &PyLint...</source> - <translation>Ejecutar &PyLint...</translation> - </message> - <message> - <location filename="../../PluginPyLint.py" line="328"/> - <source>Check project, packages or modules with pylint.</source> - <translation>Revisar proyecto, paquetes o módulos con pylint.</translation> - </message> - <message> - <location filename="../../PluginPyLint.py" line="474"/> - <source><b>Run PyLint...</b><p>This checks the project, packages or modules using pylint.</p></source> - <translation><b>Ejecutar PyLint...</b><p>Verifica el proyecto, paquetes o módulos usando pylint.</p></translation> - </message> - <message> - <location filename="../../PluginPyLint.py" line="483"/> - <source>Show PyLint Dialog</source> - <translation>Mostrar Diálogo de PyLint</translation> - </message> - <message> - <location filename="../../PluginPyLint.py" line="483"/> - <source>Show Py&Lint Dialog...</source> - <translation>Mostrar Diálogo de Py&Lint...</translation> - </message> - <message> - <location filename="../../PluginPyLint.py" line="343"/> - <source>Show the PyLint dialog with the results of the last run.</source> - <translation>Mostrar el diálogo de PyLint con los resultados de la última ejecución.</translation> - </message> - <message> - <location filename="../../PluginPyLint.py" line="487"/> - <source><b>Show PyLint Dialog...</b><p>This shows the PyLint dialog with the results of the last run.</p></source> - <translation><b>Mostrar Diálogo de PyLint...</b><p>Muestra el diálogo de PyLint con los resultados de la última ejecución.</p></translation> - </message> - <message> - <location filename="../../PluginPyLint.py" line="359"/> - <source><b>Run PyLint...</b><p>This checks the loaded module using pylint.</p></source> - <translation><b>Ejecutar PyLint...</b><p>Utiliza pylint para chequear el módulo cargado.</p></translation> - </message> - <message> - <location filename="../../PluginPyLint.py" line="526"/> - <source>The pylint executable could not be found.</source> - <translation>El ejecutable de pylint no se encuentra.</translation> - </message> - <message> - <location filename="../../PluginPyLint.py" line="532"/> - <source>PyLint version < 0.23.0.</source> - <translation>Versión de PyLint < 0.23.0.</translation> - </message> - <message> - <location filename="../../PluginPyLint.py" line="532"/> - <source>pylint</source> - <translation>pylint</translation> - </message> - <message> - <location filename="../../PluginPyLint.py" line="30"/> - <source>Your version of Eric5 is not supported. At least version 5.1.0 of Eric5 is needed.</source> - <translation type="obsolete">Esta versión de Eric5 no está soportada. Es necesaria la versión 5.1.0 o superior de eric5.</translation> - </message> -</context> -</TS>
--- a/PyLint/i18n/pylint_fr.ts Wed Jun 02 17:36:34 2021 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,538 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!DOCTYPE TS><TS version="2.0" language="fr" sourcelanguage=""> -<context> - <name>PyLintConfigDialog</name> - <message> - <location filename="../PyLintConfigDialog.py" line="240"/> - <source>Configuration Files (*.cfg *.cnf *.rc);;All Files (*)</source> - <translation>Fichiers de configuration (*.cfg *.cnf *.rc);;Tous les fichiers (*)</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.py" line="240"/> - <source>Select configuration file</source> - <translation>Sélection d'un fichier de configuration</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.py" line="256"/> - <source>Select report file</source> - <translation>Sélecion d'un fichier rapport</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.py" line="335"/> - <source>Process Generation Error</source> - <translation>Erreur dans la generation du processus</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.py" line="335"/> - <source>Could not start {0}.<br>Ensure that it is in the search path.</source> - <translation>Impossible de démarrer {0}.<br>Assurez-vous qu'il est bien dans le chemin de recherche.</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="14"/> - <source>PyLint Configuration</source> - <translation>Configuration de PyLint</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="30"/> - <source>General</source> - <translation>Général</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="52"/> - <source>Output</source> - <translation>Sortie</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="64"/> - <source>Select to generate a plain text report</source> - <translation>Sélectionner pour générer un rapport au format texte brut</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="67"/> - <source>Generate &Textreport</source> - <translation>Générer un rapport au format &texte</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="70"/> - <source>Alt+T</source> - <translation>Alt+T</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="77"/> - <source>Select to generate a HTML report</source> - <translation>Sélectionner pour générer un rapport au format HTML</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="80"/> - <source>Generate &HTML Report</source> - <translation>Générer un rapport au format &HTML</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="83"/> - <source>Alt+H</source> - <translation>Alt+H</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="90"/> - <source>Show the pylint result in a dialog</source> - <translation>Afficher les résultats de pylint dans un fenêtre indépendante</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="93"/> - <source>Show Result &Dialog</source> - <translation>Afficher le résultat dans une &fenêtre</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="96"/> - <source>Alt+D</source> - <translation>Alt+D</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="103"/> - <source>Report File</source> - <translation>Fichier Rapport</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="115"/> - <source>Enter the name of the report file</source> - <translation>Entrer le nom du fichier rapport</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="217"/> - <source>Press to open a file selection dialog</source> - <translation>Cliquer pour choisir un fichier</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="220"/> - <source>...</source> - <translation>...</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="138"/> - <source>Enter the name of the configuration file</source> - <translation>Entrer le nom du fichier de configuration</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="169"/> - <source>Press to generate a sample configuration</source> - <translation>Cliquer pour générer un exemple de configuration</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="172"/> - <source><b>Generate Configuration Template</b> -<p>This generates a sample configuration. The data is shown in a new editor window.</p></source> - <translation><b>Générer un gabarit de configuration</b> -<p>Génère un exemple de configuration. Les données sont affichées dans une nouvelle fenêtre d'édition.</p></translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="176"/> - <source>&Generate Configuration Template</source> - <translation>&Générer un gabarit de configuration</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="179"/> - <source>Alt+G</source> - <translation>Alt+G</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="228"/> - <source>Checkers</source> - <translation>Vérificateurs</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="346"/> - <source>Select to enable the variables checker</source> - <translation>Cocher pour activer la vérification des variables</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="349"/> - <source>Variables</source> - <translation>Variables</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="256"/> - <source>Select to enable the similarities checker</source> - <translation>Cocher pour activer la vérification des similarités</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="259"/> - <source>Similarities</source> - <translation>Similarités</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="306"/> - <source>Select to enable the metrics checker</source> - <translation>Cocher pour activer le décompte des lignes dans les différentes catégories de code</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="309"/> - <source>Metrics</source> - <translation>Décompte des lignes</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="336"/> - <source>Select to enable the miscellaneous checker</source> - <translation>Cocher pour activer la vérification des paramètres divers</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="339"/> - <source>Miscellaneous</source> - <translation>Divers</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="246"/> - <source>Select to enable the imports checker</source> - <translation>Cocher pour activer la vérification des importations</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="249"/> - <source>Imports</source> - <translation>Imports</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="356"/> - <source>Select to enable the format checker</source> - <translation>Cocher pour activer la vérification des formats</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="359"/> - <source>Format</source> - <translation>Format</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="296"/> - <source>Select to enable the design checker</source> - <translation>Cocher pour activer la vérification de design de code</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="299"/> - <source>Design</source> - <translation>Design</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="266"/> - <source>Select to enable the classes checker</source> - <translation>Cocher pour activer la vérification des classes</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="269"/> - <source>Classes</source> - <translation>Classes</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="326"/> - <source>Select to enable the exceptions checker</source> - <translation>Cocher pour activer la vérification des exceptions</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="329"/> - <source>Exceptions</source> - <translation>Exceptions</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="236"/> - <source>Select to enable the basic checker</source> - <translation>Cocher pour activer la vérification basique</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="239"/> - <source>Basic</source> - <translation>Basique</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="42"/> - <source>Configuration &File:</source> - <translation>&Fichier de configuration:</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="316"/> - <source>Select to enable the typecheck checker</source> - <translation>Cocher pour activer le vérificateur de types</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="319"/> - <source>Typecheck</source> - <translation>Vérificateur de types</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="366"/> - <source>Select to enable the newstyle checker</source> - <translation>Cocher pour activer le vérificateur de styles</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="369"/> - <source>Newstyle</source> - <translation>Newstyle</translation> - </message> - <message> - <location filename="PyLint/PyLintConfigDialog.ui" line="289"/> - <source>Select to enable the rpython checker</source> - <translation type="obsolete">Cocher pour activer le vérificateur rpython</translation> - </message> - <message> - <location filename="PyLint/PyLintConfigDialog.ui" line="292"/> - <source>RPython</source> - <translation type="obsolete">RPython</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="395"/> - <source>Messages</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="401"/> - <source>Enabled Messages:</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="408"/> - <source>Enter the list of enabled messages separated by comma</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="415"/> - <source>Disabled Messages:</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="422"/> - <source>Enter the list of disabled messages separated by comma</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="276"/> - <source>Select to enable the logging checker</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="279"/> - <source>Logging</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="286"/> - <source>Select to enable the string format checker</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="289"/> - <source>String Format</source> - <translation type="unfinished"></translation> - </message> -</context> -<context> - <name>PyLintExecDialog</name> - <message> - <location filename="../PyLintExecDialog.py" line="145"/> - <source>Process Generation Error</source> - <translation>Erreur dans la génération du processus</translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="402"/> - <source>PyLint Report</source> - <translation>Rapport PyLint</translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="365"/> - <source><p>The PyLint report file <b>{0}</b> already exists.</p></source> - <translation><p>Le fichier rapport PyLint <b>{0}</b> existe déjà.</p></translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="386"/> - <source><p>The PyLint report file <b>{0}</b> could not be written.<br>Reason: {1}</p></source> - <translation><p>Impossible d'écrire le fichier rapport PyLint <b>{0}</b>. Raison : <b>{1}</b></p></translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="398"/> - <source>HTML Files (*.html);;All Files (*)</source> - <translation>Fichiers HTML (*.html);;Tous les fichiers (*)</translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="400"/> - <source>Text Files (*.txt);;All Files (*)</source> - <translation>Fichiers texte (*.txt);;Tous fichiers (*)</translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="69"/> - <source>Convention</source> - <translation>Convention</translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="70"/> - <source>Refactor</source> - <translation>Restructuration</translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="71"/> - <source>Warning</source> - <translation>Warning</translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="72"/> - <source>Error</source> - <translation>Erreur</translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="73"/> - <source>Fatal</source> - <translation>Fatal</translation> - </message> - <message> - <location filename="../PyLintExecDialog.ui" line="20"/> - <source>PyLint Results</source> - <translation>Résultats PyLint</translation> - </message> - <message> - <location filename="../PyLintExecDialog.ui" line="44"/> - <source><b>PyLint Execution</b> -<p>This shows the results of the PyLint run.</p></source> - <translation><b>Execution PyLint</b> -<p>Affiche les résultats de la vérification PyLint.</p></translation> - </message> - <message> - <location filename="PyLint/PyLintExecDialog.ui" line="76"/> - <source>File</source> - <translation type="obsolete">Fichier</translation> - </message> - <message> - <location filename="PyLint/PyLintExecDialog.ui" line="81"/> - <source>Line</source> - <translation type="obsolete">Ligne</translation> - </message> - <message> - <location filename="../PyLintExecDialog.ui" line="82"/> - <source>Type</source> - <translation>Type</translation> - </message> - <message> - <location filename="../PyLintExecDialog.ui" line="87"/> - <source>Message</source> - <translation>Message</translation> - </message> - <message> - <location filename="../PyLintExecDialog.ui" line="121"/> - <source><b>PyLint Execution</b> -<p>This shows the errors of the PyLint run.</p></source> - <translation><b>Execution PyLint</b> -<p>Affiche les erreurs de l'execution de PyLint.</p></translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="47"/> - <source>Press to save the report to a file</source> - <translation>Cliquer pour enregistrer le rapport dans un fichier</translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="220"/> - <source>No PyLint errors found.</source> - <translation>Aucune erreur PyLint.</translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="45"/> - <source>Save Report...</source> - <translation>Enregistrer le rapport...</translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="145"/> - <source>The process {0} could not be started. Ensure, that it is in the search path.</source> - <translation>Impossible de lancer le processus {0}. Assurez-vous qu'il est bien dans le chemin de recherche.</translation> - </message> - <message> - <location filename="../PyLintExecDialog.ui" line="32"/> - <source>Results</source> - <translation>Résultats</translation> - </message> - <message> - <location filename="../PyLintExecDialog.ui" line="109"/> - <source>Errors</source> - <translation>Erreurs</translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="51"/> - <source>Refresh</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="53"/> - <source>Press to refresh the result display</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../PyLintExecDialog.ui" line="77"/> - <source>File/Line</source> - <translation type="unfinished"></translation> - </message> -</context> -<context> - <name>PyLintPlugin</name> - <message> - <location filename="../../PluginPyLint.py" line="470"/> - <source>Run PyLint</source> - <translation>Lancer PyLint</translation> - </message> - <message> - <location filename="../../PluginPyLint.py" line="470"/> - <source>Run &PyLint...</source> - <translation>Lancer &PyLint...</translation> - </message> - <message> - <location filename="../../PluginPyLint.py" line="328"/> - <source>Check project, packages or modules with pylint.</source> - <translation>Vérifie le projet, les packages ou les modules avec pylint.</translation> - </message> - <message> - <location filename="../../PluginPyLint.py" line="474"/> - <source><b>Run PyLint...</b><p>This checks the project, packages or modules using pylint.</p></source> - <translation><b>Lancer PyLint...</b><p>Vérifie le projet, les packages ou les modules avec pylint.</p></translation> - </message> - <message> - <location filename="../../PluginPyLint.py" line="483"/> - <source>Show PyLint Dialog</source> - <translation>Afficher la fenêtre PyLint</translation> - </message> - <message> - <location filename="../../PluginPyLint.py" line="483"/> - <source>Show Py&Lint Dialog...</source> - <translation>Afficher la fenêtre P&yLint...</translation> - </message> - <message> - <location filename="../../PluginPyLint.py" line="343"/> - <source>Show the PyLint dialog with the results of the last run.</source> - <translation>Affiche la fenêtre PyLint avec les résultats du dernier run.</translation> - </message> - <message> - <location filename="../../PluginPyLint.py" line="487"/> - <source><b>Show PyLint Dialog...</b><p>This shows the PyLint dialog with the results of the last run.</p></source> - <translation><b>Afficher la fenêtre PyLint...</b><p>Affiche la fenêtre PyLint avec les résultats du dernier run.</p></translation> - </message> - <message> - <location filename="../../PluginPyLint.py" line="59"/> - <source>Checkers - Pylint</source> - <translation>Vérificateurs - Pylint</translation> - </message> - <message> - <location filename="../../PluginPyLint.py" line="359"/> - <source><b>Run PyLint...</b><p>This checks the loaded module using pylint.</p></source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../../PluginPyLint.py" line="526"/> - <source>The pylint executable could not be found.</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../../PluginPyLint.py" line="532"/> - <source>PyLint version < 0.23.0.</source> - <translation>PyLint version < 0.23.0.</translation> - </message> - <message> - <location filename="PluginPyLint.py" line="224"/> - <source>Cannot determine pylint version.</source> - <translation type="obsolete">Impossible de déterminer la version de pylint.</translation> - </message> - <message> - <location filename="../../PluginPyLint.py" line="532"/> - <source>pylint</source> - <translation>pylint</translation> - </message> -</context> -</TS>
--- a/PyLint/i18n/pylint_pt.ts Wed Jun 02 17:36:34 2021 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,513 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!DOCTYPE TS><TS version="2.0" language="pt_PT" sourcelanguage=""> -<context> - <name>PyLintConfigDialog</name> - <message> - <location filename="../PyLintConfigDialog.ui" line="14"/> - <source>PyLint Configuration</source> - <translation>Configuração de PyLint</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="30"/> - <source>General</source> - <translation>Geral</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="42"/> - <source>Configuration &File:</source> - <translation>&Ficheiro de Configuração:</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="52"/> - <source>Output</source> - <translation>Saída</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="64"/> - <source>Select to generate a plain text report</source> - <translation>Selecionar para gerar um realatório de texto plano</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="67"/> - <source>Generate &Textreport</source> - <translation>Gerar Relatório de &Texto</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="70"/> - <source>Alt+T</source> - <translation>Alt+T</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="77"/> - <source>Select to generate a HTML report</source> - <translation>Seleccionar para gerar um relatório HTML</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="80"/> - <source>Generate &HTML Report</source> - <translation>Gerar Relatório &HTML</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="83"/> - <source>Alt+H</source> - <translation>Alt+H</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="90"/> - <source>Show the pylint result in a dialog</source> - <translation>Mostrar o resultado de pylint numa caixa de diálogo</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="93"/> - <source>Show Result &Dialog</source> - <translation>Mostrar &Diálogo com Resultado</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="96"/> - <source>Alt+D</source> - <translation>Alt+D</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="103"/> - <source>Report File</source> - <translation>Ficheiro Relatório</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="115"/> - <source>Enter the name of the report file</source> - <translation>Introduzir o nome do ficheiro relatório</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="217"/> - <source>Press to open a file selection dialog</source> - <translation>Pressionar para abrir uma caixa de diálogo de seleção de ficheiros</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="220"/> - <source>...</source> - <translation>...</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="138"/> - <source>Enter the name of the configuration file</source> - <translation>Introduzir o nome do ficheiro de configuração</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="169"/> - <source>Press to generate a sample configuration</source> - <translation>Pressionar para gerar uma amostra de configuração</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="172"/> - <source><b>Generate Configuration Template</b> -<p>This generates a sample configuration. The data is shown in a new editor window.</p></source> - <translation><b>Gerar Modelo de Configuração</b> -<p>Cria uma amostra de configuração. Mostram-se os dados numa nova janela de edição.</p></translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="176"/> - <source>&Generate Configuration Template</source> - <translation>&Gerar Modelo de Configuração</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="179"/> - <source>Alt+G</source> - <translation>Alt+G</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="228"/> - <source>Checkers</source> - <translation>Verificadores</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="346"/> - <source>Select to enable the variables checker</source> - <translation>Selecionar para habilitar o verificador de variáveis</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="349"/> - <source>Variables</source> - <translation>Variáveis</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="316"/> - <source>Select to enable the typecheck checker</source> - <translation>Selecionar para habilitar o verificador de tipos</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="319"/> - <source>Typecheck</source> - <translation>Verificador de Tipos</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="256"/> - <source>Select to enable the similarities checker</source> - <translation>Selecionar para habilitar verificador de semelhanças</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="259"/> - <source>Similarities</source> - <translation>Semelhanças</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="366"/> - <source>Select to enable the newstyle checker</source> - <translation>Selecionar para habilitar verificador de novo estilo</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="369"/> - <source>Newstyle</source> - <translation>Novo Estilo</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="336"/> - <source>Select to enable the miscellaneous checker</source> - <translation>Selecionar para habilitar verificador de diversos parâmetros</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="339"/> - <source>Miscellaneous</source> - <translation>Diversos</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="306"/> - <source>Select to enable the metrics checker</source> - <translation>Selecionar para habilitar verificador de métricas</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="309"/> - <source>Metrics</source> - <translation>Métricas</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="356"/> - <source>Select to enable the format checker</source> - <translation>Selecionar para habilitar verificador de formatos</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="359"/> - <source>Format</source> - <translation>Formato</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="326"/> - <source>Select to enable the exceptions checker</source> - <translation>Selecionar para habilitar o verificador de excepções</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="329"/> - <source>Exceptions</source> - <translation>Excepções</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="296"/> - <source>Select to enable the design checker</source> - <translation>Selecionar para habilitar o verificador de desenho</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="299"/> - <source>Design</source> - <translation>Desenho</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="266"/> - <source>Select to enable the classes checker</source> - <translation>Selecionar para habilitar o verificador de classes</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="269"/> - <source>Classes</source> - <translation>Classes</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="246"/> - <source>Select to enable the imports checker</source> - <translation>Selecionar para habilitar o verificador de imports</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="249"/> - <source>Imports</source> - <translation>Imports</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="236"/> - <source>Select to enable the basic checker</source> - <translation>Selecionar para habilitar o verificador básico</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="239"/> - <source>Basic</source> - <translation>Básico</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.py" line="240"/> - <source>Select configuration file</source> - <translation>Selecionar ficheiro de configuração</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.py" line="240"/> - <source>Configuration Files (*.cfg *.cnf *.rc);;All Files (*)</source> - <translation>Ficheiros de Configuração (*.cfg *.cnf *.rc);;Ficheiros Todos (*)</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.py" line="256"/> - <source>Select report file</source> - <translation>Selecionar ficheiro de relatório</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.py" line="335"/> - <source>Process Generation Error</source> - <translation>Erro na Geração de Processo</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.py" line="335"/> - <source>Could not start {0}.<br>Ensure that it is in the search path.</source> - <translation>Não pode iniciar {0}.<br>Certifique-se de que está na rota de busca.</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="395"/> - <source>Messages</source> - <translation>Mensagens</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="401"/> - <source>Enabled Messages:</source> - <translation>Mensagens Habilitadas:</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="408"/> - <source>Enter the list of enabled messages separated by comma</source> - <translation>Introduzir a lista de mensagens habilitadas separadas por vírgulas</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="415"/> - <source>Disabled Messages:</source> - <translation>Mensagens Desabilitadas:</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="422"/> - <source>Enter the list of disabled messages separated by comma</source> - <translation>Introduzir a lista de mensagens desabilitadas separadas por vírgulas</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="276"/> - <source>Select to enable the logging checker</source> - <translation>Selecionar para habilitar o verificador de registos</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="279"/> - <source>Logging</source> - <translation>Registos</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="286"/> - <source>Select to enable the string format checker</source> - <translation>Selecionar para habilitar o verificador de formatos de strings</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="289"/> - <source>String Format</source> - <translation>Formato de String</translation> - </message> -</context> -<context> - <name>PyLintExecDialog</name> - <message> - <location filename="../PyLintExecDialog.ui" line="20"/> - <source>PyLint Results</source> - <translation>Resultados de Pylint</translation> - </message> - <message> - <location filename="../PyLintExecDialog.ui" line="44"/> - <source><b>PyLint Execution</b> -<p>This shows the results of the PyLint run.</p></source> - <translation><b>Execução de PyLint</b> -<p>Mostra os resultados da execução de PyLint.</p></translation> - </message> - <message> - <location filename="../PyLintExecDialog.ui" line="82"/> - <source>Type</source> - <translation>Tipo</translation> - </message> - <message> - <location filename="../PyLintExecDialog.ui" line="87"/> - <source>Message</source> - <translation>Mensagem</translation> - </message> - <message> - <location filename="../PyLintExecDialog.ui" line="121"/> - <source><b>PyLint Execution</b> -<p>This shows the errors of the PyLint run.</p></source> - <translation><b>Execução de PyLint</b> -<p>Mostra os erros da execução de PyLint.</p></translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="45"/> - <source>Save Report...</source> - <translation>Gravar Relatório...</translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="47"/> - <source>Press to save the report to a file</source> - <translation>Pressionar para gravar o relatório num ficheiro</translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="69"/> - <source>Convention</source> - <translation>Convenção</translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="70"/> - <source>Refactor</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="71"/> - <source>Warning</source> - <translation>Aviso</translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="72"/> - <source>Error</source> - <translation>Erro</translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="73"/> - <source>Fatal</source> - <translation>Fatal</translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="145"/> - <source>Process Generation Error</source> - <translation>Erro na Geração de Processo</translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="145"/> - <source>The process {0} could not be started. Ensure, that it is in the search path.</source> - <translation>O processo {0} não se pôde iniciar. Certifique-se de que está na rota de busca.</translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="220"/> - <source>No PyLint errors found.</source> - <translation>Não se encontraram erros de PyLint.</translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="402"/> - <source>PyLint Report</source> - <translation>Relatório de PyLint</translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="365"/> - <source><p>The PyLint report file <b>{0}</b> already exists.</p></source> - <translation><p>O ficheiro de relatório de PyLint <b>{0}</b> já existe.</p></translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="386"/> - <source><p>The PyLint report file <b>{0}</b> could not be written.<br>Reason: {1}</p></source> - <translation><p>O ficheiro de relatório de PyLint <b>{0}</b> não pôde escrever-se.<br>Motivo: {1}</p></translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="398"/> - <source>HTML Files (*.html);;All Files (*)</source> - <translation>Ficheiros HTML (*.html);;Ficheiros Todos (*)</translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="400"/> - <source>Text Files (*.txt);;All Files (*)</source> - <translation>Ficheiros de Texto (*.txt);;Ficheiros Todos (*)</translation> - </message> - <message> - <location filename="../PyLintExecDialog.ui" line="32"/> - <source>Results</source> - <translation>Resultados</translation> - </message> - <message> - <location filename="../PyLintExecDialog.ui" line="109"/> - <source>Errors</source> - <translation>Erros</translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="51"/> - <source>Refresh</source> - <translation>Atualizar</translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="53"/> - <source>Press to refresh the result display</source> - <translation>Pressionar para atualizar a visualização de resultados</translation> - </message> - <message> - <location filename="../PyLintExecDialog.ui" line="77"/> - <source>File/Line</source> - <translation>Ficheiro/Linha</translation> - </message> -</context> -<context> - <name>PyLintPlugin</name> - <message> - <location filename="../../PluginPyLint.py" line="59"/> - <source>Checkers - Pylint</source> - <translation>Verificadores - PyLint</translation> - </message> - <message> - <location filename="../../PluginPyLint.py" line="470"/> - <source>Run PyLint</source> - <translation>Executar PyLint</translation> - </message> - <message> - <location filename="../../PluginPyLint.py" line="470"/> - <source>Run &PyLint...</source> - <translation>Executar &PyLint...</translation> - </message> - <message> - <location filename="../../PluginPyLint.py" line="328"/> - <source>Check project, packages or modules with pylint.</source> - <translation>Verificar projeto, pacotes ou módulos com pylint.</translation> - </message> - <message> - <location filename="../../PluginPyLint.py" line="474"/> - <source><b>Run PyLint...</b><p>This checks the project, packages or modules using pylint.</p></source> - <translation><b>Executar PyLint...</b><p>Verifica o projeto, pacotes ou módulos com pylint.</p></translation> - </message> - <message> - <location filename="../../PluginPyLint.py" line="483"/> - <source>Show PyLint Dialog</source> - <translation>Mostrar Caixa de Diálogo de PyLint</translation> - </message> - <message> - <location filename="../../PluginPyLint.py" line="483"/> - <source>Show Py&Lint Dialog...</source> - <translation>Mostrar Diálogo de Py&Lint...</translation> - </message> - <message> - <location filename="../../PluginPyLint.py" line="343"/> - <source>Show the PyLint dialog with the results of the last run.</source> - <translation>Mostrar a caixa de diálogo de PyLint com os resultados da última execução.</translation> - </message> - <message> - <location filename="../../PluginPyLint.py" line="487"/> - <source><b>Show PyLint Dialog...</b><p>This shows the PyLint dialog with the results of the last run.</p></source> - <translation><b>Mostrar Diálogo de PyLint...</b><p>Mostra a caixa de diálogo de PyLint com os resultados da última execução.</p></translation> - </message> - <message> - <location filename="../../PluginPyLint.py" line="359"/> - <source><b>Run PyLint...</b><p>This checks the loaded module using pylint.</p></source> - <translation><b>Executar PyLint...</b><p>Verifica o módulo carregado com pylint.</p></translation> - </message> - <message> - <location filename="../../PluginPyLint.py" line="526"/> - <source>The pylint executable could not be found.</source> - <translation>Não se encontrou o executável de pylint.</translation> - </message> - <message> - <location filename="../../PluginPyLint.py" line="532"/> - <source>PyLint version < 0.23.0.</source> - <translation>Versão de PyLint < 0.23.0.</translation> - </message> - <message> - <location filename="../../PluginPyLint.py" line="532"/> - <source>pylint</source> - <translation>pylint</translation> - </message> -</context> -</TS>
--- a/PyLint/i18n/pylint_ru.ts Wed Jun 02 17:36:34 2021 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,513 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!DOCTYPE TS><TS version="2.0" language="ru_RU" sourcelanguage=""> -<context> - <name>PyLintConfigDialog</name> - <message> - <location filename="../PyLintConfigDialog.py" line="240"/> - <source>Configuration Files (*.cfg *.cnf *.rc);;All Files (*)</source> - <translation>Файлы конфигурации (*.cfg *.cnf *.rc);;Все файлы (*)</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.py" line="240"/> - <source>Select configuration file</source> - <translation>Выберите файл конфигурации</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.py" line="256"/> - <source>Select report file</source> - <translation>Выберите файл отчёта</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.py" line="335"/> - <source>Process Generation Error</source> - <translation>Ошибка процесса генерации</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.py" line="335"/> - <source>Could not start {0}.<br>Ensure that it is in the search path.</source> - <translation>Невозможно запустить {0}.<br>Убедитесь, что он находится в путях поиска.</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="14"/> - <source>PyLint Configuration</source> - <translation>Конфигурация PyLint</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="30"/> - <source>General</source> - <translation>Общее</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="52"/> - <source>Output</source> - <translation>Вывод</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="64"/> - <source>Select to generate a plain text report</source> - <translation>Разрешить генерацию отчёта в виде текстового файла</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="67"/> - <source>Generate &Textreport</source> - <translation>Генерировать &текстовый отчёт</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="70"/> - <source>Alt+T</source> - <translation>Alt+T</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="77"/> - <source>Select to generate a HTML report</source> - <translation>Разрешить генерацию отчёта в виде файла HTML</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="80"/> - <source>Generate &HTML Report</source> - <translation>Генерировать &HTML отчёт</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="83"/> - <source>Alt+H</source> - <translation>Alt+H</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="90"/> - <source>Show the pylint result in a dialog</source> - <translation>Показать окно диалога с результатами работы pylint</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="93"/> - <source>Show Result &Dialog</source> - <translation>Показать окно &диалога с результатами</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="96"/> - <source>Alt+D</source> - <translation>Alt+D</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="103"/> - <source>Report File</source> - <translation>Файл отчёта</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="115"/> - <source>Enter the name of the report file</source> - <translation>Задайте имя файла отчёта</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="217"/> - <source>Press to open a file selection dialog</source> - <translation>Открыть диалог выбора файла</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="220"/> - <source>...</source> - <translation>...</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="138"/> - <source>Enter the name of the configuration file</source> - <translation>Задайте имя файла конфигурации</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="169"/> - <source>Press to generate a sample configuration</source> - <translation>Генерация примерной конфигурации</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="172"/> - <source><b>Generate Configuration Template</b> -<p>This generates a sample configuration. The data is shown in a new editor window.</p></source> - <translation><b>Генерировать шаблон конфигурации</b> -<p>Создание примерной конфигурации. Она будет показана в новом окне редактора.</p></translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="176"/> - <source>&Generate Configuration Template</source> - <translation>&Создать шаблон конфигурации</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="179"/> - <source>Alt+G</source> - <translation>Alt+G</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="228"/> - <source>Checkers</source> - <translation>Проверки</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="346"/> - <source>Select to enable the variables checker</source> - <translation>Разрешить проверку переменных</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="349"/> - <source>Variables</source> - <translation>Переменные</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="256"/> - <source>Select to enable the similarities checker</source> - <translation>Разрешить проверку сходства</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="259"/> - <source>Similarities</source> - <translation>Сходства</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="306"/> - <source>Select to enable the metrics checker</source> - <translation>Разрешить проверку метрик</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="309"/> - <source>Metrics</source> - <translation>Метрики</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="336"/> - <source>Select to enable the miscellaneous checker</source> - <translation>Разрешить проверку всего остального</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="339"/> - <source>Miscellaneous</source> - <translation>Разное</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="246"/> - <source>Select to enable the imports checker</source> - <translation>Разрешить проверку импорта</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="249"/> - <source>Imports</source> - <translation>Импорт</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="356"/> - <source>Select to enable the format checker</source> - <translation>Разрешить проверку формата</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="359"/> - <source>Format</source> - <translation>Формат</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="296"/> - <source>Select to enable the design checker</source> - <translation>Разрешить проверку конструкции</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="299"/> - <source>Design</source> - <translation>Конструкции</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="266"/> - <source>Select to enable the classes checker</source> - <translation>Разрешить проверку классов</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="269"/> - <source>Classes</source> - <translation>Классы</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="326"/> - <source>Select to enable the exceptions checker</source> - <translation>Разрешить проверку исключений</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="329"/> - <source>Exceptions</source> - <translation>Исключения</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="236"/> - <source>Select to enable the basic checker</source> - <translation>Разрешить базовую проверку</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="239"/> - <source>Basic</source> - <translation>Базовые</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="42"/> - <source>Configuration &File:</source> - <translation>&Файл конфигурации:</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="316"/> - <source>Select to enable the typecheck checker</source> - <translation>Разрешить проверку типов</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="319"/> - <source>Typecheck</source> - <translation>Проверка типов</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="366"/> - <source>Select to enable the newstyle checker</source> - <translation>Разрешить проверку нового стиля</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="369"/> - <source>Newstyle</source> - <translation>Новый стиль</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="395"/> - <source>Messages</source> - <translation>Сообщения</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="401"/> - <source>Enabled Messages:</source> - <translation>Допустимые сообщения:</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="408"/> - <source>Enter the list of enabled messages separated by comma</source> - <translation>Введите список допустимых сообщений, разделенных запятыми</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="415"/> - <source>Disabled Messages:</source> - <translation>Недопустимые сообщения:</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="422"/> - <source>Enter the list of disabled messages separated by comma</source> - <translation>Введите список недопустимых сообщений, разделенных запятыми</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="276"/> - <source>Select to enable the logging checker</source> - <translation>Разрешить ведение журнала проверки</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="279"/> - <source>Logging</source> - <translation>Ведение журнала</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="286"/> - <source>Select to enable the string format checker</source> - <translation>Разрешить проверку формата строки</translation> - </message> - <message> - <location filename="../PyLintConfigDialog.ui" line="289"/> - <source>String Format</source> - <translation>Формат строки</translation> - </message> -</context> -<context> - <name>PyLintExecDialog</name> - <message> - <location filename="../PyLintExecDialog.py" line="145"/> - <source>Process Generation Error</source> - <translation>Ошибка процесса генерации</translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="402"/> - <source>PyLint Report</source> - <translation>Отчёт PyLint</translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="365"/> - <source><p>The PyLint report file <b>{0}</b> already exists.</p></source> - <translation><p>Файл отчёта PyLint <b>{0}</b> уже сущеструет.</p></translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="386"/> - <source><p>The PyLint report file <b>{0}</b> could not be written.<br>Reason: {1}</p></source> - <translation><p>Файл отчета PyLint <b>{0}</b> невозможно записать.<br>Причина: {1}</p></translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="398"/> - <source>HTML Files (*.html);;All Files (*)</source> - <translation>Файлы HTML (*.html);;Все файлы (*)</translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="400"/> - <source>Text Files (*.txt);;All Files (*)</source> - <translation>Текстовые файлы (*.txt);;Все файлы (*)</translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="69"/> - <source>Convention</source> - <translation>Соглашение</translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="70"/> - <source>Refactor</source> - <translation>Рефакторинг</translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="71"/> - <source>Warning</source> - <translation>Предупреждение</translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="72"/> - <source>Error</source> - <translation>Ошибка</translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="73"/> - <source>Fatal</source> - <translation>Критическая</translation> - </message> - <message> - <location filename="../PyLintExecDialog.ui" line="20"/> - <source>PyLint Results</source> - <translation>Результаты PyLint</translation> - </message> - <message> - <location filename="../PyLintExecDialog.ui" line="44"/> - <source><b>PyLint Execution</b> -<p>This shows the results of the PyLint run.</p></source> - <translation><b>Выполнение PyLint</b> -<p>Отображает результаты выполнения PyLint.</p></translation> - </message> - <message> - <location filename="../PyLintExecDialog.ui" line="82"/> - <source>Type</source> - <translation>Тип</translation> - </message> - <message> - <location filename="../PyLintExecDialog.ui" line="87"/> - <source>Message</source> - <translation>Сообщение</translation> - </message> - <message> - <location filename="../PyLintExecDialog.ui" line="121"/> - <source><b>PyLint Execution</b> -<p>This shows the errors of the PyLint run.</p></source> - <translation><b>Выполнение PyLint</b> -<p>Отображает ошибки выполнения PyLint.</p></translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="47"/> - <source>Press to save the report to a file</source> - <translation>Сохранить отчёт в файл</translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="220"/> - <source>No PyLint errors found.</source> - <translation>Ошибки PyLint не найдены.</translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="45"/> - <source>Save Report...</source> - <translation>Сохранить отчёт...</translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="145"/> - <source>The process {0} could not be started. Ensure, that it is in the search path.</source> - <translation>Невозможно запустить процесс '{0}'. Убедитесь, что он находится в путях поиска.</translation> - </message> - <message> - <location filename="../PyLintExecDialog.ui" line="32"/> - <source>Results</source> - <translation>Результаты</translation> - </message> - <message> - <location filename="../PyLintExecDialog.ui" line="109"/> - <source>Errors</source> - <translation>Ошибки</translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="51"/> - <source>Refresh</source> - <translation>Освежить</translation> - </message> - <message> - <location filename="../PyLintExecDialog.py" line="53"/> - <source>Press to refresh the result display</source> - <translation>Освежить результаты</translation> - </message> - <message> - <location filename="../PyLintExecDialog.ui" line="77"/> - <source>File/Line</source> - <translation>Файл/Строка</translation> - </message> -</context> -<context> - <name>PyLintPlugin</name> - <message> - <location filename="../../PluginPyLint.py" line="470"/> - <source>Run PyLint</source> - <translation>Выполнить PyLint</translation> - </message> - <message> - <location filename="../../PluginPyLint.py" line="470"/> - <source>Run &PyLint...</source> - <translation>Выполнить &PyLint...</translation> - </message> - <message> - <location filename="../../PluginPyLint.py" line="328"/> - <source>Check project, packages or modules with pylint.</source> - <translation>Выполнить проверку проекта, пакетов или модулей посредством PyLint.</translation> - </message> - <message> - <location filename="../../PluginPyLint.py" line="474"/> - <source><b>Run PyLint...</b><p>This checks the project, packages or modules using pylint.</p></source> - <translation><b>Выполнить PyLint...</b><p>Проверить проект, пакеты или модули с помощью pylint.</p></translation> - </message> - <message> - <location filename="../../PluginPyLint.py" line="483"/> - <source>Show PyLint Dialog</source> - <translation>Отображение окна диалога PyLint</translation> - </message> - <message> - <location filename="../../PluginPyLint.py" line="483"/> - <source>Show Py&Lint Dialog...</source> - <translation>Показать результаты Py&Lint...</translation> - </message> - <message> - <location filename="../../PluginPyLint.py" line="343"/> - <source>Show the PyLint dialog with the results of the last run.</source> - <translation>Показать окно диалога PyLint с результатами последнего запуска.</translation> - </message> - <message> - <location filename="../../PluginPyLint.py" line="487"/> - <source><b>Show PyLint Dialog...</b><p>This shows the PyLint dialog with the results of the last run.</p></source> - <translation><b>Показать диалог PyLint...</b><p>Показать окно диалога PyLint с результатами последнего запуска.</p></translation> - </message> - <message> - <location filename="../../PluginPyLint.py" line="59"/> - <source>Checkers - Pylint</source> - <translation>Проверка кода - Pylint</translation> - </message> - <message> - <location filename="../../PluginPyLint.py" line="359"/> - <source><b>Run PyLint...</b><p>This checks the loaded module using pylint.</p></source> - <translation><b>Выполнить PyLint...</b><p>Проверить загруженный модуль посредством pylint.</p></translation> - </message> - <message> - <location filename="../../PluginPyLint.py" line="526"/> - <source>The pylint executable could not be found.</source> - <translation>Невозможно найти исполняемый файл pylint.</translation> - </message> - <message> - <location filename="../../PluginPyLint.py" line="532"/> - <source>PyLint version < 0.23.0.</source> - <translation>Версия PyLint < 0.23.0.</translation> - </message> - <message> - <location filename="../../PluginPyLint.py" line="532"/> - <source>pylint</source> - <translation>pylint</translation> - </message> -</context> -</TS>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PyLintInterface/Documentation/LICENSE.GPL3 Wed Jun 02 18:27:07 2021 +0200 @@ -0,0 +1,621 @@ + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/> + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU General Public License is a free, copyleft license for +software and other kinds of works. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + To protect your rights, we need to prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. You must make sure that they, too, receive +or can get the source code. And you must show them these terms so they +know their rights. + + Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it. + + For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions. + + Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users. + + Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Use with the GNU Affero General Public License. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PyLintInterface/Documentation/source/Plugin_Checker_PyLint.PluginPyLint.html Wed Jun 02 18:27:07 2021 +0200 @@ -0,0 +1,502 @@ +<!DOCTYPE html> +<html><head> +<title>Plugin_Checker_PyLint.PluginPyLint</title> +<meta charset="UTF-8"> +<style> +body { + background: #EDECE6; + margin: 0em 1em 10em 1em; + color: black; +} + +h1 { color: white; background: #85774A; } +h2 { color: white; background: #85774A; } +h3 { color: white; background: #9D936E; } +h4 { color: white; background: #9D936E; } + +a { color: #BA6D36; } + +</style> +</head> +<body> +<a NAME="top" ID="top"></a> +<h1>Plugin_Checker_PyLint.PluginPyLint</h1> + +<p> +Module implementing the PyLint plug-in. +</p> +<h3>Global Attributes</h3> + +<table> +<tr><td>author</td></tr><tr><td>autoactivate</td></tr><tr><td>className</td></tr><tr><td>deactivateable</td></tr><tr><td>error</td></tr><tr><td>exePy3</td></tr><tr><td>longDescription</td></tr><tr><td>name</td></tr><tr><td>needsRestart</td></tr><tr><td>packageName</td></tr><tr><td>pyqtApi</td></tr><tr><td>shortDescription</td></tr><tr><td>version</td></tr> +</table> +<h3>Classes</h3> + +<table> + +<tr> +<td><a href="#PyLintPlugin">PyLintPlugin</a></td> +<td>Class implementing the PyLint plug-in.</td> +</tr> +</table> +<h3>Functions</h3> + +<table> + +<tr> +<td><a href="#__getProgramVersion">__getProgramVersion</a></td> +<td>Private method to generate a program entry.</td> +</tr> +<tr> +<td><a href="#_checkProgram">_checkProgram</a></td> +<td>Restricted function to check the availability of pylint.</td> +</tr> +<tr> +<td><a href="#_findExecutable">_findExecutable</a></td> +<td>Restricted function to determine the name and path of the executable.</td> +</tr> +<tr> +<td><a href="#exeDisplayDataList">exeDisplayDataList</a></td> +<td>Public method to support the display of some executable info.</td> +</tr> +<tr> +<td><a href="#getExePath">getExePath</a></td> +<td></td> +</tr> +<tr> +<td><a href="#installDependencies">installDependencies</a></td> +<td>Function to install dependencies of this plug-in.</td> +</tr> +</table> +<hr /> +<hr /> +<a NAME="PyLintPlugin" ID="PyLintPlugin"></a> +<h2>PyLintPlugin</h2> + +<p> + Class implementing the PyLint plug-in. +</p> +<h3>Derived from</h3> +QObject +<h3>Class Attributes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Class Methods</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Methods</h3> + +<table> + +<tr> +<td><a href="#PyLintPlugin.__init__">PyLintPlugin</a></td> +<td>Constructor</td> +</tr> +<tr> +<td><a href="#PyLintPlugin.__editorClosed">__editorClosed</a></td> +<td>Private slot called, when an editor was closed.</td> +</tr> +<tr> +<td><a href="#PyLintPlugin.__editorOpened">__editorOpened</a></td> +<td>Private slot called, when a new editor was opened.</td> +</tr> +<tr> +<td><a href="#PyLintPlugin.__editorPylint">__editorPylint</a></td> +<td>Private slot to handle the Pylint context menu action of the editors.</td> +</tr> +<tr> +<td><a href="#PyLintPlugin.__editorShowMenu">__editorShowMenu</a></td> +<td>Private slot called, when the the editor context menu or a submenu is about to be shown.</td> +</tr> +<tr> +<td><a href="#PyLintPlugin.__initialize">__initialize</a></td> +<td>Private slot to (re)initialize the plugin.</td> +</tr> +<tr> +<td><a href="#PyLintPlugin.__loadTranslator">__loadTranslator</a></td> +<td>Private method to load the translation file.</td> +</tr> +<tr> +<td><a href="#PyLintPlugin.__projectBrowserPylint">__projectBrowserPylint</a></td> +<td>Private method to handle the Pylint context menu action of the project sources browser.</td> +</tr> +<tr> +<td><a href="#PyLintPlugin.__projectBrowserPylintShow">__projectBrowserPylintShow</a></td> +<td>Private slot to show the PyLint dialog with the results of the last run.</td> +</tr> +<tr> +<td><a href="#PyLintPlugin.__projectBrowserShowMenu">__projectBrowserShowMenu</a></td> +<td>Private slot called, when the the project browser menu or a submenu is about to be shown.</td> +</tr> +<tr> +<td><a href="#PyLintPlugin.__projectPylint">__projectPylint</a></td> +<td>Private slot used to check the project files with Pylint.</td> +</tr> +<tr> +<td><a href="#PyLintPlugin.__projectPylintShow">__projectPylintShow</a></td> +<td>Private slot to show the PyLint dialog with the results of the last run.</td> +</tr> +<tr> +<td><a href="#PyLintPlugin.__projectShowMenu">__projectShowMenu</a></td> +<td>Private slot called, when the the project menu or a submenu is about to be shown.</td> +</tr> +<tr> +<td><a href="#PyLintPlugin.__pyLint">__pyLint</a></td> +<td>Private method used to perform a PyLint run.</td> +</tr> +<tr> +<td><a href="#PyLintPlugin.activate">activate</a></td> +<td>Public method to activate this plugin.</td> +</tr> +<tr> +<td><a href="#PyLintPlugin.deactivate">deactivate</a></td> +<td>Public method to deactivate this plugin.</td> +</tr> +</table> +<h3>Static Methods</h3> + +<table> +<tr><td>None</td></tr> +</table> + +<a NAME="PyLintPlugin.__init__" ID="PyLintPlugin.__init__"></a> +<h4>PyLintPlugin (Constructor)</h4> +<b>PyLintPlugin</b>(<i>ui</i>) + +<p> + Constructor +</p> +<dl> + +<dt><i>ui</i> (UserInterface)</dt> +<dd> +reference to the user interface object +</dd> +</dl> +<a NAME="PyLintPlugin.__editorClosed" ID="PyLintPlugin.__editorClosed"></a> +<h4>PyLintPlugin.__editorClosed</h4> +<b>__editorClosed</b>(<i>editor</i>) + +<p> + Private slot called, when an editor was closed. +</p> +<dl> + +<dt><i>editor</i> (Editor)</dt> +<dd> +reference to the editor +</dd> +</dl> +<a NAME="PyLintPlugin.__editorOpened" ID="PyLintPlugin.__editorOpened"></a> +<h4>PyLintPlugin.__editorOpened</h4> +<b>__editorOpened</b>(<i>editor</i>) + +<p> + Private slot called, when a new editor was opened. +</p> +<dl> + +<dt><i>editor</i> (Editor)</dt> +<dd> +reference to the new editor +</dd> +</dl> +<a NAME="PyLintPlugin.__editorPylint" ID="PyLintPlugin.__editorPylint"></a> +<h4>PyLintPlugin.__editorPylint</h4> +<b>__editorPylint</b>(<i></i>) + +<p> + Private slot to handle the Pylint context menu action of the editors. +</p> +<a NAME="PyLintPlugin.__editorShowMenu" ID="PyLintPlugin.__editorShowMenu"></a> +<h4>PyLintPlugin.__editorShowMenu</h4> +<b>__editorShowMenu</b>(<i>menuName, menu, editor</i>) + +<p> + Private slot called, when the the editor context menu or a submenu is + about to be shown. +</p> +<dl> + +<dt><i>menuName</i> (str)</dt> +<dd> +name of the menu to be shown +</dd> +<dt><i>menu</i> (QMenu)</dt> +<dd> +reference to the menu +</dd> +<dt><i>editor</i> (Editor)</dt> +<dd> +reference to the editor +</dd> +</dl> +<a NAME="PyLintPlugin.__initialize" ID="PyLintPlugin.__initialize"></a> +<h4>PyLintPlugin.__initialize</h4> +<b>__initialize</b>(<i></i>) + +<p> + Private slot to (re)initialize the plugin. +</p> +<a NAME="PyLintPlugin.__loadTranslator" ID="PyLintPlugin.__loadTranslator"></a> +<h4>PyLintPlugin.__loadTranslator</h4> +<b>__loadTranslator</b>(<i></i>) + +<p> + Private method to load the translation file. +</p> +<a NAME="PyLintPlugin.__projectBrowserPylint" ID="PyLintPlugin.__projectBrowserPylint"></a> +<h4>PyLintPlugin.__projectBrowserPylint</h4> +<b>__projectBrowserPylint</b>(<i></i>) + +<p> + Private method to handle the Pylint context menu action of the project + sources browser. +</p> +<a NAME="PyLintPlugin.__projectBrowserPylintShow" ID="PyLintPlugin.__projectBrowserPylintShow"></a> +<h4>PyLintPlugin.__projectBrowserPylintShow</h4> +<b>__projectBrowserPylintShow</b>(<i></i>) + +<p> + Private slot to show the PyLint dialog with the results of the last + run. +</p> +<a NAME="PyLintPlugin.__projectBrowserShowMenu" ID="PyLintPlugin.__projectBrowserShowMenu"></a> +<h4>PyLintPlugin.__projectBrowserShowMenu</h4> +<b>__projectBrowserShowMenu</b>(<i>menuName, menu</i>) + +<p> + Private slot called, when the the project browser menu or a submenu is + about to be shown. +</p> +<dl> + +<dt><i>menuName</i> (str)</dt> +<dd> +name of the menu to be shown +</dd> +<dt><i>menu</i> (QMenu)</dt> +<dd> +reference to the menu +</dd> +</dl> +<a NAME="PyLintPlugin.__projectPylint" ID="PyLintPlugin.__projectPylint"></a> +<h4>PyLintPlugin.__projectPylint</h4> +<b>__projectPylint</b>(<i></i>) + +<p> + Private slot used to check the project files with Pylint. +</p> +<a NAME="PyLintPlugin.__projectPylintShow" ID="PyLintPlugin.__projectPylintShow"></a> +<h4>PyLintPlugin.__projectPylintShow</h4> +<b>__projectPylintShow</b>(<i></i>) + +<p> + Private slot to show the PyLint dialog with the results of the last + run. +</p> +<a NAME="PyLintPlugin.__projectShowMenu" ID="PyLintPlugin.__projectShowMenu"></a> +<h4>PyLintPlugin.__projectShowMenu</h4> +<b>__projectShowMenu</b>(<i>menuName, menu</i>) + +<p> + Private slot called, when the the project menu or a submenu is + about to be shown. +</p> +<dl> + +<dt><i>menuName</i> (str)</dt> +<dd> +name of the menu to be shown +</dd> +<dt><i>menu</i> (QMenu)</dt> +<dd> +reference to the menu +</dd> +</dl> +<a NAME="PyLintPlugin.__pyLint" ID="PyLintPlugin.__pyLint"></a> +<h4>PyLintPlugin.__pyLint</h4> +<b>__pyLint</b>(<i>project, mpName, forProject, forEditor=False</i>) + +<p> + Private method used to perform a PyLint run. +</p> +<dl> + +<dt><i>project</i> (Project)</dt> +<dd> +reference to the Project object +</dd> +<dt><i>mpName</i> (str)</dt> +<dd> +name of module or package to be checked +</dd> +<dt><i>forProject</i> (bool)</dt> +<dd> +flag indicating a run for the project +</dd> +<dt><i>forEditor</i> (bool)</dt> +<dd> +flag indicating a run for an editor +</dd> +</dl> +<a NAME="PyLintPlugin.activate" ID="PyLintPlugin.activate"></a> +<h4>PyLintPlugin.activate</h4> +<b>activate</b>(<i></i>) + +<p> + Public method to activate this plugin. +</p> +<dl> +<dt>Return:</dt> +<dd> +tuple of None and activation status +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (None, bool) +</dd> +</dl> +<a NAME="PyLintPlugin.deactivate" ID="PyLintPlugin.deactivate"></a> +<h4>PyLintPlugin.deactivate</h4> +<b>deactivate</b>(<i></i>) + +<p> + Public method to deactivate this plugin. +</p> +<div align="right"><a href="#top">Up</a></div> +<hr /> +<hr /> +<a NAME="__getProgramVersion" ID="__getProgramVersion"></a> +<h2>__getProgramVersion</h2> +<b>__getProgramVersion</b>(<i>exe</i>) + +<p> + Private method to generate a program entry. +</p> +<dl> + +<dt><i>exe</i> (str)</dt> +<dd> +name of the executable program +</dd> +</dl> +<dl> +<dt>Return:</dt> +<dd> +version string of detected version +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +str +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +<hr /> +<a NAME="_checkProgram" ID="_checkProgram"></a> +<h2>_checkProgram</h2> +<b>_checkProgram</b>(<i></i>) + +<p> + Restricted function to check the availability of pylint. +</p> +<dl> +<dt>Return:</dt> +<dd> +flag indicating availability +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +bool +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +<hr /> +<a NAME="_findExecutable" ID="_findExecutable"></a> +<h2>_findExecutable</h2> +<b>_findExecutable</b>(<i>majorVersion</i>) + +<p> + Restricted function to determine the name and path of the executable. +</p> +<dl> + +<dt><i>majorVersion</i> (int)</dt> +<dd> +major python version of the executables +</dd> +</dl> +<dl> +<dt>Return:</dt> +<dd> +path name of the executable +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +str +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +<hr /> +<a NAME="exeDisplayDataList" ID="exeDisplayDataList"></a> +<h2>exeDisplayDataList</h2> +<b>exeDisplayDataList</b>(<i></i>) + +<p> + Public method to support the display of some executable info. +</p> +<dl> +<dt>Return:</dt> +<dd> +list of dictionaries containing the data to query the presence of + the executable +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +list of dict +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +<hr /> +<a NAME="getExePath" ID="getExePath"></a> +<h2>getExePath</h2> +<b>getExePath</b>(<i>branch, access, versionStr</i>) + +<div align="right"><a href="#top">Up</a></div> +<hr /> +<hr /> +<a NAME="installDependencies" ID="installDependencies"></a> +<h2>installDependencies</h2> +<b>installDependencies</b>(<i>pipInstall</i>) + +<p> + Function to install dependencies of this plug-in. +</p> +<dl> + +<dt><i>pipInstall</i> (function)</dt> +<dd> +function to be called with a list of package names. +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PyLintInterface/Documentation/source/Plugin_Checker_PyLint.PyLint.PyLintConfigDialog.html Wed Jun 02 18:27:07 2021 +0200 @@ -0,0 +1,254 @@ +<!DOCTYPE html> +<html><head> +<title>Plugin_Checker_PyLint.PyLint.PyLintConfigDialog</title> +<meta charset="UTF-8"> +<style> +body { + background: #EDECE6; + margin: 0em 1em 10em 1em; + color: black; +} + +h1 { color: white; background: #85774A; } +h2 { color: white; background: #85774A; } +h3 { color: white; background: #9D936E; } +h4 { color: white; background: #9D936E; } + +a { color: #BA6D36; } + +</style> +</head> +<body> +<a NAME="top" ID="top"></a> +<h1>Plugin_Checker_PyLint.PyLint.PyLintConfigDialog</h1> + +<p> +Module implementing a dialog to configure the PyLint process. +</p> +<h3>Global Attributes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Classes</h3> + +<table> + +<tr> +<td><a href="#PyLintConfigDialog">PyLintConfigDialog</a></td> +<td>Class implementing a dialog to configure the PyLint process.</td> +</tr> +</table> +<h3>Functions</h3> + +<table> +<tr><td>None</td></tr> +</table> +<hr /> +<hr /> +<a NAME="PyLintConfigDialog" ID="PyLintConfigDialog"></a> +<h2>PyLintConfigDialog</h2> + +<p> + Class implementing a dialog to configure the PyLint process. +</p> +<h3>Derived from</h3> +QDialog, Ui_PyLintConfigDialog +<h3>Class Attributes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Class Methods</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Methods</h3> + +<table> + +<tr> +<td><a href="#PyLintConfigDialog.__init__">PyLintConfigDialog</a></td> +<td>Constructor</td> +</tr> +<tr> +<td><a href="#PyLintConfigDialog.__createConfigDone">__createConfigDone</a></td> +<td>Private slot to handle the the finished signal of the pylint process.</td> +</tr> +<tr> +<td><a href="#PyLintConfigDialog.__initializeDefaults">__initializeDefaults</a></td> +<td>Private method to set the default values.</td> +</tr> +<tr> +<td><a href="#PyLintConfigDialog.__readStderr">__readStderr</a></td> +<td>Private slot to handle the readyReadStandardError signal of the pylint process.</td> +</tr> +<tr> +<td><a href="#PyLintConfigDialog.__readStdout">__readStdout</a></td> +<td>Private slot to handle the readyReadStandardOutput signal of the pylint process.</td> +</tr> +<tr> +<td><a href="#PyLintConfigDialog.accept">accept</a></td> +<td>Public slot called by the Ok button.</td> +</tr> +<tr> +<td><a href="#PyLintConfigDialog.generateParameters">generateParameters</a></td> +<td>Public method that generates the commandline parameters.</td> +</tr> +<tr> +<td><a href="#PyLintConfigDialog.on_configButton_clicked">on_configButton_clicked</a></td> +<td>Private slot to handle the generation of a sample configuration.</td> +</tr> +<tr> +<td><a href="#PyLintConfigDialog.on_configfileButton_clicked">on_configfileButton_clicked</a></td> +<td>Private slot to select the configuration file.</td> +</tr> +<tr> +<td><a href="#PyLintConfigDialog.on_reportfileButton_clicked">on_reportfileButton_clicked</a></td> +<td>Private slot to select the report file.</td> +</tr> +</table> +<h3>Static Methods</h3> + +<table> +<tr><td>None</td></tr> +</table> + +<a NAME="PyLintConfigDialog.__init__" ID="PyLintConfigDialog.__init__"></a> +<h4>PyLintConfigDialog (Constructor)</h4> +<b>PyLintConfigDialog</b>(<i>ppath, exe, parms, version</i>) + +<p> + Constructor +</p> +<dl> + +<dt><i>ppath</i></dt> +<dd> +project path (string or QString) + Used to set the default path for the rcfile selection dialog +</dd> +<dt><i>exe</i></dt> +<dd> +name of the pylint executable (string) +</dd> +<dt><i>parms</i></dt> +<dd> +parameters to set in the dialog +</dd> +<dt><i>version</i></dt> +<dd> +pylint version (string) +</dd> +</dl> +<a NAME="PyLintConfigDialog.__createConfigDone" ID="PyLintConfigDialog.__createConfigDone"></a> +<h4>PyLintConfigDialog.__createConfigDone</h4> +<b>__createConfigDone</b>(<i>exitCode, exitStatus</i>) + +<p> + Private slot to handle the the finished signal of the pylint process. +</p> +<dl> + +<dt><i>exitCode</i></dt> +<dd> +exit code of the process (integer) +</dd> +<dt><i>exitStatus</i></dt> +<dd> +exit status of the process (QProcess.ExitStatus) +</dd> +</dl> +<a NAME="PyLintConfigDialog.__initializeDefaults" ID="PyLintConfigDialog.__initializeDefaults"></a> +<h4>PyLintConfigDialog.__initializeDefaults</h4> +<b>__initializeDefaults</b>(<i></i>) + +<p> + Private method to set the default values. +</p> +<p> + These are needed later on to generate the commandline + parameters. +</p> +<a NAME="PyLintConfigDialog.__readStderr" ID="PyLintConfigDialog.__readStderr"></a> +<h4>PyLintConfigDialog.__readStderr</h4> +<b>__readStderr</b>(<i></i>) + +<p> + Private slot to handle the readyReadStandardError signal of the + pylint process. +</p> +<a NAME="PyLintConfigDialog.__readStdout" ID="PyLintConfigDialog.__readStdout"></a> +<h4>PyLintConfigDialog.__readStdout</h4> +<b>__readStdout</b>(<i></i>) + +<p> + Private slot to handle the readyReadStandardOutput signal of the + pylint process. +</p> +<a NAME="PyLintConfigDialog.accept" ID="PyLintConfigDialog.accept"></a> +<h4>PyLintConfigDialog.accept</h4> +<b>accept</b>(<i></i>) + +<p> + Public slot called by the Ok button. +</p> +<p> + It saves the values in the parameters dictionary. +</p> +<a NAME="PyLintConfigDialog.generateParameters" ID="PyLintConfigDialog.generateParameters"></a> +<h4>PyLintConfigDialog.generateParameters</h4> +<b>generateParameters</b>(<i></i>) + +<p> + Public method that generates the commandline parameters. +</p> +<p> + It generates a QStringList to be used + to set the QProcess arguments for the pylint call and + a list containing the non default parameters. The second + list can be passed back upon object generation to overwrite + the default settings. +</p> +<p> + <b>Note</b>: The arguments list contains the name of the pylint + executable as the first parameter. +</p> +<dl> +<dt>Return:</dt> +<dd> +a tuple of the commandline parameters and non default + parameters (list of strings, dictionary) +</dd> +</dl> +<a NAME="PyLintConfigDialog.on_configButton_clicked" ID="PyLintConfigDialog.on_configButton_clicked"></a> +<h4>PyLintConfigDialog.on_configButton_clicked</h4> +<b>on_configButton_clicked</b>(<i></i>) + +<p> + Private slot to handle the generation of a sample configuration. +</p> +<a NAME="PyLintConfigDialog.on_configfileButton_clicked" ID="PyLintConfigDialog.on_configfileButton_clicked"></a> +<h4>PyLintConfigDialog.on_configfileButton_clicked</h4> +<b>on_configfileButton_clicked</b>(<i></i>) + +<p> + Private slot to select the configuration file. +</p> +<p> + It displays a file selection dialog to select the configuration file. +</p> +<a NAME="PyLintConfigDialog.on_reportfileButton_clicked" ID="PyLintConfigDialog.on_reportfileButton_clicked"></a> +<h4>PyLintConfigDialog.on_reportfileButton_clicked</h4> +<b>on_reportfileButton_clicked</b>(<i></i>) + +<p> + Private slot to select the report file. +</p> +<p> + It displays a file selection dialog to select the report file. +</p> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PyLintInterface/Documentation/source/Plugin_Checker_PyLint.PyLint.PyLintExecDialog.html Wed Jun 02 18:27:07 2021 +0200 @@ -0,0 +1,303 @@ +<!DOCTYPE html> +<html><head> +<title>Plugin_Checker_PyLint.PyLint.PyLintExecDialog</title> +<meta charset="UTF-8"> +<style> +body { + background: #EDECE6; + margin: 0em 1em 10em 1em; + color: black; +} + +h1 { color: white; background: #85774A; } +h2 { color: white; background: #85774A; } +h3 { color: white; background: #9D936E; } +h4 { color: white; background: #9D936E; } + +a { color: #BA6D36; } + +</style> +</head> +<body> +<a NAME="top" ID="top"></a> +<h1>Plugin_Checker_PyLint.PyLint.PyLintExecDialog</h1> + +<p> +Module implementing a dialog to show the results of the PyLint run. +</p> +<h3>Global Attributes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Classes</h3> + +<table> + +<tr> +<td><a href="#PyLintExecDialog">PyLintExecDialog</a></td> +<td>Class implementing a dialog to show the results of the PyLint run.</td> +</tr> +</table> +<h3>Functions</h3> + +<table> +<tr><td>None</td></tr> +</table> +<hr /> +<hr /> +<a NAME="PyLintExecDialog" ID="PyLintExecDialog"></a> +<h2>PyLintExecDialog</h2> + +<p> + Class implementing a dialog to show the results of the PyLint run. +</p> +<p> + This class starts a QProcess and displays a dialog that + shows the results of the PyLint command process. +</p> +<h3>Derived from</h3> +QWidget, Ui_PyLintExecDialog +<h3>Class Attributes</h3> + +<table> +<tr><td>filenameRole</td></tr> +</table> +<h3>Class Methods</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Methods</h3> + +<table> + +<tr> +<td><a href="#PyLintExecDialog.__init__">PyLintExecDialog</a></td> +<td>Constructor</td> +</tr> +<tr> +<td><a href="#PyLintExecDialog.__createItem">__createItem</a></td> +<td>Private method to create an entry in the message list.</td> +</tr> +<tr> +<td><a href="#PyLintExecDialog.__finish">__finish</a></td> +<td>Private slot called when the process finished.</td> +</tr> +<tr> +<td><a href="#PyLintExecDialog.__readParseStdout">__readParseStdout</a></td> +<td>Private slot to handle the readyReadStandardOutput signal for parseable output.</td> +</tr> +<tr> +<td><a href="#PyLintExecDialog.__readStderr">__readStderr</a></td> +<td>Private slot to handle the readyReadStandardError signal.</td> +</tr> +<tr> +<td><a href="#PyLintExecDialog.__readStdout">__readStdout</a></td> +<td>Private slot to handle the readyReadStandardOutput signal.</td> +</tr> +<tr> +<td><a href="#PyLintExecDialog.__writeReport">__writeReport</a></td> +<td>Private slot to write the report to a report file.</td> +</tr> +<tr> +<td><a href="#PyLintExecDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td> +<td>Private slot called by a button of the button box clicked.</td> +</tr> +<tr> +<td><a href="#PyLintExecDialog.on_messageList_itemActivated">on_messageList_itemActivated</a></td> +<td>Private slot to handle the itemActivated signal of the message list.</td> +</tr> +<tr> +<td><a href="#PyLintExecDialog.on_refreshButton_clicked">on_refreshButton_clicked</a></td> +<td>Private slot to refresh the status display.</td> +</tr> +<tr> +<td><a href="#PyLintExecDialog.on_saveButton_clicked">on_saveButton_clicked</a></td> +<td>Private slot to save the report to a file.</td> +</tr> +<tr> +<td><a href="#PyLintExecDialog.start">start</a></td> +<td>Public slot to start PyLint.</td> +</tr> +</table> +<h3>Static Methods</h3> + +<table> +<tr><td>None</td></tr> +</table> + +<a NAME="PyLintExecDialog.__init__" ID="PyLintExecDialog.__init__"></a> +<h4>PyLintExecDialog (Constructor)</h4> +<b>PyLintExecDialog</b>(<i>parent=None</i>) + +<p> + Constructor +</p> +<dl> + +<dt><i>parent</i></dt> +<dd> +parent widget of this dialog (QWidget) +</dd> +</dl> +<a NAME="PyLintExecDialog.__createItem" ID="PyLintExecDialog.__createItem"></a> +<h4>PyLintExecDialog.__createItem</h4> +<b>__createItem</b>(<i>file, line, type_, message</i>) + +<p> + Private method to create an entry in the message list. +</p> +<dl> + +<dt><i>file</i></dt> +<dd> +filename of file (string) +</dd> +<dt><i>line</i></dt> +<dd> +linenumber of message (integer or string) +</dd> +<dt><i>type_</i></dt> +<dd> +type of message (string) +</dd> +<dt><i>message</i></dt> +<dd> +message text (string) +</dd> +</dl> +<a NAME="PyLintExecDialog.__finish" ID="PyLintExecDialog.__finish"></a> +<h4>PyLintExecDialog.__finish</h4> +<b>__finish</b>(<i></i>) + +<p> + Private slot called when the process finished. +</p> +<p> + It is called when the process finished or + the user pressed the button. +</p> +<a NAME="PyLintExecDialog.__readParseStdout" ID="PyLintExecDialog.__readParseStdout"></a> +<h4>PyLintExecDialog.__readParseStdout</h4> +<b>__readParseStdout</b>(<i></i>) + +<p> + Private slot to handle the readyReadStandardOutput signal for + parseable output. +</p> +<p> + It reads the output of the process, formats it and inserts it into + the message list pane. +</p> +<a NAME="PyLintExecDialog.__readStderr" ID="PyLintExecDialog.__readStderr"></a> +<h4>PyLintExecDialog.__readStderr</h4> +<b>__readStderr</b>(<i></i>) + +<p> + Private slot to handle the readyReadStandardError signal. +</p> +<p> + It reads the error output of the process and inserts it into the + error pane. +</p> +<a NAME="PyLintExecDialog.__readStdout" ID="PyLintExecDialog.__readStdout"></a> +<h4>PyLintExecDialog.__readStdout</h4> +<b>__readStdout</b>(<i></i>) + +<p> + Private slot to handle the readyReadStandardOutput signal. +</p> +<p> + It reads the output of the process, formats it and inserts it into + the contents pane. +</p> +<a NAME="PyLintExecDialog.__writeReport" ID="PyLintExecDialog.__writeReport"></a> +<h4>PyLintExecDialog.__writeReport</h4> +<b>__writeReport</b>(<i></i>) + +<p> + Private slot to write the report to a report file. +</p> +<a NAME="PyLintExecDialog.on_buttonBox_clicked" ID="PyLintExecDialog.on_buttonBox_clicked"></a> +<h4>PyLintExecDialog.on_buttonBox_clicked</h4> +<b>on_buttonBox_clicked</b>(<i>button</i>) + +<p> + Private slot called by a button of the button box clicked. +</p> +<dl> + +<dt><i>button</i></dt> +<dd> +button that was clicked (QAbstractButton) +</dd> +</dl> +<a NAME="PyLintExecDialog.on_messageList_itemActivated" ID="PyLintExecDialog.on_messageList_itemActivated"></a> +<h4>PyLintExecDialog.on_messageList_itemActivated</h4> +<b>on_messageList_itemActivated</b>(<i>itm, column</i>) + +<p> + Private slot to handle the itemActivated signal of the message list. +</p> +<dl> + +<dt><i>itm</i></dt> +<dd> +The message item that was activated (QTreeWidgetItem) +</dd> +<dt><i>column</i></dt> +<dd> +column the item was activated in (integer) +</dd> +</dl> +<a NAME="PyLintExecDialog.on_refreshButton_clicked" ID="PyLintExecDialog.on_refreshButton_clicked"></a> +<h4>PyLintExecDialog.on_refreshButton_clicked</h4> +<b>on_refreshButton_clicked</b>(<i></i>) + +<p> + Private slot to refresh the status display. +</p> +<a NAME="PyLintExecDialog.on_saveButton_clicked" ID="PyLintExecDialog.on_saveButton_clicked"></a> +<h4>PyLintExecDialog.on_saveButton_clicked</h4> +<b>on_saveButton_clicked</b>(<i></i>) + +<p> + Private slot to save the report to a file. +</p> +<a NAME="PyLintExecDialog.start" ID="PyLintExecDialog.start"></a> +<h4>PyLintExecDialog.start</h4> +<b>start</b>(<i>args, fn, reportFile, ppath</i>) + +<p> + Public slot to start PyLint. +</p> +<dl> + +<dt><i>args</i></dt> +<dd> +commandline arguments for documentation programPyLint + (list of strings) +</dd> +<dt><i>fn</i></dt> +<dd> +filename or dirname to be processed by PyLint (string) +</dd> +<dt><i>reportFile</i></dt> +<dd> +filename of file to write the report to (string) +</dd> +<dt><i>ppath</i></dt> +<dd> +project path (string) +</dd> +</dl> +<dl> +<dt>Return:</dt> +<dd> +flag indicating the successful start of the process (boolean) +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PyLintInterface/Documentation/source/index-Plugin_Checker_PyLint.PyLint.html Wed Jun 02 18:27:07 2021 +0200 @@ -0,0 +1,41 @@ +<!DOCTYPE html> +<html><head> +<title>Plugin_Checker_PyLint.PyLint</title> +<meta charset="UTF-8"> +<style> +body { + background: #EDECE6; + margin: 0em 1em 10em 1em; + color: black; +} + +h1 { color: white; background: #85774A; } +h2 { color: white; background: #85774A; } +h3 { color: white; background: #9D936E; } +h4 { color: white; background: #9D936E; } + +a { color: #BA6D36; } + +</style> +</head> +<body> +<h1>Plugin_Checker_PyLint.PyLint</h1> + +<p> +Package containing the PyLint plugin. +</p> + + +<h3>Modules</h3> +<table> + +<tr> +<td><a href="Plugin_Checker_PyLint.PyLint.PyLintConfigDialog.html">PyLintConfigDialog</a></td> +<td>Module implementing a dialog to configure the PyLint process.</td> +</tr> +<tr> +<td><a href="Plugin_Checker_PyLint.PyLint.PyLintExecDialog.html">PyLintExecDialog</a></td> +<td>Module implementing a dialog to show the results of the PyLint run.</td> +</tr> +</table> +</body></html> \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PyLintInterface/Documentation/source/index-Plugin_Checker_PyLint.html Wed Jun 02 18:27:07 2021 +0200 @@ -0,0 +1,45 @@ +<!DOCTYPE html> +<html><head> +<title>Plugin_Checker_PyLint</title> +<meta charset="UTF-8"> +<style> +body { + background: #EDECE6; + margin: 0em 1em 10em 1em; + color: black; +} + +h1 { color: white; background: #85774A; } +h2 { color: white; background: #85774A; } +h3 { color: white; background: #9D936E; } +h4 { color: white; background: #9D936E; } + +a { color: #BA6D36; } + +</style> +</head> +<body> +<h1>Plugin_Checker_PyLint</h1> + +<p> +Package containing the PyLint checker plugin. +</p> + +<h3>Packages</h3> +<table> + +<tr> +<td><a href="index-Plugin_Checker_PyLint.PyLintInterface.html">PyLintInterface</a></td> +<td>Package containing the PyLint plugin.</td> +</tr> +</table> + +<h3>Modules</h3> +<table> + +<tr> +<td><a href="Plugin_Checker_PyLint.PluginPyLint.html">PluginPyLint</a></td> +<td>Module implementing the PyLint plug-in.</td> +</tr> +</table> +</body></html> \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PyLintInterface/Documentation/source/index.html Wed Jun 02 18:27:07 2021 +0200 @@ -0,0 +1,34 @@ +<!DOCTYPE html> +<html><head> +<title>Table of contents</title> +<meta charset="UTF-8"> +<style> +body { + background: #EDECE6; + margin: 0em 1em 10em 1em; + color: black; +} + +h1 { color: white; background: #85774A; } +h2 { color: white; background: #85774A; } +h3 { color: white; background: #9D936E; } +h4 { color: white; background: #9D936E; } + +a { color: #BA6D36; } + +</style> +</head> +<body> +<h1>Table of contents</h1> + + +<h3>Packages</h3> +<table> + +<tr> +<td><a href="index-Plugin_Checker_PyLint.html">Plugin_Checker_PyLint</a></td> +<td>Package containing the PyLint checker plugin.</td> +</tr> +</table> + +</body></html> \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PyLintInterface/PyLintConfigDialog.py Wed Jun 02 18:27:07 2021 +0200 @@ -0,0 +1,369 @@ +# -*- coding: utf-8 -*- + +# Copyright (c) 2005 - 2021 Detlev Offenbach <detlev@die-offenbachs.de> +# + +""" +Module implementing a dialog to configure the PyLint process. +""" + +import os +import copy + +from PyQt6.QtCore import pyqtSlot, QProcess +from PyQt6.QtWidgets import QDialog + +from EricWidgets.EricApplication import ericApp +from EricWidgets import EricMessageBox +from EricWidgets.EricPathPicker import EricPathPickerModes + +from .Ui_PyLintConfigDialog import Ui_PyLintConfigDialog + +import Preferences + + +class PyLintConfigDialog(QDialog, Ui_PyLintConfigDialog): + """ + Class implementing a dialog to configure the PyLint process. + """ + def __init__(self, ppath, exe, parms, version): + """ + Constructor + + @param ppath project path; used to set the default path for the + rcfile picker + @type str + @param exe name of the pylint executable + @type str + @param parms parameters to set in the dialog + @type dict + @param version pylint version (unused) + @type str + """ + super().__init__(None) + self.setupUi(self) + + self.__version = version + self.__pylintProc = None + self.__lint = exe + + self.__initializeDefaults() + + # get a copy of the defaults to store the user settings + self.parameters = copy.deepcopy(self.defaults) + + # combine it with the values of parms + if parms is not None: + self.parameters.update(parms) + + self.configfilePicker.setWindowTitle( + self.tr("Select configuration file")) + self.configfilePicker.setMode(EricPathPickerModes.OPEN_FILE_MODE) + self.configfilePicker.setFilters(self.tr( + "Configuration Files (*.cfg *.cnf *.rc);;" + "All Files (*)" + )) + self.configfilePicker.setDefaultDirectory(ppath) + + self.reportfilePicker.setWindowTitle( + self.tr("Select report file")) + self.reportfilePicker.setMode(EricPathPickerModes.SAVE_FILE_MODE) + self.reportfilePicker.setFilters(self.tr( + "HTML Files (*.html);;" + "Report Files (*.rpt);;" + "Text Files (*.txt);;" + "All Files (*)" + )) + + + # initialize general tab + self.configfilePicker.setText(self.parameters['configFile']) + self.txtOutputButton.setChecked(self.parameters['txtReport']) + self.htmlOutputButton.setChecked(self.parameters['htmlReport']) + self.dialogOutputButton.setChecked(self.parameters['dialogReport']) + self.reportfilePicker.setText(self.parameters['reportFile']) + + # initialize checkers tab + self.basicCheckBox.setChecked(self.parameters['enableBasic']) + self.classesCheckBox.setChecked(self.parameters['enableClasses']) + self.designCheckBox.setChecked(self.parameters['enableDesign']) + self.exceptionsCheckBox.setChecked(self.parameters['enableExceptions']) + self.formatCheckBox.setChecked(self.parameters['enableFormat']) + self.importsCheckBox.setChecked(self.parameters['enableImports']) + self.metricsCheckBox.setChecked(self.parameters['enableMetrics']) + self.miscellaneousCheckBox.setChecked( + self.parameters['enableMiscellaneous']) + self.newstyleCheckBox.setChecked(self.parameters['enableNewstyle']) + self.similaritiesCheckBox.setChecked( + self.parameters['enableSimilarities']) + self.typecheckCheckBox.setChecked(self.parameters['enableTypecheck']) + self.variablesCheckBox.setChecked(self.parameters['enableVariables']) + self.loggingCheckBox.setChecked(self.parameters['enableLogging']) + self.stringFormatCheckBox.setChecked( + self.parameters['enableStringFormat']) + + # initialize messages tab + self.enabledMessagesEdit.setText(self.parameters['enabledMessages']) + self.disabledMessagesEdit.setText(self.parameters['disabledMessages']) + + def __initializeDefaults(self): + """ + Private method to set the default values. + + These are needed later on to generate the commandline + parameters. + """ + self.defaults = { + # general options + 'configFile': '', + 'reportFile': '', + 'txtReport': False, + 'htmlReport': True, + 'dialogReport': False, + + # enabled checkers + 'enableBasic': True, + 'enableClasses': True, + 'enableDesign': True, + 'enableExceptions': True, + 'enableFormat': False, + 'enableImports': False, + 'enableLogging': True, + 'enableMetrics': True, + 'enableMiscellaneous': True, + 'enableNewstyle': True, + 'enableSimilarities': True, + 'enableStringFormat': True, + 'enableTypecheck': True, + 'enableVariables': True, + + # messages + 'enabledMessages': '', + 'disabledMessages': '', + } + + def generateParameters(self): + """ + Public method that generates the commandline parameters. + + It generates a list of strings to be used + to set the QProcess arguments for the pylint call and + a list containing the non default parameters. The second + list can be passed back upon object generation to overwrite + the default settings. + + <b>Note</b>: The arguments list contains the name of the pylint + executable as the first parameter. + + @return a tuple of the commandline parameters and non default + parameters + @rtype tuple of (list of str, dict) + """ + parms = {} + args = [] + + # 1. the program name + args.append(self.__lint) + + # 2. the commandline options + # 2.1 general options + if self.parameters['configFile'] != self.defaults['configFile']: + parms['configFile'] = self.parameters['configFile'] + args.append('--rcfile={0}'.format(self.parameters['configFile'])) + parms['txtReport'] = self.parameters['txtReport'] + parms['htmlReport'] = self.parameters['htmlReport'] + parms['dialogReport'] = self.parameters['dialogReport'] + if self.parameters['htmlReport']: + args.append('--output-format=html') + elif self.parameters['dialogReport']: + args.append('--output-format=parseable') + args.append('--reports=n') + else: + args.append('--output-format=text') + if self.parameters['reportFile'] != self.defaults['reportFile']: + parms['reportFile'] = self.parameters['reportFile'] + + # 2.2 checkers options + parms['enableBasic'] = self.parameters['enableBasic'] + parms['enableClasses'] = self.parameters['enableClasses'] + parms['enableDesign'] = self.parameters['enableDesign'] + parms['enableExceptions'] = self.parameters['enableExceptions'] + parms['enableFormat'] = self.parameters['enableFormat'] + parms['enableImports'] = self.parameters['enableImports'] + parms['enableMetrics'] = self.parameters['enableMetrics'] + parms['enableMiscellaneous'] = self.parameters['enableMiscellaneous'] + parms['enableNewstyle'] = self.parameters['enableNewstyle'] + parms['enableSimilarities'] = self.parameters['enableSimilarities'] + parms['enableTypecheck'] = self.parameters['enableTypecheck'] + parms['enableVariables'] = self.parameters['enableVariables'] + parms['enableLogging'] = self.parameters['enableLogging'] + parms['enableStringFormat'] = self.parameters['enableStringFormat'] + + checkers = [] + if self.parameters['enableBasic']: + checkers.append('basic') + if self.parameters['enableClasses']: + checkers.append('classes') + if self.parameters['enableDesign']: + checkers.append('design') + if self.parameters['enableExceptions']: + checkers.append('exceptions') + if self.parameters['enableFormat']: + checkers.append('format') + if self.parameters['enableImports']: + checkers.append('imports') + if self.parameters['enableMetrics']: + checkers.append('metrics') + if self.parameters['enableMiscellaneous']: + checkers.append('miscellaneous') + if self.parameters['enableNewstyle']: + checkers.append('newstyle') + if self.parameters['enableSimilarities']: + checkers.append('similarities') + if self.parameters['enableTypecheck']: + checkers.append('typecheck') + if self.parameters['enableVariables']: + checkers.append('variables') + if self.parameters['enableLogging']: + checkers.append('logging') + if self.parameters['enableStringFormat']: + checkers.append('string') + + args.append('--disable=all') + if checkers: + args.append('--enable={0}'.format(','.join(checkers))) + + # 2.3 messages options + parms['enabledMessages'] = self.parameters['enabledMessages'] + parms['disabledMessages'] = self.parameters['disabledMessages'] + if parms['enabledMessages']: + args.append('--enable={0}'.format(parms['enabledMessages'])) + if parms['disabledMessages']: + args.append('--disable={0}'.format(parms['disabledMessages'])) + + return (args, parms) + + def accept(self): + """ + Public slot called by the Ok button. + + It saves the values in the parameters dictionary. + """ + # get data of general tab + self.parameters['configFile'] = self.configfilePicker.text() + self.parameters['txtReport'] = self.txtOutputButton.isChecked() + self.parameters['htmlReport'] = self.htmlOutputButton.isChecked() + self.parameters['dialogReport'] = self.dialogOutputButton.isChecked() + self.parameters['reportFile'] = self.reportfilePicker.text() + + # get data of checkers tab + self.parameters['enableBasic'] = self.basicCheckBox.isChecked() + self.parameters['enableClasses'] = self.classesCheckBox.isChecked() + self.parameters['enableDesign'] = self.designCheckBox.isChecked() + self.parameters['enableExceptions'] = ( + self.exceptionsCheckBox.isChecked()) + self.parameters['enableFormat'] = self.formatCheckBox.isChecked() + self.parameters['enableImports'] = self.importsCheckBox.isChecked() + self.parameters['enableMetrics'] = self.metricsCheckBox.isChecked() + self.parameters['enableMiscellaneous'] = ( + self.miscellaneousCheckBox.isChecked()) + self.parameters['enableNewstyle'] = self.newstyleCheckBox.isChecked() + self.parameters['enableSimilarities'] = ( + self.similaritiesCheckBox.isChecked()) + self.parameters['enableTypecheck'] = self.typecheckCheckBox.isChecked() + self.parameters['enableVariables'] = self.variablesCheckBox.isChecked() + self.parameters['enableLogging'] = self.loggingCheckBox.isChecked() + self.parameters['enableStringFormat'] = ( + self.stringFormatCheckBox.isChecked()) + + # get data of messages tab + self.parameters['enabledMessages'] = ','.join( + [m.strip() for m in self.enabledMessagesEdit.text().split(',')]) + self.parameters['disabledMessages'] = ','.join( + [m.strip() for m in self.disabledMessagesEdit.text().split(',')]) + + # call the accept slot of the base class + super().accept() + + ########################################################################### + ## Methods below are needed to generate a configuration file template + ########################################################################### + + @pyqtSlot() + def on_configButton_clicked(self): + """ + Private slot to handle the generation of a sample configuration. + """ + self.buf = "" + self.__pylintProc = QProcess() + args = [] + + self.__ioEncoding = Preferences.getSystem("IOEncoding") + + args.append('--generate-rcfile') + + self.__pylintProc.readyReadStandardOutput.connect(self.__readStdout) + self.__pylintProc.readyReadStandardError.connect(self.__readStderr) + self.__pylintProc.finished.connect(self.__createConfigDone) + + self.__pylintProc.start(self.__lint, args) + procStarted = self.__pylintProc.waitForStarted() + if procStarted: + ericApp().getObject("ViewManager").enableEditorsCheckFocusIn(False) + else: + EricMessageBox.critical( + self, + self.tr('Process Generation Error'), + self.tr( + 'Could not start {0}.<br>' + 'Ensure that it is in the search path.' + ).format(self.__lint)) + + def __createConfigDone(self, exitCode, exitStatus): + """ + Private slot to handle the the finished signal of the pylint process. + + @param exitCode exit code of the process + @type int + @param exitStatus exit status of the process + @type QProcess.ExitStatus + """ + vm = ericApp().getObject("ViewManager") + vm.enableEditorsCheckFocusIn(True) + if exitStatus == QProcess.ExitStatus.NormalExit and exitCode == 0: + vm.newEditor() + aw = vm.activeWindow() + aw.insertAt(self.buf, 0, 0) + aw.setLanguage('dummy.rc') + self.reject() + + def __readStdout(self): + """ + Private slot to handle the readyReadStandardOutput signal of the + pylint process. + """ + if self.__pylintProc is None: + return + + self.__pylintProc.setReadChannel( + QProcess.ProcessChannel.StandardOutput) + + while self.__pylintProc and self.__pylintProc.canReadLine(): + line = str(self.__pylintProc.readLine(), self.__ioEncoding, + "replace").rstrip() + self.buf += line + os.linesep + + def __readStderr(self): + """ + Private slot to handle the readyReadStandardError signal of the + pylint process. + """ + if self.__pylintProc is None: + return + + self.__pylintProc.setReadChannel( + QProcess.ProcessChannel.StandardError) + while self.__pylintProc and self.__pylintProc.canReadLine(): + s = 'pylint: ' + str( + self.__pylintProc.readLine(), self.__ioEncoding, "replace") + ericApp().getObject("UserInterface").appendStderr.emit(s)
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PyLintInterface/PyLintConfigDialog.ui Wed Jun 02 18:27:07 2021 +0200 @@ -0,0 +1,537 @@ +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0"> + <class>PyLintConfigDialog</class> + <widget class="QDialog" name="PyLintConfigDialog"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>528</width> + <height>351</height> + </rect> + </property> + <property name="windowTitle"> + <string>PyLint Configuration</string> + </property> + <property name="sizeGripEnabled"> + <bool>true</bool> + </property> + <layout class="QVBoxLayout" name="verticalLayout_4"> + <item> + <widget class="QTabWidget" name="tabWidget"> + <property name="currentIndex"> + <number>1</number> + </property> + <widget class="QWidget" name="General"> + <attribute name="title"> + <string>General</string> + </attribute> + <layout class="QVBoxLayout" name="verticalLayout_3"> + <item> + <layout class="QHBoxLayout" name="horizontalLayout"> + <item> + <widget class="QLabel" name="textLabel1"> + <property name="text"> + <string>Configuration &File:</string> + </property> + <property name="buddy"> + <cstring>configfilePicker</cstring> + </property> + </widget> + </item> + <item> + <widget class="EricPathPicker" name="configfilePicker" native="true"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="focusPolicy"> + <enum>Qt::StrongFocus</enum> + </property> + <property name="toolTip"> + <string>Enter the name of the configuration file</string> + </property> + </widget> + </item> + </layout> + </item> + <item> + <widget class="QGroupBox" name="groupBox"> + <property name="title"> + <string>Output</string> + </property> + <layout class="QVBoxLayout" name="verticalLayout_2"> + <item> + <widget class="QRadioButton" name="txtOutputButton"> + <property name="toolTip"> + <string>Select to generate a plain text report</string> + </property> + <property name="text"> + <string>Generate &Textreport</string> + </property> + <property name="shortcut"> + <string>Alt+T</string> + </property> + </widget> + </item> + <item> + <widget class="QRadioButton" name="htmlOutputButton"> + <property name="toolTip"> + <string>Select to generate a HTML report</string> + </property> + <property name="text"> + <string>Generate &HTML Report</string> + </property> + <property name="shortcut"> + <string>Alt+H</string> + </property> + </widget> + </item> + <item> + <widget class="QRadioButton" name="dialogOutputButton"> + <property name="toolTip"> + <string>Show the pylint result in a dialog</string> + </property> + <property name="text"> + <string>Show Result &Dialog</string> + </property> + <property name="shortcut"> + <string>Alt+D</string> + </property> + </widget> + </item> + <item> + <widget class="QGroupBox" name="groupBox_2"> + <property name="title"> + <string>Report File</string> + </property> + <layout class="QHBoxLayout" name="horizontalLayout_2"> + <item> + <widget class="EricPathPicker" name="reportfilePicker" native="true"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="focusPolicy"> + <enum>Qt::StrongFocus</enum> + </property> + <property name="toolTip"> + <string>Enter the name of the report file</string> + </property> + </widget> + </item> + </layout> + </widget> + </item> + </layout> + </widget> + </item> + <item> + <widget class="Line" name="line1"> + <property name="frameShape"> + <enum>QFrame::HLine</enum> + </property> + <property name="frameShadow"> + <enum>QFrame::Sunken</enum> + </property> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + </widget> + </item> + <item> + <layout class="QHBoxLayout"> + <property name="spacing"> + <number>6</number> + </property> + <property name="leftMargin"> + <number>0</number> + </property> + <property name="topMargin"> + <number>0</number> + </property> + <property name="rightMargin"> + <number>0</number> + </property> + <property name="bottomMargin"> + <number>0</number> + </property> + <item> + <spacer> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeType"> + <enum>QSizePolicy::Expanding</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>40</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + <item> + <widget class="QPushButton" name="configButton"> + <property name="toolTip"> + <string>Press to generate a sample configuration</string> + </property> + <property name="whatsThis"> + <string><b>Generate Configuration Template</b> +<p>This generates a sample configuration. The data is shown in a new editor window.</p></string> + </property> + <property name="text"> + <string>&Generate Configuration Template</string> + </property> + <property name="shortcut"> + <string>Alt+G</string> + </property> + </widget> + </item> + <item> + <spacer> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeType"> + <enum>QSizePolicy::Expanding</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>40</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + </layout> + </item> + </layout> + </widget> + <widget class="QWidget" name="Checkers"> + <attribute name="title"> + <string>Checkers</string> + </attribute> + <layout class="QVBoxLayout" name="verticalLayout"> + <item> + <layout class="QGridLayout" name="gridLayout_3"> + <item row="0" column="0"> + <widget class="QCheckBox" name="basicCheckBox"> + <property name="toolTip"> + <string>Select to enable the basic checker</string> + </property> + <property name="text"> + <string>Basic</string> + </property> + </widget> + </item> + <item row="0" column="1"> + <widget class="QCheckBox" name="importsCheckBox"> + <property name="toolTip"> + <string>Select to enable the imports checker</string> + </property> + <property name="text"> + <string>Imports</string> + </property> + </widget> + </item> + <item row="0" column="2"> + <widget class="QCheckBox" name="similaritiesCheckBox"> + <property name="toolTip"> + <string>Select to enable the similarities checker</string> + </property> + <property name="text"> + <string>Similarities</string> + </property> + </widget> + </item> + <item row="1" column="0"> + <widget class="QCheckBox" name="classesCheckBox"> + <property name="toolTip"> + <string>Select to enable the classes checker</string> + </property> + <property name="text"> + <string>Classes</string> + </property> + </widget> + </item> + <item row="1" column="1"> + <widget class="QCheckBox" name="loggingCheckBox"> + <property name="toolTip"> + <string>Select to enable the logging checker</string> + </property> + <property name="text"> + <string>Logging</string> + </property> + </widget> + </item> + <item row="1" column="2"> + <widget class="QCheckBox" name="stringFormatCheckBox"> + <property name="toolTip"> + <string>Select to enable the string format checker</string> + </property> + <property name="text"> + <string>String Format</string> + </property> + </widget> + </item> + <item row="2" column="0"> + <widget class="QCheckBox" name="designCheckBox"> + <property name="toolTip"> + <string>Select to enable the design checker</string> + </property> + <property name="text"> + <string>Design</string> + </property> + </widget> + </item> + <item row="2" column="1"> + <widget class="QCheckBox" name="metricsCheckBox"> + <property name="toolTip"> + <string>Select to enable the metrics checker</string> + </property> + <property name="text"> + <string>Metrics</string> + </property> + </widget> + </item> + <item row="2" column="2"> + <widget class="QCheckBox" name="typecheckCheckBox"> + <property name="toolTip"> + <string>Select to enable the typecheck checker</string> + </property> + <property name="text"> + <string>Typecheck</string> + </property> + </widget> + </item> + <item row="3" column="0"> + <widget class="QCheckBox" name="exceptionsCheckBox"> + <property name="toolTip"> + <string>Select to enable the exceptions checker</string> + </property> + <property name="text"> + <string>Exceptions</string> + </property> + </widget> + </item> + <item row="3" column="1"> + <widget class="QCheckBox" name="miscellaneousCheckBox"> + <property name="toolTip"> + <string>Select to enable the miscellaneous checker</string> + </property> + <property name="text"> + <string>Miscellaneous</string> + </property> + </widget> + </item> + <item row="3" column="2"> + <widget class="QCheckBox" name="variablesCheckBox"> + <property name="toolTip"> + <string>Select to enable the variables checker</string> + </property> + <property name="text"> + <string>Variables</string> + </property> + </widget> + </item> + <item row="4" column="0"> + <widget class="QCheckBox" name="formatCheckBox"> + <property name="toolTip"> + <string>Select to enable the format checker</string> + </property> + <property name="text"> + <string>Format</string> + </property> + </widget> + </item> + <item row="4" column="1"> + <widget class="QCheckBox" name="newstyleCheckBox"> + <property name="toolTip"> + <string>Select to enable the newstyle checker</string> + </property> + <property name="text"> + <string>Newstyle</string> + </property> + </widget> + </item> + </layout> + </item> + <item> + <spacer> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="sizeType"> + <enum>QSizePolicy::Expanding</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>40</height> + </size> + </property> + </spacer> + </item> + </layout> + </widget> + <widget class="QWidget" name="Messages"> + <attribute name="title"> + <string>Messages</string> + </attribute> + <layout class="QGridLayout" name="gridLayout"> + <item row="0" column="0"> + <widget class="QLabel" name="label"> + <property name="text"> + <string>Enabled Messages:</string> + </property> + </widget> + </item> + <item row="0" column="1"> + <widget class="QLineEdit" name="enabledMessagesEdit"> + <property name="toolTip"> + <string>Enter the list of enabled messages separated by comma</string> + </property> + <property name="clearButtonEnabled"> + <bool>true</bool> + </property> + </widget> + </item> + <item row="1" column="0"> + <widget class="QLabel" name="label_2"> + <property name="text"> + <string>Disabled Messages:</string> + </property> + </widget> + </item> + <item row="1" column="1"> + <widget class="QLineEdit" name="disabledMessagesEdit"> + <property name="toolTip"> + <string>Enter the list of disabled messages separated by comma</string> + </property> + <property name="clearButtonEnabled"> + <bool>true</bool> + </property> + </widget> + </item> + <item row="2" column="1"> + <spacer name="verticalSpacer"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>192</height> + </size> + </property> + </spacer> + </item> + </layout> + </widget> + </widget> + </item> + <item> + <widget class="QDialogButtonBox" name="buttonBox"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="standardButtons"> + <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> + </property> + </widget> + </item> + </layout> + </widget> + <layoutdefault spacing="6" margin="6"/> + <pixmapfunction>qPixmapFromMimeSource</pixmapfunction> + <customwidgets> + <customwidget> + <class>EricPathPicker</class> + <extends>QWidget</extends> + <header>EricWidgets/EricPathPicker.h</header> + <container>1</container> + </customwidget> + </customwidgets> + <tabstops> + <tabstop>tabWidget</tabstop> + <tabstop>configfilePicker</tabstop> + <tabstop>txtOutputButton</tabstop> + <tabstop>htmlOutputButton</tabstop> + <tabstop>dialogOutputButton</tabstop> + <tabstop>reportfilePicker</tabstop> + <tabstop>configButton</tabstop> + <tabstop>basicCheckBox</tabstop> + <tabstop>classesCheckBox</tabstop> + <tabstop>designCheckBox</tabstop> + <tabstop>exceptionsCheckBox</tabstop> + <tabstop>formatCheckBox</tabstop> + <tabstop>importsCheckBox</tabstop> + <tabstop>loggingCheckBox</tabstop> + <tabstop>metricsCheckBox</tabstop> + <tabstop>miscellaneousCheckBox</tabstop> + <tabstop>newstyleCheckBox</tabstop> + <tabstop>similaritiesCheckBox</tabstop> + <tabstop>stringFormatCheckBox</tabstop> + <tabstop>typecheckCheckBox</tabstop> + <tabstop>variablesCheckBox</tabstop> + <tabstop>enabledMessagesEdit</tabstop> + <tabstop>disabledMessagesEdit</tabstop> + </tabstops> + <resources/> + <connections> + <connection> + <sender>dialogOutputButton</sender> + <signal>toggled(bool)</signal> + <receiver>groupBox_2</receiver> + <slot>setDisabled(bool)</slot> + <hints> + <hint type="sourcelabel"> + <x>78</x> + <y>163</y> + </hint> + <hint type="destinationlabel"> + <x>62</x> + <y>188</y> + </hint> + </hints> + </connection> + <connection> + <sender>buttonBox</sender> + <signal>accepted()</signal> + <receiver>PyLintConfigDialog</receiver> + <slot>accept()</slot> + <hints> + <hint type="sourcelabel"> + <x>35</x> + <y>321</y> + </hint> + <hint type="destinationlabel"> + <x>34</x> + <y>333</y> + </hint> + </hints> + </connection> + <connection> + <sender>buttonBox</sender> + <signal>rejected()</signal> + <receiver>PyLintConfigDialog</receiver> + <slot>reject()</slot> + <hints> + <hint type="sourcelabel"> + <x>91</x> + <y>309</y> + </hint> + <hint type="destinationlabel"> + <x>100</x> + <y>332</y> + </hint> + </hints> + </connection> + </connections> +</ui>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PyLintInterface/PyLintExecDialog.py Wed Jun 02 18:27:07 2021 +0200 @@ -0,0 +1,428 @@ +# -*- coding: utf-8 -*- + +# Copyright (c) 2005 - 2021 Detlev Offenbach <detlev@die-offenbachs.de> +# + +""" +Module implementing a dialog to show the results of the PyLint run. +""" + +import os + +from PyQt6.QtCore import pyqtSlot, Qt, QTimer, QProcess +from PyQt6.QtGui import QTextCursor +from PyQt6.QtWidgets import ( + QWidget, QHeaderView, QApplication, QDialogButtonBox, QTreeWidgetItem +) + +from EricGui.EricOverrideCursor import EricOverrideCursorProcess + +from EricWidgets import EricMessageBox, EricFileDialog +from EricWidgets.EricApplication import ericApp + +from .Ui_PyLintExecDialog import Ui_PyLintExecDialog + +import Preferences +import Utilities + + +class PyLintExecDialog(QWidget, Ui_PyLintExecDialog): + """ + Class implementing a dialog to show the results of the PyLint run. + + This class starts a QProcess and displays a dialog that + shows the results of the PyLint command process. + """ + filenameRole = Qt.ItemDataRole.UserRole + 1 + + def __init__(self, parent=None): + """ + Constructor + + @param parent parent widget of this dialog + @type QWidget + """ + QWidget.__init__(self, parent) + self.setupUi(self) + + self.saveButton = self.buttonBox.addButton( + self.tr("Save Report..."), QDialogButtonBox.ButtonRole.ActionRole) + self.saveButton.setToolTip( + self.tr("Press to save the report to a file")) + self.saveButton.setEnabled(False) + + self.refreshButton = self.buttonBox.addButton( + self.tr("Refresh"), QDialogButtonBox.ButtonRole.ActionRole) + self.refreshButton.setToolTip(self.tr( + "Press to refresh the result display")) + self.refreshButton.setEnabled(False) + + self.buttonBox.button( + QDialogButtonBox.StandardButton.Close).setEnabled(False) + self.buttonBox.button( + QDialogButtonBox.StandardButton.Cancel).setDefault(True) + + self.messageList.header().setSortIndicator( + 0, Qt.SortOrder.AscendingOrder) + + self.process = None + self.noResults = True + self.htmlOutput = False + self.parsedOutput = False + self.__scrollPosition = -1 # illegal value + + self.typeDict = { + 'C': self.tr('Convention'), + 'R': self.tr('Refactor'), + 'W': self.tr('Warning'), + 'E': self.tr('Error'), + 'F': self.tr('Fatal'), + } + + def start(self, args, fn, reportFile, ppath): + """ + Public slot to start PyLint. + + @param args commandline arguments for documentation programPyLint + @type list of str + @param fn filename or dirname to be processed by PyLint + @type str + @param reportFile filename of file to write the report to + @type str + @param ppath project path + @type str + @return flag indicating the successful start of the process + @rtype bool + """ + self.errorGroup.hide() + + self.args = args[:] + self.fn = fn + self.reportFile = reportFile + self.ppath = ppath + + self.pathname = os.path.dirname(fn) + self.filename = os.path.basename(fn) + + self.contents.clear() + self.errors.clear() + self.messageList.clear() + + self.buttonBox.button( + QDialogButtonBox.StandardButton.Close).setEnabled(False) + self.buttonBox.button( + QDialogButtonBox.StandardButton.Cancel).setEnabled(True) + self.buttonBox.button( + QDialogButtonBox.StandardButton.Cancel).setDefault(True) + self.saveButton.setEnabled(False) + self.refreshButton.setEnabled(False) + + program = args[0] + del args[0] + args.append(self.filename) + + self.process = EricOverrideCursorProcess() + self.process.setWorkingDirectory(self.pathname) + + self.process.readyReadStandardError.connect(self.__readStderr) + self.process.finished.connect(self.__finish) + + self.__ioEncoding = Preferences.getSystem("IOEncoding") + if "--output-format=parseable" in args: + self.reportFile = None + self.contents.hide() + self.process.readyReadStandardOutput.connect( + self.__readParseStdout) + self.parsedOutput = True + else: + self.process.readyReadStandardOutput.connect(self.__readStdout) + self.messageList.hide() + if "--output-format=html" in args: + self.contents.setAcceptRichText(True) + self.contents.setHtml('<b>Processing your request...</b>') + self.htmlOutput = True + else: + self.contents.setAcceptRichText(False) + self.contents.setCurrentFont( + Preferences.getEditorOtherFonts("MonospacedFont")) + self.htmlOutput = False + self.parsedOutput = False + self.noResults = True + + self.buf = "" + self.__lastFileItem = None + + self.process.start(program, args) + procStarted = self.process.waitForStarted() + if not procStarted: + EricMessageBox.critical( + self, + self.tr('Process Generation Error'), + self.tr( + 'The process {0} could not be started. ' + 'Ensure, that it is in the search path.' + ).format(program)) + return procStarted + + def on_buttonBox_clicked(self, button): + """ + Private slot called by a button of the button box clicked. + + @param button button that was clicked + @type QAbstractButton + """ + if button == self.buttonBox.button( + QDialogButtonBox.StandardButton.Close + ): + self.close() + elif button == self.buttonBox.button( + QDialogButtonBox.StandardButton.Cancel + ): + self.__finish() + elif button == self.saveButton: + self.on_saveButton_clicked() + elif button == self.refreshButton: + self.on_refreshButton_clicked() + + def __finish(self): + """ + Private slot called when the process finished. + + It is called when the process finished or the user pressed the button. + """ + if self.htmlOutput: + self.contents.setHtml(self.buf) + else: + cursor = self.contents.textCursor() + cursor.movePosition(QTextCursor.MoveOperation.Start) + self.contents.setTextCursor(cursor) + + if ( + self.process is not None and + self.process.state() != QProcess.ProcessState.NotRunning + ): + self.process.terminate() + QTimer.singleShot(2000, self.process.kill) + self.process.waitForFinished(3000) + + self.buttonBox.button( + QDialogButtonBox.StandardButton.Close).setEnabled(True) + self.buttonBox.button( + QDialogButtonBox.StandardButton.Cancel).setEnabled(False) + self.buttonBox.button( + QDialogButtonBox.StandardButton.Close).setDefault(True) + self.refreshButton.setEnabled(True) + if self.parsedOutput: + QApplication.processEvents() + self.messageList.sortItems( + self.messageList.sortColumn(), + self.messageList.header().sortIndicatorOrder()) + self.messageList.header().resizeSections( + QHeaderView.ResizeMode.ResizeToContents) + self.messageList.header().setStretchLastSection(True) + else: + if self.__scrollPosition != -1: + self.contents.verticalScrollBar().setValue( + self.__scrollPosition) + + self.process = None + + if self.reportFile: + self.__writeReport() + elif not self.parsedOutput: + self.saveButton.setEnabled(True) + + if self.noResults: + self.__createItem( + self.tr('No PyLint errors found.'), "", "", "") + + @pyqtSlot() + def on_refreshButton_clicked(self): + """ + Private slot to refresh the status display. + """ + self.__scrollPosition = self.contents.verticalScrollBar().value() + self.start(self.args, self.fn, self.reportFile, self.ppath) + + def __readStdout(self): + """ + Private slot to handle the readyReadStandardOutput signal. + + It reads the output of the process, formats it and inserts it into + the contents pane. + """ + self.process.setReadChannel(QProcess.ProcessChannel.StandardOutput) + + while self.process.canReadLine(): + s = str(self.process.readLine(), self.__ioEncoding, 'replace') + self.buf += s + os.linesep + if not self.htmlOutput: + self.contents.insertPlainText(s) + self.contents.ensureCursorVisible() + + def __createItem(self, file, line, type_, message): + """ + Private method to create an entry in the message list. + + @param file filename of file + @type str + @param line linenumber of message + @type int or str + @param type_ type of message + @type str + @param message message text + @type str + """ + if self.__lastFileItem is None or self.__lastFileItem.text(0) != file: + matchFlags = Qt.MatchFlag.MatchFixedString + if not Utilities.isWindowsPlatform(): + matchFlags |= Qt.MatchFlag.MatchCaseSensitive + + itmList = self.messageList.findItems(file, matchFlags) + if itmList: + self.__lastFileItem = itmList[0] + else: + # It's a new file + self.__lastFileItem = QTreeWidgetItem(self.messageList, [file]) + self.__lastFileItem.setFirstColumnSpanned(True) + self.__lastFileItem.setExpanded(True) + self.__lastFileItem.setData(0, self.filenameRole, file) + + itm = QTreeWidgetItem(self.__lastFileItem, [str(line), type_, message]) + itm.setTextAlignment(0, Qt.AlignmentFlag.AlignRight) + itm.setTextAlignment(1, Qt.AlignmentFlag.AlignHCenter) + itm.setData(0, self.filenameRole, file) + + def __readParseStdout(self): + """ + Private slot to handle the readyReadStandardOutput signal for + parseable output. + + It reads the output of the process, formats it and inserts it into + the message list pane. + """ + self.process.setReadChannel(QProcess.ProcessChannel.StandardOutput) + + while self.process.canReadLine(): + s = str(self.process.readLine(), self.__ioEncoding, 'replace') + if s: + try: + if Utilities.isWindowsPlatform(): + drive, s = os.path.splitdrive(s) + fname, lineno, fullmessage = s.split(':') + fname = drive + fname + else: + fname, lineno, fullmessage = s.split(':') + type_, message = fullmessage.strip().split(']', 1) + type_ = type_.strip()[1:].split(',', 1)[0] + message = message.strip() + if type_ and type_[0] in self.typeDict: + if len(type_) == 1: + self.__createItem( + fname, lineno, self.typeDict[type_], message) + else: + self.__createItem( + fname, lineno, "{0} {1}".format( + self.typeDict[type_[0]], type_[1:]), + message) + self.noResults = False + except ValueError: + continue + + def __readStderr(self): + """ + Private slot to handle the readyReadStandardError signal. + + It reads the error output of the process and inserts it into the + error pane. + """ + self.process.setReadChannel(QProcess.ProcessChannel.StandardError) + + while self.process.canReadLine(): + self.errorGroup.show() + s = str(self.process.readLine(), self.__ioEncoding, 'replace') + self.errors.insertPlainText(s) + self.errors.ensureCursorVisible() + + def on_messageList_itemActivated(self, itm, column): + """ + Private slot to handle the itemActivated signal of the message list. + + @param itm The message item that was activated + @type QTreeWidgetItem + @param column column the item was activated in + @type int + """ + if self.noResults: + return + + if itm.parent(): + fn = os.path.join(self.pathname, itm.data(0, self.filenameRole)) + lineno = int(itm.text(0)) + + vm = ericApp().getObject("ViewManager") + vm.openSourceFile(fn, lineno) + editor = vm.getOpenEditor(fn) + editor.toggleWarning( + lineno, 0, True, + "{0} | {1}".format(itm.text(1), itm.text(2))) + else: + fn = os.path.join(self.pathname, itm.data(0, self.filenameRole)) + vm = ericApp().getObject("ViewManager") + vm.openSourceFile(fn) + editor = vm.getOpenEditor(fn) + for index in range(itm.childCount()): + citm = itm.child(index) + lineno = int(citm.text(0)) + editor.toggleWarning( + lineno, 0, True, + "{0} | {1}".format(citm.text(1), citm.text(2))) + + def __writeReport(self): + """ + Private slot to write the report to a report file. + """ + self.reportFile = self.reportFile + if os.path.exists(self.reportFile): + res = EricMessageBox.warning( + self, + self.tr("PyLint Report"), + self.tr( + """<p>The PyLint report file <b>{0}</b> already""" + """ exists.</p>""") + .format(self.reportFile), + EricMessageBox.Cancel | + EricMessageBox.Ignore, + EricMessageBox.Cancel) + if res == EricMessageBox.Cancel: + return + + try: + with open(self.reportFile, 'w') as f: + f.write(self.buf) + except OSError as why: + EricMessageBox.critical( + self, self.tr('PyLint Report'), + self.tr('<p>The PyLint report file <b>{0}</b> could not' + ' be written.<br>Reason: {1}</p>') + .format(self.reportFile, str(why))) + + @pyqtSlot() + def on_saveButton_clicked(self): + """ + Private slot to save the report to a file. + """ + fileFilter = ( + self.tr("HTML Files (*.html);;All Files (*)") + if self.htmlOutput else + self.tr("Report Files (*.rpt);;Text Files (*.txt);;All Files (*)") + ) + + self.reportFile = EricFileDialog.getSaveFileName( + self, + self.tr("PyLint Report"), + self.ppath, + fileFilter, + EricFileDialog.DontConfirmOverwrite) + if self.reportFile: + self.__writeReport()
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PyLintInterface/PyLintExecDialog.ui Wed Jun 02 18:27:07 2021 +0200 @@ -0,0 +1,156 @@ +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0"> + <class>PyLintExecDialog</class> + <widget class="QWidget" name="PyLintExecDialog"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>753</width> + <height>605</height> + </rect> + </property> + <property name="sizePolicy"> + <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> + <horstretch>0</horstretch> + <verstretch>3</verstretch> + </sizepolicy> + </property> + <property name="windowTitle"> + <string>PyLint Results</string> + </property> + <layout class="QVBoxLayout" name="verticalLayout_3"> + <item> + <widget class="QGroupBox" name="resultsGroup"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> + <horstretch>0</horstretch> + <verstretch>3</verstretch> + </sizepolicy> + </property> + <property name="title"> + <string>Results</string> + </property> + <layout class="QVBoxLayout" name="verticalLayout"> + <item> + <widget class="QTextEdit" name="contents"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> + <horstretch>0</horstretch> + <verstretch>3</verstretch> + </sizepolicy> + </property> + <property name="whatsThis"> + <string><b>PyLint Execution</b> +<p>This shows the results of the PyLint run.</p></string> + </property> + <property name="tabChangesFocus"> + <bool>true</bool> + </property> + <property name="readOnly"> + <bool>true</bool> + </property> + </widget> + </item> + <item> + <widget class="QTreeWidget" name="messageList"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> + <horstretch>0</horstretch> + <verstretch>3</verstretch> + </sizepolicy> + </property> + <property name="alternatingRowColors"> + <bool>true</bool> + </property> + <property name="rootIsDecorated"> + <bool>false</bool> + </property> + <property name="itemsExpandable"> + <bool>false</bool> + </property> + <property name="sortingEnabled"> + <bool>true</bool> + </property> + <column> + <property name="text"> + <string>File/Line</string> + </property> + </column> + <column> + <property name="text"> + <string>Type</string> + </property> + </column> + <column> + <property name="text"> + <string>Message</string> + </property> + </column> + <column> + <property name="text"> + <string/> + </property> + </column> + </widget> + </item> + </layout> + </widget> + </item> + <item> + <widget class="QGroupBox" name="errorGroup"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> + <horstretch>0</horstretch> + <verstretch>1</verstretch> + </sizepolicy> + </property> + <property name="title"> + <string>Errors</string> + </property> + <layout class="QVBoxLayout" name="verticalLayout_2"> + <item> + <widget class="QTextEdit" name="errors"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> + <horstretch>0</horstretch> + <verstretch>1</verstretch> + </sizepolicy> + </property> + <property name="whatsThis"> + <string><b>PyLint Execution</b> +<p>This shows the errors of the PyLint run.</p></string> + </property> + <property name="tabChangesFocus"> + <bool>true</bool> + </property> + <property name="readOnly"> + <bool>true</bool> + </property> + </widget> + </item> + </layout> + </widget> + </item> + <item> + <widget class="QDialogButtonBox" name="buttonBox"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="standardButtons"> + <set>QDialogButtonBox::Cancel|QDialogButtonBox::Close</set> + </property> + </widget> + </item> + </layout> + </widget> + <layoutdefault spacing="6" margin="11"/> + <pixmapfunction>qPixmapFromMimeSource</pixmapfunction> + <tabstops> + <tabstop>contents</tabstop> + <tabstop>messageList</tabstop> + <tabstop>errors</tabstop> + </tabstops> + <resources/> + <connections/> +</ui>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PyLintInterface/__init__.py Wed Jun 02 18:27:07 2021 +0200 @@ -0,0 +1,8 @@ +# -*- coding: utf-8 -*- + +# Copyright (c) 2007 - 2021 Detlev Offenbach <detlev@die-offenbachs.de> +# + +""" +Package containing the PyLint plugin. +"""
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PyLintInterface/i18n/pylint_cs.ts Wed Jun 02 18:27:07 2021 +0200 @@ -0,0 +1,546 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0" language="cs_CZ" sourcelanguage=""> + <context> + <name>PyLintConfigDialog</name> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>PyLint Configuration</source> + <translation>PyLint konfigurace</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>General</source> + <translation>Hlavní</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Configuration &File:</source> + <translation>Kon&figurační soubor:</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Enter the name of the configuration file</source> + <translation>Zadejte jméno konfiguračního souboru</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Output</source> + <translation>Výstup</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Select to generate a plain text report</source> + <translation>Vybrat pro generování textového reportu</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Generate &Textreport</source> + <translation>Generovat &textový report</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Alt+T</source> + <translation /> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Select to generate a HTML report</source> + <translation>Vybrat pro generování HTML reportu</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Generate &HTML Report</source> + <translation>Generovat &HTML report</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Alt+H</source> + <translation /> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Show the pylint result in a dialog</source> + <translation>Zobrazit pylint výsledku v dialogu</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Show Result &Dialog</source> + <translation>Zobrazit &dialog výsledku</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Alt+D</source> + <translation /> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Report File</source> + <translation>Report soubor</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Enter the name of the report file</source> + <translation>Zadejte jméno souboru reportu</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Press to generate a sample configuration</source> + <translation>Stisknout pro vygenerování vzorové konfigurace</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source><b>Generate Configuration Template</b> +<p>This generates a sample configuration. The data is shown in a new editor window.</p></source> + <translation><b>Generovat konfigurační šablonu</b> +<p>Toto vygeneruje konfigurační šablonu. Hodnoty jsou zobrazeny v novém editačním okně.</p></translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>&Generate Configuration Template</source> + <translation>&Generovat šablonu s konfigurací</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Alt+G</source> + <translation /> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Checkers</source> + <translation>Kontroloři</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Select to enable the basic checker</source> + <translation>Vybrat pro aktivaci základního kontrolora</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Basic</source> + <translation>Základní</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Select to enable the imports checker</source> + <translation>Vybrat pro aktivaci kontrolora importů</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Imports</source> + <translation>Importy</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Select to enable the similarities checker</source> + <translation>Vybrat pro aktivaci kontrolora podobnosti</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Similarities</source> + <translation>Podobnosti</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Select to enable the classes checker</source> + <translation>Vybrat pro aktivaci kontrolora tříd</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Classes</source> + <translation>Třídy</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Select to enable the logging checker</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Logging</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Select to enable the string format checker</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>String Format</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Select to enable the design checker</source> + <translation>Vybrat pro aktivaci kontrolory designu</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Design</source> + <translation>Design</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Select to enable the metrics checker</source> + <translation>Vybrat pro aktivaci kontrolora metriky</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Metrics</source> + <translation>Metriky</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Select to enable the typecheck checker</source> + <translation>Vybrat pro aktivaci kontrolora typecheck</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Typecheck</source> + <translation /> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Select to enable the exceptions checker</source> + <translation>Vybrat pro aktivaci kontrolora výjimek</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Exceptions</source> + <translation>Výjimky</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Select to enable the miscellaneous checker</source> + <translation>Vybrat pro aktivaci různých kontrolorů</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Miscellaneous</source> + <translation>Různé</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Select to enable the variables checker</source> + <translation>Vybrat pro aktivaci kontrolora proměnných</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Variables</source> + <translation>Proměnné</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Select to enable the format checker</source> + <translation>Vybrat pro aktivaci kontrolora formátu</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Format</source> + <translation>Formát</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Select to enable the newstyle checker</source> + <translation>Vybrat pro aktivaci kontrolora newstyle</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Newstyle</source> + <translation /> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Messages</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Enabled Messages:</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Enter the list of enabled messages separated by comma</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Disabled Messages:</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Enter the list of disabled messages separated by comma</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../PyLintConfigDialog.py" line="60" /> + <source>Select configuration file</source> + <translation>Vybrat konfigurační soubor</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.py" line="62" /> + <source>Configuration Files (*.cfg *.cnf *.rc);;All Files (*)</source> + <translation>Konfigurační soubory (*.cfg *.cnf *.rc);;Všechny soubory (*)</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.py" line="69" /> + <source>Select report file</source> + <translation>Vybrat soubor reportu</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.py" line="71" /> + <source>HTML Files (*.html);;Report Files (*.rpt);;Text Files (*.txt);;All Files (*)</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../PyLintConfigDialog.py" line="316" /> + <source>Process Generation Error</source> + <translation>Chyba v procesu generování</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.py" line="317" /> + <source>Could not start {0}.<br>Ensure that it is in the search path.</source> + <translation>Nelze spustit {0}.<br>Ověřte, že je umístěn v požadované cestě.</translation> + </message> + <message> + <source>Press to open a file selection dialog</source> + <translation type="vanished">Stisknout pro otevření dialogu výběru souborů</translation> + </message> + <message> + <source>...</source> + <translation type="vanished">...</translation> + </message> + <message> + <source>Select to enable the rpython checker</source> + <translation type="vanished">Vybrat pro zapnutí rpython kontrolora</translation> + </message> + </context> + <context> + <name>PyLintExecDialog</name> + <message> + <location filename="../PyLintExecDialog.py" line="49" /> + <source>Save Report...</source> + <translation>Uložit report...</translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="51" /> + <source>Press to save the report to a file</source> + <translation>Stisknout pro uložení reportu do souboru</translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="55" /> + <source>Refresh</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="56" /> + <source>Press to refresh the result display</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="75" /> + <source>Convention</source> + <translation>Konvence</translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="76" /> + <source>Refactor</source> + <translation /> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="77" /> + <source>Warning</source> + <translation>Varování</translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="78" /> + <source>Error</source> + <translation>Chyba</translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="79" /> + <source>Fatal</source> + <translation>Fatální</translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="160" /> + <source>Process Generation Error</source> + <translation>Chyba v procesu generování</translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="161" /> + <source>The process {0} could not be started. Ensure, that it is in the search path.</source> + <translation>Proces {0} nelze spustit. Ověřte, že je umístěn v požadované cestě.</translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="237" /> + <source>No PyLint errors found.</source> + <translation>PyLint chyby nebyly nalezeny.</translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="423" /> + <location filename="../PyLintExecDialog.py" line="405" /> + <location filename="../PyLintExecDialog.py" line="389" /> + <source>PyLint Report</source> + <translation>PyLint report</translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="390" /> + <source><p>The PyLint report file <b>{0}</b> already exists.</p></source> + <translation><p>Soubor s PyLint reportem <b>{0}</b> již existuje.</p></translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="406" /> + <source><p>The PyLint report file <b>{0}</b> could not be written.<br>Reason: {1}</p></source> + <translation><p>Do souboru s PyLint reportem <b>{0}</b> nelze zapsat .<br>Důvod: {1}</p></translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="416" /> + <source>HTML Files (*.html);;All Files (*)</source> + <translation>HTML soubory (*.html);;Všechny soubory (*)</translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="418" /> + <source>Report Files (*.rpt);;Text Files (*.txt);;All Files (*)</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../PyLintExecDialog.ui" line="0" /> + <source>PyLint Results</source> + <translation>PyLint výsledky</translation> + </message> + <message> + <location filename="../PyLintExecDialog.ui" line="0" /> + <source>Results</source> + <translation>Výsledky</translation> + </message> + <message> + <location filename="../PyLintExecDialog.ui" line="0" /> + <source><b>PyLint Execution</b> +<p>This shows the results of the PyLint run.</p></source> + <translation><b>Běh PyLintu</b> +<p>Zobrazuje výsledky běhu PyLintu.</p></translation> + </message> + <message> + <location filename="../PyLintExecDialog.ui" line="0" /> + <source>File/Line</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../PyLintExecDialog.ui" line="0" /> + <source>Type</source> + <translation>Typ</translation> + </message> + <message> + <location filename="../PyLintExecDialog.ui" line="0" /> + <source>Message</source> + <translation>Zpráva</translation> + </message> + <message> + <location filename="../PyLintExecDialog.ui" line="0" /> + <source>Errors</source> + <translation>Chyby</translation> + </message> + <message> + <location filename="../PyLintExecDialog.ui" line="0" /> + <source><b>PyLint Execution</b> +<p>This shows the errors of the PyLint run.</p></source> + <translation><b>Běh PyLintu</b><p>Zobrazuje výsledky běhu PyLintu.</p></translation> + </message> + <message> + <source>File</source> + <translation type="vanished">Soubor</translation> + </message> + <message> + <source>Line</source> + <translation type="vanished">Řádek</translation> + </message> + <message> + <source>Text Files (*.txt);;All Files (*)</source> + <translation type="vanished">Textové soubory (*.txt);;Všechny soubory (*)</translation> + </message> + </context> + <context> + <name>PyLintPlugin</name> + <message> + <location filename="../../PluginPyLint.py" line="61" /> + <source>Checkers - Pylint</source> + <translation /> + </message> + <message> + <location filename="../../PluginPyLint.py" line="538" /> + <location filename="../../PluginPyLint.py" line="263" /> + <source>The pylint executable could not be found.</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../../PluginPyLint.py" line="476" /> + <location filename="../../PluginPyLint.py" line="357" /> + <location filename="../../PluginPyLint.py" line="325" /> + <source>Run PyLint</source> + <translation>Spustit PyLint</translation> + </message> + <message> + <location filename="../../PluginPyLint.py" line="477" /> + <location filename="../../PluginPyLint.py" line="358" /> + <location filename="../../PluginPyLint.py" line="326" /> + <source>Run &PyLint...</source> + <translation>Spustit &PyLint...</translation> + </message> + <message> + <location filename="../../PluginPyLint.py" line="329" /> + <source>Check project, packages or modules with pylint.</source> + <translation>Zkontrolovat projekt, balíčky nebo moduly s pylintem.</translation> + </message> + <message> + <location filename="../../PluginPyLint.py" line="479" /> + <location filename="../../PluginPyLint.py" line="330" /> + <source><b>Run PyLint...</b><p>This checks the project, packages or modules using pylint.</p></source> + <translation><b>Spustit PyLint...</b><p>Toto zkontroluje poejkt, balíčky nebo moduly za pomoci pylintu.</p></translation> + </message> + <message> + <location filename="../../PluginPyLint.py" line="489" /> + <location filename="../../PluginPyLint.py" line="340" /> + <source>Show PyLint Dialog</source> + <translation>Zobrazit PyLint dialog</translation> + </message> + <message> + <location filename="../../PluginPyLint.py" line="490" /> + <location filename="../../PluginPyLint.py" line="341" /> + <source>Show Py&Lint Dialog...</source> + <translation>Zobrazit Py&Lint dialog...</translation> + </message> + <message> + <location filename="../../PluginPyLint.py" line="343" /> + <source>Show the PyLint dialog with the results of the last run.</source> + <translation>Zobrazit PyLint dialog s výsledky posledního spuštění.</translation> + </message> + <message> + <location filename="../../PluginPyLint.py" line="492" /> + <location filename="../../PluginPyLint.py" line="345" /> + <source><b>Show PyLint Dialog...</b><p>This shows the PyLint dialog with the results of the last run.</p></source> + <translation><b>Zobrazit PyLint dialog...</b><p>Zobrazuje PyLint dialog s výsledky předchozího spuštění.</p></translation> + </message> + <message> + <location filename="../../PluginPyLint.py" line="360" /> + <source><b>Run PyLint...</b><p>This checks the loaded module using pylint.</p></source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../../PluginPyLint.py" line="537" /> + <source>pylint</source> + <translation>pylint</translation> + </message> + <message> + <source>PyLint version < 0.23.0.</source> + <translation type="vanished">PyLint verze < 0.23.0.</translation> + </message> + <message> + <source>Cannot determine pylint version.</source> + <translation type="vanished">Nelze zjistit pylint verzi.</translation> + </message> + </context> +</TS>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PyLintInterface/i18n/pylint_de.ts Wed Jun 02 18:27:07 2021 +0200 @@ -0,0 +1,535 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.1" language="de"> +<context> + <name>PyLintConfigDialog</name> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>PyLint Configuration</source> + <translation>PyLint Konfiguration</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>General</source> + <translation>Allgemein</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Configuration &File:</source> + <translation>Konfiguration&datei:</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Enter the name of the configuration file</source> + <translation>Gib den namen der Konfigurationsdatei ein</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Output</source> + <translation>Ausgabe</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Select to generate a plain text report</source> + <translation>Auswählen, um einen Textbericht zu erstellen</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Generate &Textreport</source> + <translation>&Textbericht erzeugen</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Alt+T</source> + <translation>Alt+T</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Select to generate a HTML report</source> + <translation>Auswählen, um einen HTML-Bericht zu erstellen</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Generate &HTML Report</source> + <translation>&HTML-Bericht erzeugen</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Alt+H</source> + <translation>Alt+H</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Show the pylint result in a dialog</source> + <translation>Zeigt das PyLint Ergebnis in einem Dialog</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Show Result &Dialog</source> + <translation>&Ergebnisdialog anzeigen</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Alt+D</source> + <translation>Alt+E</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Report File</source> + <translation>Berichtsdatei</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Enter the name of the report file</source> + <translation>Gib den Namen einer Berichtsdatei ein</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Press to generate a sample configuration</source> + <translation>Drücken, um eine Beispielkonfiguration zu erstellen</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source><b>Generate Configuration Template</b> +<p>This generates a sample configuration. The data is shown in a new editor window.</p></source> + <translation><b>Konfigurationsvorlage erstellen</b> +<p>Dies erzeugt eine Beispielkonfiguration. Die Daten werden in einem neuen Editorfenster angezeigt.</p></translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>&Generate Configuration Template</source> + <translation>&Konfigurationsvorlage erstellen</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Alt+G</source> + <translation>Alt+K</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Checkers</source> + <translation>Prüfer</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Select to enable the basic checker</source> + <translation>Auswählen, um den Prüfer für Grundlegendes zu aktivieren</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Basic</source> + <translation>Grundlegendes</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Select to enable the imports checker</source> + <translation>Auswählen, um den Imports-Prüfer zu aktivieren</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Imports</source> + <translation>Imports</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Select to enable the similarities checker</source> + <translation>Auswählen, um den Ähnlichkeiten-Prüfer zu aktivieren</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Similarities</source> + <translation>Ähnlichkeiten</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Select to enable the classes checker</source> + <translation>Auswählen, um den Klassen-Prüfer zu aktivieren</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Classes</source> + <translation>Klassen</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Select to enable the logging checker</source> + <translation>Auswählen, um den Logging-Prüfer zu aktivieren</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Logging</source> + <translation>Logging</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Select to enable the string format checker</source> + <translation>Auswählen, um den String-Format-Prüfer zu aktivieren</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>String Format</source> + <translation>String Format</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Select to enable the design checker</source> + <translation>Auswählen, um den Design-Prüfer zu aktivieren</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Design</source> + <translation>Design</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Select to enable the metrics checker</source> + <translation>Auswählen, um Metriken zu erzeugen</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Metrics</source> + <translation>Metriken</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Select to enable the typecheck checker</source> + <translation>Auswählen, um den Typ-Prüfer zu aktivieren</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Typecheck</source> + <translation>Typ</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Select to enable the exceptions checker</source> + <translation>Auswählen, um den Ausnahmen-Prüfer zu aktivieren</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Exceptions</source> + <translation>Ausnahmen</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Select to enable the miscellaneous checker</source> + <translation>Auswählen, um den Prüfer für Verschiedenes zu aktivieren</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Miscellaneous</source> + <translation>Verschiedenes</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Select to enable the variables checker</source> + <translation>Auswählen, um den Variablen-Prüfer zu aktivieren</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Variables</source> + <translation>Variablen</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Select to enable the format checker</source> + <translation>Auswählen, um den Format-Prüfer zu aktivieren</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Format</source> + <translation>Format</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Select to enable the newstyle checker</source> + <translation>Auswählen, um den 'Neuer Stil'-Prüfer zu aktivieren</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Newstyle</source> + <translation>Neuer Stil</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Messages</source> + <translation>Nachrichten</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Enabled Messages:</source> + <translation>Aktivierte Nachrichten:</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Enter the list of enabled messages separated by comma</source> + <translation>Gib die Liste der aktivierten Nachrichten durch Komma getrennt ein</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Disabled Messages:</source> + <translation>Deaktivierte Nachrichten:</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Enter the list of disabled messages separated by comma</source> + <translation>Gib die Liste der deaktivierten Nachrichten durch Komma getrennt ein</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.py" line="60"/> + <source>Select configuration file</source> + <translation>Wähle Konfigurationsdatei aus</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.py" line="62"/> + <source>Configuration Files (*.cfg *.cnf *.rc);;All Files (*)</source> + <translation>Konfigurationsdateien (*.cfg *.cnf *.rc);;Alle Dateien (*)</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.py" line="69"/> + <source>Select report file</source> + <translation>Wähle Berichtsdatei aus</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.py" line="71"/> + <source>HTML Files (*.html);;Report Files (*.rpt);;Text Files (*.txt);;All Files (*)</source> + <translation>HTML Dateien (*.html);;Berichtsdateien (*.rpt);;Textdateien (*.txt);;Alle Dateien (*)</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.py" line="316"/> + <source>Process Generation Error</source> + <translation>Fehler beim Prozessstart</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.py" line="317"/> + <source>Could not start {0}.<br>Ensure that it is in the search path.</source> + <translation>{0} konnte nicht gestartet werden.<br>Stellen sie sicher, dass es sich im Suchpfad befindet.</translation> + </message> + <message> + <source>Press to open a file selection dialog</source> + <translation type="vanished">Drücken, um einen Dateiauswahldialog zu öffnen</translation> + </message> + <message> + <source>...</source> + <translation type="vanished">...</translation> + </message> +</context> +<context> + <name>PyLintExecDialog</name> + <message> + <location filename="../PyLintExecDialog.py" line="49"/> + <source>Save Report...</source> + <translation>Bericht speichern...</translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="51"/> + <source>Press to save the report to a file</source> + <translation>Drücken, um eine Berichtsdatei zu schreiben</translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="55"/> + <source>Refresh</source> + <translation>Erneuern</translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="56"/> + <source>Press to refresh the result display</source> + <translation>Drücken, um die Ergebnisanzeige zu erneuern</translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="75"/> + <source>Convention</source> + <translation>Konvention</translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="76"/> + <source>Refactor</source> + <translation>Refaktorierung</translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="77"/> + <source>Warning</source> + <translation>Warnung</translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="78"/> + <source>Error</source> + <translation>Fehler</translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="79"/> + <source>Fatal</source> + <translation>Fatal</translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="160"/> + <source>Process Generation Error</source> + <translation>Fehler beim Prozessstart</translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="161"/> + <source>The process {0} could not be started. Ensure, that it is in the search path.</source> + <translation>Der Prozess {0} konnte nicht gestartet werden. Stellen Sie sicher, dass er sich im Suchpfad befindet.</translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="237"/> + <source>No PyLint errors found.</source> + <translation>Keine PyLint Fehler gefunden.</translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="423"/> + <location filename="../PyLintExecDialog.py" line="405"/> + <location filename="../PyLintExecDialog.py" line="389"/> + <source>PyLint Report</source> + <translation>PyLint Bericht</translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="390"/> + <source><p>The PyLint report file <b>{0}</b> already exists.</p></source> + <translation><p>Die PyLint Berichtsdatei <b>{0}</b> existiert bereits.</p></translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="406"/> + <source><p>The PyLint report file <b>{0}</b> could not be written.<br>Reason: {1}</p></source> + <translation><p>Die Pylint Berichtsdatei <b>{0}</b> konnte nicht geschrieben werden.<br>Ursache: {1}</p></translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="416"/> + <source>HTML Files (*.html);;All Files (*)</source> + <translation>HTML Dateien (*.html);;Alle Dateien (*)</translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="418"/> + <source>Report Files (*.rpt);;Text Files (*.txt);;All Files (*)</source> + <translation>Berichtsdateien (*.rpt);;Textdateien (*.txt);;Alle Dateien (*)</translation> + </message> + <message> + <location filename="../PyLintExecDialog.ui" line="0"/> + <source>PyLint Results</source> + <translation>PyLint Resultate</translation> + </message> + <message> + <location filename="../PyLintExecDialog.ui" line="0"/> + <source>Results</source> + <translation>Resultate</translation> + </message> + <message> + <location filename="../PyLintExecDialog.ui" line="0"/> + <source><b>PyLint Execution</b> +<p>This shows the results of the PyLint run.</p></source> + <translation><b>PyLint Ausführung</b> +<p>Dies zeigt die Resultate eines PyLint Laufes.</p></translation> + </message> + <message> + <location filename="../PyLintExecDialog.ui" line="0"/> + <source>File/Line</source> + <translation>Datei/Zeile</translation> + </message> + <message> + <location filename="../PyLintExecDialog.ui" line="0"/> + <source>Type</source> + <translation>Typ</translation> + </message> + <message> + <location filename="../PyLintExecDialog.ui" line="0"/> + <source>Message</source> + <translation>Nachricht</translation> + </message> + <message> + <location filename="../PyLintExecDialog.ui" line="0"/> + <source>Errors</source> + <translation>Fehler</translation> + </message> + <message> + <location filename="../PyLintExecDialog.ui" line="0"/> + <source><b>PyLint Execution</b> +<p>This shows the errors of the PyLint run.</p></source> + <translation><b>PyLint Ausführung</b> +<p>Dies zeigt die Fehler eines PyLint Laufes.</p></translation> + </message> + <message> + <source>Text Files (*.txt);;All Files (*)</source> + <translation type="vanished">Textdateien (*.txt);;Alle Dateien (*)</translation> + </message> +</context> +<context> + <name>PyLintPlugin</name> + <message> + <location filename="../../PluginPyLint.py" line="61"/> + <source>Checkers - Pylint</source> + <translation>Prüfer - Pylint</translation> + </message> + <message> + <location filename="../../PluginPyLint.py" line="538"/> + <location filename="../../PluginPyLint.py" line="263"/> + <source>The pylint executable could not be found.</source> + <translation>Das pylint Programm konnte nicht gefunden werden.</translation> + </message> + <message> + <location filename="../../PluginPyLint.py" line="476"/> + <location filename="../../PluginPyLint.py" line="357"/> + <location filename="../../PluginPyLint.py" line="325"/> + <source>Run PyLint</source> + <translation>PyLint ausführen</translation> + </message> + <message> + <location filename="../../PluginPyLint.py" line="477"/> + <location filename="../../PluginPyLint.py" line="358"/> + <location filename="../../PluginPyLint.py" line="326"/> + <source>Run &PyLint...</source> + <translation>&PyLint ausführen...</translation> + </message> + <message> + <location filename="../../PluginPyLint.py" line="329"/> + <source>Check project, packages or modules with pylint.</source> + <translation>Überprüft das Projekt, Packages oder Module mit PyLint.</translation> + </message> + <message> + <location filename="../../PluginPyLint.py" line="479"/> + <location filename="../../PluginPyLint.py" line="330"/> + <source><b>Run PyLint...</b><p>This checks the project, packages or modules using pylint.</p></source> + <translation><b>PyLint ausführen...</b><p>Dies überprüft das Projekt, Packages oder Module mit PyLint.</p></translation> + </message> + <message> + <location filename="../../PluginPyLint.py" line="489"/> + <location filename="../../PluginPyLint.py" line="340"/> + <source>Show PyLint Dialog</source> + <translation>Zeige PyLint Dialog</translation> + </message> + <message> + <location filename="../../PluginPyLint.py" line="490"/> + <location filename="../../PluginPyLint.py" line="341"/> + <source>Show Py&Lint Dialog...</source> + <translation>Zeige Py&Lint Dialog...</translation> + </message> + <message> + <location filename="../../PluginPyLint.py" line="343"/> + <source>Show the PyLint dialog with the results of the last run.</source> + <translation>Zeige den PyLint Dialog mit den Ergebnissen des letzten Laufes.</translation> + </message> + <message> + <location filename="../../PluginPyLint.py" line="492"/> + <location filename="../../PluginPyLint.py" line="345"/> + <source><b>Show PyLint Dialog...</b><p>This shows the PyLint dialog with the results of the last run.</p></source> + <translation><b>Zeige PyLint Dialog...</b><p>Dies zeigt den PyLint Dialog mit den Ergebnissen des letzten Laufes.</p></translation> + </message> + <message> + <location filename="../../PluginPyLint.py" line="360"/> + <source><b>Run PyLint...</b><p>This checks the loaded module using pylint.</p></source> + <translation><b>PyLint ausführen...</b><p>Dies überprüft das geladene Module mit PyLint.</p></translation> + </message> + <message> + <location filename="../../PluginPyLint.py" line="537"/> + <source>pylint</source> + <translation>pylint</translation> + </message> + <message> + <source>PyLint version < 0.23.0.</source> + <translation type="vanished">PyLint Version < 0.23.0.</translation> + </message> + <message> + <source>Your version of Eric5 is not supported. At least version 5.1.0 of Eric5 is needed.</source> + <translation type="vanished">Diese eric5 Version wird nicht unterstützt. Es wird mindestens Version 5.1.0 oder höher benötigt.</translation> + </message> +</context> +</TS>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PyLintInterface/i18n/pylint_en.ts Wed Jun 02 18:27:07 2021 +0200 @@ -0,0 +1,512 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.1" language="en"> +<context> + <name>PyLintConfigDialog</name> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>PyLint Configuration</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>General</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Configuration &File:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Enter the name of the configuration file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Output</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Select to generate a plain text report</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Generate &Textreport</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Alt+T</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Select to generate a HTML report</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Generate &HTML Report</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Alt+H</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Show the pylint result in a dialog</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Show Result &Dialog</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Alt+D</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Report File</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Enter the name of the report file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Press to generate a sample configuration</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source><b>Generate Configuration Template</b> +<p>This generates a sample configuration. The data is shown in a new editor window.</p></source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>&Generate Configuration Template</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Alt+G</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Checkers</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Select to enable the basic checker</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Basic</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Select to enable the imports checker</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Imports</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Select to enable the similarities checker</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Similarities</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Select to enable the classes checker</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Classes</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Select to enable the logging checker</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Logging</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Select to enable the string format checker</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>String Format</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Select to enable the design checker</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Design</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Select to enable the metrics checker</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Metrics</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Select to enable the typecheck checker</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Typecheck</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Select to enable the exceptions checker</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Exceptions</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Select to enable the miscellaneous checker</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Miscellaneous</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Select to enable the variables checker</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Variables</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Select to enable the format checker</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Format</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Select to enable the newstyle checker</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Newstyle</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Messages</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Enabled Messages:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Enter the list of enabled messages separated by comma</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Disabled Messages:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0"/> + <source>Enter the list of disabled messages separated by comma</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../PyLintConfigDialog.py" line="60"/> + <source>Select configuration file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../PyLintConfigDialog.py" line="62"/> + <source>Configuration Files (*.cfg *.cnf *.rc);;All Files (*)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../PyLintConfigDialog.py" line="69"/> + <source>Select report file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../PyLintConfigDialog.py" line="71"/> + <source>HTML Files (*.html);;Report Files (*.rpt);;Text Files (*.txt);;All Files (*)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../PyLintConfigDialog.py" line="316"/> + <source>Process Generation Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../PyLintConfigDialog.py" line="317"/> + <source>Could not start {0}.<br>Ensure that it is in the search path.</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>PyLintExecDialog</name> + <message> + <location filename="../PyLintExecDialog.py" line="49"/> + <source>Save Report...</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="51"/> + <source>Press to save the report to a file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="55"/> + <source>Refresh</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="56"/> + <source>Press to refresh the result display</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="75"/> + <source>Convention</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="76"/> + <source>Refactor</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="77"/> + <source>Warning</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="78"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="79"/> + <source>Fatal</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="160"/> + <source>Process Generation Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="161"/> + <source>The process {0} could not be started. Ensure, that it is in the search path.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="237"/> + <source>No PyLint errors found.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="423"/> + <location filename="../PyLintExecDialog.py" line="405"/> + <location filename="../PyLintExecDialog.py" line="389"/> + <source>PyLint Report</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="390"/> + <source><p>The PyLint report file <b>{0}</b> already exists.</p></source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="406"/> + <source><p>The PyLint report file <b>{0}</b> could not be written.<br>Reason: {1}</p></source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="416"/> + <source>HTML Files (*.html);;All Files (*)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="418"/> + <source>Report Files (*.rpt);;Text Files (*.txt);;All Files (*)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../PyLintExecDialog.ui" line="0"/> + <source>PyLint Results</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../PyLintExecDialog.ui" line="0"/> + <source>Results</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../PyLintExecDialog.ui" line="0"/> + <source><b>PyLint Execution</b> +<p>This shows the results of the PyLint run.</p></source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../PyLintExecDialog.ui" line="0"/> + <source>File/Line</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../PyLintExecDialog.ui" line="0"/> + <source>Type</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../PyLintExecDialog.ui" line="0"/> + <source>Message</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../PyLintExecDialog.ui" line="0"/> + <source>Errors</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../PyLintExecDialog.ui" line="0"/> + <source><b>PyLint Execution</b> +<p>This shows the errors of the PyLint run.</p></source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>PyLintPlugin</name> + <message> + <location filename="../../PluginPyLint.py" line="61"/> + <source>Checkers - Pylint</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../PluginPyLint.py" line="538"/> + <location filename="../../PluginPyLint.py" line="263"/> + <source>The pylint executable could not be found.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../PluginPyLint.py" line="476"/> + <location filename="../../PluginPyLint.py" line="357"/> + <location filename="../../PluginPyLint.py" line="325"/> + <source>Run PyLint</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../PluginPyLint.py" line="477"/> + <location filename="../../PluginPyLint.py" line="358"/> + <location filename="../../PluginPyLint.py" line="326"/> + <source>Run &PyLint...</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../PluginPyLint.py" line="329"/> + <source>Check project, packages or modules with pylint.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../PluginPyLint.py" line="479"/> + <location filename="../../PluginPyLint.py" line="330"/> + <source><b>Run PyLint...</b><p>This checks the project, packages or modules using pylint.</p></source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../PluginPyLint.py" line="489"/> + <location filename="../../PluginPyLint.py" line="340"/> + <source>Show PyLint Dialog</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../PluginPyLint.py" line="490"/> + <location filename="../../PluginPyLint.py" line="341"/> + <source>Show Py&Lint Dialog...</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../PluginPyLint.py" line="343"/> + <source>Show the PyLint dialog with the results of the last run.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../PluginPyLint.py" line="492"/> + <location filename="../../PluginPyLint.py" line="345"/> + <source><b>Show PyLint Dialog...</b><p>This shows the PyLint dialog with the results of the last run.</p></source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../PluginPyLint.py" line="360"/> + <source><b>Run PyLint...</b><p>This checks the loaded module using pylint.</p></source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../PluginPyLint.py" line="537"/> + <source>pylint</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PyLintInterface/i18n/pylint_es.ts Wed Jun 02 18:27:07 2021 +0200 @@ -0,0 +1,534 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0" language="es_ES" sourcelanguage=""> + <context> + <name>PyLintConfigDialog</name> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>PyLint Configuration</source> + <translation>Configuración de PyLint</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>General</source> + <translation>General</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Configuration &File:</source> + <translation>&Archivo de Configuración:</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Enter the name of the configuration file</source> + <translation>Introduzca el nombre del archivo de configuración</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Output</source> + <translation>Output</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Select to generate a plain text report</source> + <translation>Seleccionar para generar un informe de texto plano</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Generate &Textreport</source> + <translation>Generar Informe de &Texto</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Alt+T</source> + <translation>Alt+T</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Select to generate a HTML report</source> + <translation>Seleccionar para generar un informe HTML</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Generate &HTML Report</source> + <translation>Generar Informe &HTML</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Alt+H</source> + <translation>Alt+H</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Show the pylint result in a dialog</source> + <translation>Mostrar en un diálogo el resultado de pylint</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Show Result &Dialog</source> + <translation>Mostrar un &Diálogo de Resultado</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Alt+D</source> + <translation>Alt+D</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Report File</source> + <translation>Archivo de Informe</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Enter the name of the report file</source> + <translation>Intruducir el nombre de un archivo de informe</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Press to generate a sample configuration</source> + <translation>ulse para generar una configuración de ejemplo</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source><b>Generate Configuration Template</b> +<p>This generates a sample configuration. The data is shown in a new editor window.</p></source> + <translation><b>Generar Plantilla de Configuración</b> +<p>Genera una configuración de ejemplo. Los datos se muestran en una nueva ventana de editor.</p></translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>&Generate Configuration Template</source> + <translation>&Generar Plantilla de Configuración</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Alt+G</source> + <translation>Alt+G</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Checkers</source> + <translation>Revisores</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Select to enable the basic checker</source> + <translation>Seleccionar para habilitar la verificación básica</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Basic</source> + <translation>Básica</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Select to enable the imports checker</source> + <translation>Seleccionar para habilitar la verificación de imports</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Imports</source> + <translation>Imports</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Select to enable the similarities checker</source> + <translation>Seleccionar para habilitar la verificación de similitudes</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Similarities</source> + <translation>Similitudes</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Select to enable the classes checker</source> + <translation>Seleccionar para habilitar la verificación de clases</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Classes</source> + <translation>Clases</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Select to enable the logging checker</source> + <translation>Seleccionar para habilitar la verificación de acceso</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Logging</source> + <translation>Acceso</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Select to enable the string format checker</source> + <translation>Seleccionar para habilitar verificación de formato de cadenas</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>String Format</source> + <translation>Formato de cadenas</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Select to enable the design checker</source> + <translation>Seleccionar para habilitar la revisión de diseño</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Design</source> + <translation>Diseño</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Select to enable the metrics checker</source> + <translation>Seleccionar para habilitar la veriricación de métricas</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Metrics</source> + <translation>Métricas</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Select to enable the typecheck checker</source> + <translation>Seleccionar para habilitar la verificación de tipos</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Typecheck</source> + <translation>Revisión de Tipos</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Select to enable the exceptions checker</source> + <translation>Seleccionar para habilitar la verificación de excepciones</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Exceptions</source> + <translation>Excepciones</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Select to enable the miscellaneous checker</source> + <translation>Seleccionar para habilitar diversas verificaciones</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Miscellaneous</source> + <translation>Miscelánea</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Select to enable the variables checker</source> + <translation>Seleccionar para habilitar la verificación de variables</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Variables</source> + <translation>Variables</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Select to enable the format checker</source> + <translation>Seleccionar para habilitar la verificación de formato</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Format</source> + <translation>Formato</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Select to enable the newstyle checker</source> + <translation>Seleccionar para habilitar la verificación de nuevo estilo</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Newstyle</source> + <translation>Nuevo Estilo</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Messages</source> + <translation>Mensajes</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Enabled Messages:</source> + <translation>Mensajes Habilitados:</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Enter the list of enabled messages separated by comma</source> + <translation>Introducir la lista de mensajes habilitados separados por comas</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Disabled Messages:</source> + <translation>Mensajes Deshabilitados:</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Enter the list of disabled messages separated by comma</source> + <translation>Introducir la lista de mensajes deshabilitados separados por comas</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.py" line="60" /> + <source>Select configuration file</source> + <translation>Seleccionar archivo de configuración</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.py" line="62" /> + <source>Configuration Files (*.cfg *.cnf *.rc);;All Files (*)</source> + <translation>Archivos de configuración (*.cfg *.cnf *.rc);;Todos los Archivos (*)</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.py" line="69" /> + <source>Select report file</source> + <translation>Seleccionar archivo de informes</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.py" line="71" /> + <source>HTML Files (*.html);;Report Files (*.rpt);;Text Files (*.txt);;All Files (*)</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../PyLintConfigDialog.py" line="316" /> + <source>Process Generation Error</source> + <translation>Error de Generación de Proceso</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.py" line="317" /> + <source>Could not start {0}.<br>Ensure that it is in the search path.</source> + <translation>No se ha podido ejecutar el proceso {0}.<br>Asegúrese de que está en la ruta de búsqueda.</translation> + </message> + <message> + <source>Press to open a file selection dialog</source> + <translation type="vanished">Pulse para abrir un diálogo de selección de archivo</translation> + </message> + <message> + <source>...</source> + <translation type="vanished">...</translation> + </message> + </context> + <context> + <name>PyLintExecDialog</name> + <message> + <location filename="../PyLintExecDialog.py" line="49" /> + <source>Save Report...</source> + <translation>Gaurdar Informe...</translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="51" /> + <source>Press to save the report to a file</source> + <translation>Pulse para guardar el informe a un archivo</translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="55" /> + <source>Refresh</source> + <translation>Actualizar</translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="56" /> + <source>Press to refresh the result display</source> + <translation>Pulsar àra actualizar la visualización de resultados</translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="75" /> + <source>Convention</source> + <translation>Convención</translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="76" /> + <source>Refactor</source> + <translation>Refactorizar</translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="77" /> + <source>Warning</source> + <translation>Advertencia</translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="78" /> + <source>Error</source> + <translation>Error</translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="79" /> + <source>Fatal</source> + <translation>Fatal</translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="160" /> + <source>Process Generation Error</source> + <translation>Error de Generación de Proceso</translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="161" /> + <source>The process {0} could not be started. Ensure, that it is in the search path.</source> + <translation>No se ha podido ejecutar el proceso {0}.<br>Asegúrese de que está en la ruta de búsqueda.</translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="237" /> + <source>No PyLint errors found.</source> + <translation>No se han encontrado errores de PyLint.</translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="423" /> + <location filename="../PyLintExecDialog.py" line="405" /> + <location filename="../PyLintExecDialog.py" line="389" /> + <source>PyLint Report</source> + <translation>Informe de PyLint</translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="390" /> + <source><p>The PyLint report file <b>{0}</b> already exists.</p></source> + <translation><p>El archivo de informe PyLint <b>{0}</b> ya existe.</p></translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="406" /> + <source><p>The PyLint report file <b>{0}</b> could not be written.<br>Reason: {1}</p></source> + <translation><p>El archivo de informe PyLint <b>{0}</b> no ha podido guardarse.<br>Causa: {1}</p></translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="416" /> + <source>HTML Files (*.html);;All Files (*)</source> + <translation>Archivos HTML (*.html);;Todos los Archivos (*)</translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="418" /> + <source>Report Files (*.rpt);;Text Files (*.txt);;All Files (*)</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../PyLintExecDialog.ui" line="0" /> + <source>PyLint Results</source> + <translation>Resultados de PyLint</translation> + </message> + <message> + <location filename="../PyLintExecDialog.ui" line="0" /> + <source>Results</source> + <translation>Resultados</translation> + </message> + <message> + <location filename="../PyLintExecDialog.ui" line="0" /> + <source><b>PyLint Execution</b> +<p>This shows the results of the PyLint run.</p></source> + <translation><b>Ejecución de PyLint</b><p>Muestra los resultados de la ejecución de PyLint.</p></translation> + </message> + <message> + <location filename="../PyLintExecDialog.ui" line="0" /> + <source>File/Line</source> + <translation>Archivo/Línea</translation> + </message> + <message> + <location filename="../PyLintExecDialog.ui" line="0" /> + <source>Type</source> + <translation>Tipo</translation> + </message> + <message> + <location filename="../PyLintExecDialog.ui" line="0" /> + <source>Message</source> + <translation>Mensaje</translation> + </message> + <message> + <location filename="../PyLintExecDialog.ui" line="0" /> + <source>Errors</source> + <translation>Errores</translation> + </message> + <message> + <location filename="../PyLintExecDialog.ui" line="0" /> + <source><b>PyLint Execution</b> +<p>This shows the errors of the PyLint run.</p></source> + <translation><b>Ejecución de PyLint</b> +<p>Muestra los errores de la ejecución de PyLint.</p></translation> + </message> + <message> + <source>Text Files (*.txt);;All Files (*)</source> + <translation type="vanished">Archivos de Texto (*.txt);;Todos los Archivos (*)</translation> + </message> + </context> + <context> + <name>PyLintPlugin</name> + <message> + <location filename="../../PluginPyLint.py" line="61" /> + <source>Checkers - Pylint</source> + <translation>Revisores - PyLint</translation> + </message> + <message> + <location filename="../../PluginPyLint.py" line="538" /> + <location filename="../../PluginPyLint.py" line="263" /> + <source>The pylint executable could not be found.</source> + <translation>El ejecutable de pylint no se encuentra.</translation> + </message> + <message> + <location filename="../../PluginPyLint.py" line="476" /> + <location filename="../../PluginPyLint.py" line="357" /> + <location filename="../../PluginPyLint.py" line="325" /> + <source>Run PyLint</source> + <translation>Ejecutar PyLint</translation> + </message> + <message> + <location filename="../../PluginPyLint.py" line="477" /> + <location filename="../../PluginPyLint.py" line="358" /> + <location filename="../../PluginPyLint.py" line="326" /> + <source>Run &PyLint...</source> + <translation>Ejecutar &PyLint...</translation> + </message> + <message> + <location filename="../../PluginPyLint.py" line="329" /> + <source>Check project, packages or modules with pylint.</source> + <translation>Revisar proyecto, paquetes o módulos con pylint.</translation> + </message> + <message> + <location filename="../../PluginPyLint.py" line="479" /> + <location filename="../../PluginPyLint.py" line="330" /> + <source><b>Run PyLint...</b><p>This checks the project, packages or modules using pylint.</p></source> + <translation><b>Ejecutar PyLint...</b><p>Verifica el proyecto, paquetes o módulos usando pylint.</p></translation> + </message> + <message> + <location filename="../../PluginPyLint.py" line="489" /> + <location filename="../../PluginPyLint.py" line="340" /> + <source>Show PyLint Dialog</source> + <translation>Mostrar Diálogo de PyLint</translation> + </message> + <message> + <location filename="../../PluginPyLint.py" line="490" /> + <location filename="../../PluginPyLint.py" line="341" /> + <source>Show Py&Lint Dialog...</source> + <translation>Mostrar Diálogo de Py&Lint...</translation> + </message> + <message> + <location filename="../../PluginPyLint.py" line="343" /> + <source>Show the PyLint dialog with the results of the last run.</source> + <translation>Mostrar el diálogo de PyLint con los resultados de la última ejecución.</translation> + </message> + <message> + <location filename="../../PluginPyLint.py" line="492" /> + <location filename="../../PluginPyLint.py" line="345" /> + <source><b>Show PyLint Dialog...</b><p>This shows the PyLint dialog with the results of the last run.</p></source> + <translation><b>Mostrar Diálogo de PyLint...</b><p>Muestra el diálogo de PyLint con los resultados de la última ejecución.</p></translation> + </message> + <message> + <location filename="../../PluginPyLint.py" line="360" /> + <source><b>Run PyLint...</b><p>This checks the loaded module using pylint.</p></source> + <translation><b>Ejecutar PyLint...</b><p>Utiliza pylint para chequear el módulo cargado.</p></translation> + </message> + <message> + <location filename="../../PluginPyLint.py" line="537" /> + <source>pylint</source> + <translation>pylint</translation> + </message> + <message> + <source>PyLint version < 0.23.0.</source> + <translation type="vanished">Versión de PyLint < 0.23.0.</translation> + </message> + <message> + <source>Your version of Eric5 is not supported. At least version 5.1.0 of Eric5 is needed.</source> + <translation type="vanished">Esta versión de Eric5 no está soportada. Es necesaria la versión 5.1.0 o superior de eric5.</translation> + </message> + </context> +</TS>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PyLintInterface/i18n/pylint_fr.ts Wed Jun 02 18:27:07 2021 +0200 @@ -0,0 +1,551 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0" language="fr" sourcelanguage=""> + <context> + <name>PyLintConfigDialog</name> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>PyLint Configuration</source> + <translation>Configuration de PyLint</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>General</source> + <translation>Général</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Configuration &File:</source> + <translation>&Fichier de configuration:</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Enter the name of the configuration file</source> + <translation>Entrer le nom du fichier de configuration</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Output</source> + <translation>Sortie</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Select to generate a plain text report</source> + <translation>Sélectionner pour générer un rapport au format texte brut</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Generate &Textreport</source> + <translation>Générer un rapport au format &texte</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Alt+T</source> + <translation>Alt+T</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Select to generate a HTML report</source> + <translation>Sélectionner pour générer un rapport au format HTML</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Generate &HTML Report</source> + <translation>Générer un rapport au format &HTML</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Alt+H</source> + <translation>Alt+H</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Show the pylint result in a dialog</source> + <translation>Afficher les résultats de pylint dans un fenêtre indépendante</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Show Result &Dialog</source> + <translation>Afficher le résultat dans une &fenêtre</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Alt+D</source> + <translation>Alt+D</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Report File</source> + <translation>Fichier Rapport</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Enter the name of the report file</source> + <translation>Entrer le nom du fichier rapport</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Press to generate a sample configuration</source> + <translation>Cliquer pour générer un exemple de configuration</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source><b>Generate Configuration Template</b> +<p>This generates a sample configuration. The data is shown in a new editor window.</p></source> + <translation><b>Générer un gabarit de configuration</b> +<p>Génère un exemple de configuration. Les données sont affichées dans une nouvelle fenêtre d'édition.</p></translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>&Generate Configuration Template</source> + <translation>&Générer un gabarit de configuration</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Alt+G</source> + <translation>Alt+G</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Checkers</source> + <translation>Vérificateurs</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Select to enable the basic checker</source> + <translation>Cocher pour activer la vérification basique</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Basic</source> + <translation>Basique</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Select to enable the imports checker</source> + <translation>Cocher pour activer la vérification des importations</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Imports</source> + <translation>Imports</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Select to enable the similarities checker</source> + <translation>Cocher pour activer la vérification des similarités</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Similarities</source> + <translation>Similarités</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Select to enable the classes checker</source> + <translation>Cocher pour activer la vérification des classes</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Classes</source> + <translation>Classes</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Select to enable the logging checker</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Logging</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Select to enable the string format checker</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>String Format</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Select to enable the design checker</source> + <translation>Cocher pour activer la vérification de design de code</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Design</source> + <translation>Design</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Select to enable the metrics checker</source> + <translation>Cocher pour activer le décompte des lignes dans les différentes catégories de code</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Metrics</source> + <translation>Décompte des lignes</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Select to enable the typecheck checker</source> + <translation>Cocher pour activer le vérificateur de types</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Typecheck</source> + <translation>Vérificateur de types</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Select to enable the exceptions checker</source> + <translation>Cocher pour activer la vérification des exceptions</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Exceptions</source> + <translation>Exceptions</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Select to enable the miscellaneous checker</source> + <translation>Cocher pour activer la vérification des paramètres divers</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Miscellaneous</source> + <translation>Divers</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Select to enable the variables checker</source> + <translation>Cocher pour activer la vérification des variables</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Variables</source> + <translation>Variables</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Select to enable the format checker</source> + <translation>Cocher pour activer la vérification des formats</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Format</source> + <translation>Format</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Select to enable the newstyle checker</source> + <translation>Cocher pour activer le vérificateur de styles</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Newstyle</source> + <translation>Newstyle</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Messages</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Enabled Messages:</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Enter the list of enabled messages separated by comma</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Disabled Messages:</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Enter the list of disabled messages separated by comma</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../PyLintConfigDialog.py" line="60" /> + <source>Select configuration file</source> + <translation>Sélection d'un fichier de configuration</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.py" line="62" /> + <source>Configuration Files (*.cfg *.cnf *.rc);;All Files (*)</source> + <translation>Fichiers de configuration (*.cfg *.cnf *.rc);;Tous les fichiers (*)</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.py" line="69" /> + <source>Select report file</source> + <translation>Sélecion d'un fichier rapport</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.py" line="71" /> + <source>HTML Files (*.html);;Report Files (*.rpt);;Text Files (*.txt);;All Files (*)</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../PyLintConfigDialog.py" line="316" /> + <source>Process Generation Error</source> + <translation>Erreur dans la generation du processus</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.py" line="317" /> + <source>Could not start {0}.<br>Ensure that it is in the search path.</source> + <translation>Impossible de démarrer {0}.<br>Assurez-vous qu'il est bien dans le chemin de recherche.</translation> + </message> + <message> + <source>Press to open a file selection dialog</source> + <translation type="vanished">Cliquer pour choisir un fichier</translation> + </message> + <message> + <source>...</source> + <translation type="vanished">...</translation> + </message> + <message> + <source>Select to enable the rpython checker</source> + <translation type="vanished">Cocher pour activer le vérificateur rpython</translation> + </message> + <message> + <source>RPython</source> + <translation type="vanished">RPython</translation> + </message> + </context> + <context> + <name>PyLintExecDialog</name> + <message> + <location filename="../PyLintExecDialog.py" line="49" /> + <source>Save Report...</source> + <translation>Enregistrer le rapport...</translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="51" /> + <source>Press to save the report to a file</source> + <translation>Cliquer pour enregistrer le rapport dans un fichier</translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="55" /> + <source>Refresh</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="56" /> + <source>Press to refresh the result display</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="75" /> + <source>Convention</source> + <translation>Convention</translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="76" /> + <source>Refactor</source> + <translation>Restructuration</translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="77" /> + <source>Warning</source> + <translation>Warning</translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="78" /> + <source>Error</source> + <translation>Erreur</translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="79" /> + <source>Fatal</source> + <translation>Fatal</translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="160" /> + <source>Process Generation Error</source> + <translation>Erreur dans la génération du processus</translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="161" /> + <source>The process {0} could not be started. Ensure, that it is in the search path.</source> + <translation>Impossible de lancer le processus {0}. Assurez-vous qu'il est bien dans le chemin de recherche.</translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="237" /> + <source>No PyLint errors found.</source> + <translation>Aucune erreur PyLint.</translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="423" /> + <location filename="../PyLintExecDialog.py" line="405" /> + <location filename="../PyLintExecDialog.py" line="389" /> + <source>PyLint Report</source> + <translation>Rapport PyLint</translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="390" /> + <source><p>The PyLint report file <b>{0}</b> already exists.</p></source> + <translation><p>Le fichier rapport PyLint <b>{0}</b> existe déjà.</p></translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="406" /> + <source><p>The PyLint report file <b>{0}</b> could not be written.<br>Reason: {1}</p></source> + <translation><p>Impossible d'écrire le fichier rapport PyLint <b>{0}</b>. Raison : <b>{1}</b></p></translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="416" /> + <source>HTML Files (*.html);;All Files (*)</source> + <translation>Fichiers HTML (*.html);;Tous les fichiers (*)</translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="418" /> + <source>Report Files (*.rpt);;Text Files (*.txt);;All Files (*)</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../PyLintExecDialog.ui" line="0" /> + <source>PyLint Results</source> + <translation>Résultats PyLint</translation> + </message> + <message> + <location filename="../PyLintExecDialog.ui" line="0" /> + <source>Results</source> + <translation>Résultats</translation> + </message> + <message> + <location filename="../PyLintExecDialog.ui" line="0" /> + <source><b>PyLint Execution</b> +<p>This shows the results of the PyLint run.</p></source> + <translation><b>Execution PyLint</b> +<p>Affiche les résultats de la vérification PyLint.</p></translation> + </message> + <message> + <location filename="../PyLintExecDialog.ui" line="0" /> + <source>File/Line</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../PyLintExecDialog.ui" line="0" /> + <source>Type</source> + <translation>Type</translation> + </message> + <message> + <location filename="../PyLintExecDialog.ui" line="0" /> + <source>Message</source> + <translation>Message</translation> + </message> + <message> + <location filename="../PyLintExecDialog.ui" line="0" /> + <source>Errors</source> + <translation>Erreurs</translation> + </message> + <message> + <location filename="../PyLintExecDialog.ui" line="0" /> + <source><b>PyLint Execution</b> +<p>This shows the errors of the PyLint run.</p></source> + <translation><b>Execution PyLint</b> +<p>Affiche les erreurs de l'execution de PyLint.</p></translation> + </message> + <message> + <source>Text Files (*.txt);;All Files (*)</source> + <translation type="vanished">Fichiers texte (*.txt);;Tous fichiers (*)</translation> + </message> + <message> + <source>File</source> + <translation type="vanished">Fichier</translation> + </message> + <message> + <source>Line</source> + <translation type="vanished">Ligne</translation> + </message> + </context> + <context> + <name>PyLintPlugin</name> + <message> + <location filename="../../PluginPyLint.py" line="61" /> + <source>Checkers - Pylint</source> + <translation>Vérificateurs - Pylint</translation> + </message> + <message> + <location filename="../../PluginPyLint.py" line="538" /> + <location filename="../../PluginPyLint.py" line="263" /> + <source>The pylint executable could not be found.</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../../PluginPyLint.py" line="476" /> + <location filename="../../PluginPyLint.py" line="357" /> + <location filename="../../PluginPyLint.py" line="325" /> + <source>Run PyLint</source> + <translation>Lancer PyLint</translation> + </message> + <message> + <location filename="../../PluginPyLint.py" line="477" /> + <location filename="../../PluginPyLint.py" line="358" /> + <location filename="../../PluginPyLint.py" line="326" /> + <source>Run &PyLint...</source> + <translation>Lancer &PyLint...</translation> + </message> + <message> + <location filename="../../PluginPyLint.py" line="329" /> + <source>Check project, packages or modules with pylint.</source> + <translation>Vérifie le projet, les packages ou les modules avec pylint.</translation> + </message> + <message> + <location filename="../../PluginPyLint.py" line="479" /> + <location filename="../../PluginPyLint.py" line="330" /> + <source><b>Run PyLint...</b><p>This checks the project, packages or modules using pylint.</p></source> + <translation><b>Lancer PyLint...</b><p>Vérifie le projet, les packages ou les modules avec pylint.</p></translation> + </message> + <message> + <location filename="../../PluginPyLint.py" line="489" /> + <location filename="../../PluginPyLint.py" line="340" /> + <source>Show PyLint Dialog</source> + <translation>Afficher la fenêtre PyLint</translation> + </message> + <message> + <location filename="../../PluginPyLint.py" line="490" /> + <location filename="../../PluginPyLint.py" line="341" /> + <source>Show Py&Lint Dialog...</source> + <translation>Afficher la fenêtre P&yLint...</translation> + </message> + <message> + <location filename="../../PluginPyLint.py" line="343" /> + <source>Show the PyLint dialog with the results of the last run.</source> + <translation>Affiche la fenêtre PyLint avec les résultats du dernier run.</translation> + </message> + <message> + <location filename="../../PluginPyLint.py" line="492" /> + <location filename="../../PluginPyLint.py" line="345" /> + <source><b>Show PyLint Dialog...</b><p>This shows the PyLint dialog with the results of the last run.</p></source> + <translation><b>Afficher la fenêtre PyLint...</b><p>Affiche la fenêtre PyLint avec les résultats du dernier run.</p></translation> + </message> + <message> + <location filename="../../PluginPyLint.py" line="360" /> + <source><b>Run PyLint...</b><p>This checks the loaded module using pylint.</p></source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../../PluginPyLint.py" line="537" /> + <source>pylint</source> + <translation>pylint</translation> + </message> + <message> + <source>PyLint version < 0.23.0.</source> + <translation type="vanished">PyLint version < 0.23.0.</translation> + </message> + <message> + <source>Cannot determine pylint version.</source> + <translation type="vanished">Impossible de déterminer la version de pylint.</translation> + </message> + </context> +</TS>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PyLintInterface/i18n/pylint_pt.ts Wed Jun 02 18:27:07 2021 +0200 @@ -0,0 +1,531 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0" language="pt_PT" sourcelanguage=""> + <context> + <name>PyLintConfigDialog</name> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>PyLint Configuration</source> + <translation>Configuração de PyLint</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>General</source> + <translation>Geral</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Configuration &File:</source> + <translation>&Ficheiro de Configuração:</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Enter the name of the configuration file</source> + <translation>Introduzir o nome do ficheiro de configuração</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Output</source> + <translation>Saída</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Select to generate a plain text report</source> + <translation>Selecionar para gerar um realatório de texto plano</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Generate &Textreport</source> + <translation>Gerar Relatório de &Texto</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Alt+T</source> + <translation>Alt+T</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Select to generate a HTML report</source> + <translation>Seleccionar para gerar um relatório HTML</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Generate &HTML Report</source> + <translation>Gerar Relatório &HTML</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Alt+H</source> + <translation>Alt+H</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Show the pylint result in a dialog</source> + <translation>Mostrar o resultado de pylint numa caixa de diálogo</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Show Result &Dialog</source> + <translation>Mostrar &Diálogo com Resultado</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Alt+D</source> + <translation>Alt+D</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Report File</source> + <translation>Ficheiro Relatório</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Enter the name of the report file</source> + <translation>Introduzir o nome do ficheiro relatório</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Press to generate a sample configuration</source> + <translation>Pressionar para gerar uma amostra de configuração</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source><b>Generate Configuration Template</b> +<p>This generates a sample configuration. The data is shown in a new editor window.</p></source> + <translation><b>Gerar Modelo de Configuração</b> +<p>Cria uma amostra de configuração. Mostram-se os dados numa nova janela de edição.</p></translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>&Generate Configuration Template</source> + <translation>&Gerar Modelo de Configuração</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Alt+G</source> + <translation>Alt+G</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Checkers</source> + <translation>Verificadores</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Select to enable the basic checker</source> + <translation>Selecionar para habilitar o verificador básico</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Basic</source> + <translation>Básico</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Select to enable the imports checker</source> + <translation>Selecionar para habilitar o verificador de imports</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Imports</source> + <translation>Imports</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Select to enable the similarities checker</source> + <translation>Selecionar para habilitar verificador de semelhanças</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Similarities</source> + <translation>Semelhanças</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Select to enable the classes checker</source> + <translation>Selecionar para habilitar o verificador de classes</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Classes</source> + <translation>Classes</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Select to enable the logging checker</source> + <translation>Selecionar para habilitar o verificador de registos</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Logging</source> + <translation>Registos</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Select to enable the string format checker</source> + <translation>Selecionar para habilitar o verificador de formatos de strings</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>String Format</source> + <translation>Formato de String</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Select to enable the design checker</source> + <translation>Selecionar para habilitar o verificador de desenho</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Design</source> + <translation>Desenho</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Select to enable the metrics checker</source> + <translation>Selecionar para habilitar verificador de métricas</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Metrics</source> + <translation>Métricas</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Select to enable the typecheck checker</source> + <translation>Selecionar para habilitar o verificador de tipos</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Typecheck</source> + <translation>Verificador de Tipos</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Select to enable the exceptions checker</source> + <translation>Selecionar para habilitar o verificador de excepções</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Exceptions</source> + <translation>Excepções</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Select to enable the miscellaneous checker</source> + <translation>Selecionar para habilitar verificador de diversos parâmetros</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Miscellaneous</source> + <translation>Diversos</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Select to enable the variables checker</source> + <translation>Selecionar para habilitar o verificador de variáveis</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Variables</source> + <translation>Variáveis</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Select to enable the format checker</source> + <translation>Selecionar para habilitar verificador de formatos</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Format</source> + <translation>Formato</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Select to enable the newstyle checker</source> + <translation>Selecionar para habilitar verificador de novo estilo</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Newstyle</source> + <translation>Novo Estilo</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Messages</source> + <translation>Mensagens</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Enabled Messages:</source> + <translation>Mensagens Habilitadas:</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Enter the list of enabled messages separated by comma</source> + <translation>Introduzir a lista de mensagens habilitadas separadas por vírgulas</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Disabled Messages:</source> + <translation>Mensagens Desabilitadas:</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Enter the list of disabled messages separated by comma</source> + <translation>Introduzir a lista de mensagens desabilitadas separadas por vírgulas</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.py" line="60" /> + <source>Select configuration file</source> + <translation>Selecionar ficheiro de configuração</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.py" line="62" /> + <source>Configuration Files (*.cfg *.cnf *.rc);;All Files (*)</source> + <translation>Ficheiros de Configuração (*.cfg *.cnf *.rc);;Ficheiros Todos (*)</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.py" line="69" /> + <source>Select report file</source> + <translation>Selecionar ficheiro de relatório</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.py" line="71" /> + <source>HTML Files (*.html);;Report Files (*.rpt);;Text Files (*.txt);;All Files (*)</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../PyLintConfigDialog.py" line="316" /> + <source>Process Generation Error</source> + <translation>Erro na Geração de Processo</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.py" line="317" /> + <source>Could not start {0}.<br>Ensure that it is in the search path.</source> + <translation>Não pode iniciar {0}.<br>Certifique-se de que está na rota de busca.</translation> + </message> + <message> + <source>Press to open a file selection dialog</source> + <translation type="vanished">Pressionar para abrir uma caixa de diálogo de seleção de ficheiros</translation> + </message> + <message> + <source>...</source> + <translation type="vanished">...</translation> + </message> + </context> + <context> + <name>PyLintExecDialog</name> + <message> + <location filename="../PyLintExecDialog.py" line="49" /> + <source>Save Report...</source> + <translation>Gravar Relatório...</translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="51" /> + <source>Press to save the report to a file</source> + <translation>Pressionar para gravar o relatório num ficheiro</translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="55" /> + <source>Refresh</source> + <translation>Atualizar</translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="56" /> + <source>Press to refresh the result display</source> + <translation>Pressionar para atualizar a visualização de resultados</translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="75" /> + <source>Convention</source> + <translation>Convenção</translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="76" /> + <source>Refactor</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="77" /> + <source>Warning</source> + <translation>Aviso</translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="78" /> + <source>Error</source> + <translation>Erro</translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="79" /> + <source>Fatal</source> + <translation>Fatal</translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="160" /> + <source>Process Generation Error</source> + <translation>Erro na Geração de Processo</translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="161" /> + <source>The process {0} could not be started. Ensure, that it is in the search path.</source> + <translation>O processo {0} não se pôde iniciar. Certifique-se de que está na rota de busca.</translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="237" /> + <source>No PyLint errors found.</source> + <translation>Não se encontraram erros de PyLint.</translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="423" /> + <location filename="../PyLintExecDialog.py" line="405" /> + <location filename="../PyLintExecDialog.py" line="389" /> + <source>PyLint Report</source> + <translation>Relatório de PyLint</translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="390" /> + <source><p>The PyLint report file <b>{0}</b> already exists.</p></source> + <translation><p>O ficheiro de relatório de PyLint <b>{0}</b> já existe.</p></translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="406" /> + <source><p>The PyLint report file <b>{0}</b> could not be written.<br>Reason: {1}</p></source> + <translation><p>O ficheiro de relatório de PyLint <b>{0}</b> não pôde escrever-se.<br>Motivo: {1}</p></translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="416" /> + <source>HTML Files (*.html);;All Files (*)</source> + <translation>Ficheiros HTML (*.html);;Ficheiros Todos (*)</translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="418" /> + <source>Report Files (*.rpt);;Text Files (*.txt);;All Files (*)</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../PyLintExecDialog.ui" line="0" /> + <source>PyLint Results</source> + <translation>Resultados de Pylint</translation> + </message> + <message> + <location filename="../PyLintExecDialog.ui" line="0" /> + <source>Results</source> + <translation>Resultados</translation> + </message> + <message> + <location filename="../PyLintExecDialog.ui" line="0" /> + <source><b>PyLint Execution</b> +<p>This shows the results of the PyLint run.</p></source> + <translation><b>Execução de PyLint</b> +<p>Mostra os resultados da execução de PyLint.</p></translation> + </message> + <message> + <location filename="../PyLintExecDialog.ui" line="0" /> + <source>File/Line</source> + <translation>Ficheiro/Linha</translation> + </message> + <message> + <location filename="../PyLintExecDialog.ui" line="0" /> + <source>Type</source> + <translation>Tipo</translation> + </message> + <message> + <location filename="../PyLintExecDialog.ui" line="0" /> + <source>Message</source> + <translation>Mensagem</translation> + </message> + <message> + <location filename="../PyLintExecDialog.ui" line="0" /> + <source>Errors</source> + <translation>Erros</translation> + </message> + <message> + <location filename="../PyLintExecDialog.ui" line="0" /> + <source><b>PyLint Execution</b> +<p>This shows the errors of the PyLint run.</p></source> + <translation><b>Execução de PyLint</b> +<p>Mostra os erros da execução de PyLint.</p></translation> + </message> + <message> + <source>Text Files (*.txt);;All Files (*)</source> + <translation type="vanished">Ficheiros de Texto (*.txt);;Ficheiros Todos (*)</translation> + </message> + </context> + <context> + <name>PyLintPlugin</name> + <message> + <location filename="../../PluginPyLint.py" line="61" /> + <source>Checkers - Pylint</source> + <translation>Verificadores - PyLint</translation> + </message> + <message> + <location filename="../../PluginPyLint.py" line="538" /> + <location filename="../../PluginPyLint.py" line="263" /> + <source>The pylint executable could not be found.</source> + <translation>Não se encontrou o executável de pylint.</translation> + </message> + <message> + <location filename="../../PluginPyLint.py" line="476" /> + <location filename="../../PluginPyLint.py" line="357" /> + <location filename="../../PluginPyLint.py" line="325" /> + <source>Run PyLint</source> + <translation>Executar PyLint</translation> + </message> + <message> + <location filename="../../PluginPyLint.py" line="477" /> + <location filename="../../PluginPyLint.py" line="358" /> + <location filename="../../PluginPyLint.py" line="326" /> + <source>Run &PyLint...</source> + <translation>Executar &PyLint...</translation> + </message> + <message> + <location filename="../../PluginPyLint.py" line="329" /> + <source>Check project, packages or modules with pylint.</source> + <translation>Verificar projeto, pacotes ou módulos com pylint.</translation> + </message> + <message> + <location filename="../../PluginPyLint.py" line="479" /> + <location filename="../../PluginPyLint.py" line="330" /> + <source><b>Run PyLint...</b><p>This checks the project, packages or modules using pylint.</p></source> + <translation><b>Executar PyLint...</b><p>Verifica o projeto, pacotes ou módulos com pylint.</p></translation> + </message> + <message> + <location filename="../../PluginPyLint.py" line="489" /> + <location filename="../../PluginPyLint.py" line="340" /> + <source>Show PyLint Dialog</source> + <translation>Mostrar Caixa de Diálogo de PyLint</translation> + </message> + <message> + <location filename="../../PluginPyLint.py" line="490" /> + <location filename="../../PluginPyLint.py" line="341" /> + <source>Show Py&Lint Dialog...</source> + <translation>Mostrar Diálogo de Py&Lint...</translation> + </message> + <message> + <location filename="../../PluginPyLint.py" line="343" /> + <source>Show the PyLint dialog with the results of the last run.</source> + <translation>Mostrar a caixa de diálogo de PyLint com os resultados da última execução.</translation> + </message> + <message> + <location filename="../../PluginPyLint.py" line="492" /> + <location filename="../../PluginPyLint.py" line="345" /> + <source><b>Show PyLint Dialog...</b><p>This shows the PyLint dialog with the results of the last run.</p></source> + <translation><b>Mostrar Diálogo de PyLint...</b><p>Mostra a caixa de diálogo de PyLint com os resultados da última execução.</p></translation> + </message> + <message> + <location filename="../../PluginPyLint.py" line="360" /> + <source><b>Run PyLint...</b><p>This checks the loaded module using pylint.</p></source> + <translation><b>Executar PyLint...</b><p>Verifica o módulo carregado com pylint.</p></translation> + </message> + <message> + <location filename="../../PluginPyLint.py" line="537" /> + <source>pylint</source> + <translation>pylint</translation> + </message> + <message> + <source>PyLint version < 0.23.0.</source> + <translation type="vanished">Versão de PyLint < 0.23.0.</translation> + </message> + </context> +</TS>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PyLintInterface/i18n/pylint_ru.ts Wed Jun 02 18:27:07 2021 +0200 @@ -0,0 +1,531 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0" language="ru_RU" sourcelanguage=""> + <context> + <name>PyLintConfigDialog</name> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>PyLint Configuration</source> + <translation>Конфигурация PyLint</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>General</source> + <translation>Общее</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Configuration &File:</source> + <translation>&Файл конфигурации:</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Enter the name of the configuration file</source> + <translation>Задайте имя файла конфигурации</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Output</source> + <translation>Вывод</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Select to generate a plain text report</source> + <translation>Разрешить генерацию отчёта в виде текстового файла</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Generate &Textreport</source> + <translation>Генерировать &текстовый отчёт</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Alt+T</source> + <translation>Alt+T</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Select to generate a HTML report</source> + <translation>Разрешить генерацию отчёта в виде файла HTML</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Generate &HTML Report</source> + <translation>Генерировать &HTML отчёт</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Alt+H</source> + <translation>Alt+H</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Show the pylint result in a dialog</source> + <translation>Показать окно диалога с результатами работы pylint</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Show Result &Dialog</source> + <translation>Показать окно &диалога с результатами</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Alt+D</source> + <translation>Alt+D</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Report File</source> + <translation>Файл отчёта</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Enter the name of the report file</source> + <translation>Задайте имя файла отчёта</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Press to generate a sample configuration</source> + <translation>Генерация примерной конфигурации</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source><b>Generate Configuration Template</b> +<p>This generates a sample configuration. The data is shown in a new editor window.</p></source> + <translation><b>Генерировать шаблон конфигурации</b> +<p>Создание примерной конфигурации. Она будет показана в новом окне редактора.</p></translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>&Generate Configuration Template</source> + <translation>&Создать шаблон конфигурации</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Alt+G</source> + <translation>Alt+G</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Checkers</source> + <translation>Проверки</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Select to enable the basic checker</source> + <translation>Разрешить базовую проверку</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Basic</source> + <translation>Базовые</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Select to enable the imports checker</source> + <translation>Разрешить проверку импорта</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Imports</source> + <translation>Импорт</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Select to enable the similarities checker</source> + <translation>Разрешить проверку сходства</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Similarities</source> + <translation>Сходства</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Select to enable the classes checker</source> + <translation>Разрешить проверку классов</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Classes</source> + <translation>Классы</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Select to enable the logging checker</source> + <translation>Разрешить ведение журнала проверки</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Logging</source> + <translation>Ведение журнала</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Select to enable the string format checker</source> + <translation>Разрешить проверку формата строки</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>String Format</source> + <translation>Формат строки</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Select to enable the design checker</source> + <translation>Разрешить проверку конструкции</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Design</source> + <translation>Конструкции</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Select to enable the metrics checker</source> + <translation>Разрешить проверку метрик</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Metrics</source> + <translation>Метрики</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Select to enable the typecheck checker</source> + <translation>Разрешить проверку типов</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Typecheck</source> + <translation>Проверка типов</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Select to enable the exceptions checker</source> + <translation>Разрешить проверку исключений</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Exceptions</source> + <translation>Исключения</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Select to enable the miscellaneous checker</source> + <translation>Разрешить проверку всего остального</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Miscellaneous</source> + <translation>Разное</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Select to enable the variables checker</source> + <translation>Разрешить проверку переменных</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Variables</source> + <translation>Переменные</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Select to enable the format checker</source> + <translation>Разрешить проверку формата</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Format</source> + <translation>Формат</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Select to enable the newstyle checker</source> + <translation>Разрешить проверку нового стиля</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Newstyle</source> + <translation>Новый стиль</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Messages</source> + <translation>Сообщения</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Enabled Messages:</source> + <translation>Допустимые сообщения:</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Enter the list of enabled messages separated by comma</source> + <translation>Введите список допустимых сообщений, разделенных запятыми</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Disabled Messages:</source> + <translation>Недопустимые сообщения:</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.ui" line="0" /> + <source>Enter the list of disabled messages separated by comma</source> + <translation>Введите список недопустимых сообщений, разделенных запятыми</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.py" line="60" /> + <source>Select configuration file</source> + <translation>Выберите файл конфигурации</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.py" line="62" /> + <source>Configuration Files (*.cfg *.cnf *.rc);;All Files (*)</source> + <translation>Файлы конфигурации (*.cfg *.cnf *.rc);;Все файлы (*)</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.py" line="69" /> + <source>Select report file</source> + <translation>Выберите файл отчёта</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.py" line="71" /> + <source>HTML Files (*.html);;Report Files (*.rpt);;Text Files (*.txt);;All Files (*)</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../PyLintConfigDialog.py" line="316" /> + <source>Process Generation Error</source> + <translation>Ошибка процесса генерации</translation> + </message> + <message> + <location filename="../PyLintConfigDialog.py" line="317" /> + <source>Could not start {0}.<br>Ensure that it is in the search path.</source> + <translation>Невозможно запустить {0}.<br>Убедитесь, что он находится в путях поиска.</translation> + </message> + <message> + <source>Press to open a file selection dialog</source> + <translation type="vanished">Открыть диалог выбора файла</translation> + </message> + <message> + <source>...</source> + <translation type="vanished">...</translation> + </message> + </context> + <context> + <name>PyLintExecDialog</name> + <message> + <location filename="../PyLintExecDialog.py" line="49" /> + <source>Save Report...</source> + <translation>Сохранить отчёт...</translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="51" /> + <source>Press to save the report to a file</source> + <translation>Сохранить отчёт в файл</translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="55" /> + <source>Refresh</source> + <translation>Освежить</translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="56" /> + <source>Press to refresh the result display</source> + <translation>Освежить результаты</translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="75" /> + <source>Convention</source> + <translation>Соглашение</translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="76" /> + <source>Refactor</source> + <translation>Рефакторинг</translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="77" /> + <source>Warning</source> + <translation>Предупреждение</translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="78" /> + <source>Error</source> + <translation>Ошибка</translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="79" /> + <source>Fatal</source> + <translation>Критическая</translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="160" /> + <source>Process Generation Error</source> + <translation>Ошибка процесса генерации</translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="161" /> + <source>The process {0} could not be started. Ensure, that it is in the search path.</source> + <translation>Невозможно запустить процесс '{0}'. Убедитесь, что он находится в путях поиска.</translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="237" /> + <source>No PyLint errors found.</source> + <translation>Ошибки PyLint не найдены.</translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="423" /> + <location filename="../PyLintExecDialog.py" line="405" /> + <location filename="../PyLintExecDialog.py" line="389" /> + <source>PyLint Report</source> + <translation>Отчёт PyLint</translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="390" /> + <source><p>The PyLint report file <b>{0}</b> already exists.</p></source> + <translation><p>Файл отчёта PyLint <b>{0}</b> уже сущеструет.</p></translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="406" /> + <source><p>The PyLint report file <b>{0}</b> could not be written.<br>Reason: {1}</p></source> + <translation><p>Файл отчета PyLint <b>{0}</b> невозможно записать.<br>Причина: {1}</p></translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="416" /> + <source>HTML Files (*.html);;All Files (*)</source> + <translation>Файлы HTML (*.html);;Все файлы (*)</translation> + </message> + <message> + <location filename="../PyLintExecDialog.py" line="418" /> + <source>Report Files (*.rpt);;Text Files (*.txt);;All Files (*)</source> + <translation type="unfinished" /> + </message> + <message> + <location filename="../PyLintExecDialog.ui" line="0" /> + <source>PyLint Results</source> + <translation>Результаты PyLint</translation> + </message> + <message> + <location filename="../PyLintExecDialog.ui" line="0" /> + <source>Results</source> + <translation>Результаты</translation> + </message> + <message> + <location filename="../PyLintExecDialog.ui" line="0" /> + <source><b>PyLint Execution</b> +<p>This shows the results of the PyLint run.</p></source> + <translation><b>Выполнение PyLint</b> +<p>Отображает результаты выполнения PyLint.</p></translation> + </message> + <message> + <location filename="../PyLintExecDialog.ui" line="0" /> + <source>File/Line</source> + <translation>Файл/Строка</translation> + </message> + <message> + <location filename="../PyLintExecDialog.ui" line="0" /> + <source>Type</source> + <translation>Тип</translation> + </message> + <message> + <location filename="../PyLintExecDialog.ui" line="0" /> + <source>Message</source> + <translation>Сообщение</translation> + </message> + <message> + <location filename="../PyLintExecDialog.ui" line="0" /> + <source>Errors</source> + <translation>Ошибки</translation> + </message> + <message> + <location filename="../PyLintExecDialog.ui" line="0" /> + <source><b>PyLint Execution</b> +<p>This shows the errors of the PyLint run.</p></source> + <translation><b>Выполнение PyLint</b> +<p>Отображает ошибки выполнения PyLint.</p></translation> + </message> + <message> + <source>Text Files (*.txt);;All Files (*)</source> + <translation type="vanished">Текстовые файлы (*.txt);;Все файлы (*)</translation> + </message> + </context> + <context> + <name>PyLintPlugin</name> + <message> + <location filename="../../PluginPyLint.py" line="61" /> + <source>Checkers - Pylint</source> + <translation>Проверка кода - Pylint</translation> + </message> + <message> + <location filename="../../PluginPyLint.py" line="538" /> + <location filename="../../PluginPyLint.py" line="263" /> + <source>The pylint executable could not be found.</source> + <translation>Невозможно найти исполняемый файл pylint.</translation> + </message> + <message> + <location filename="../../PluginPyLint.py" line="476" /> + <location filename="../../PluginPyLint.py" line="357" /> + <location filename="../../PluginPyLint.py" line="325" /> + <source>Run PyLint</source> + <translation>Выполнить PyLint</translation> + </message> + <message> + <location filename="../../PluginPyLint.py" line="477" /> + <location filename="../../PluginPyLint.py" line="358" /> + <location filename="../../PluginPyLint.py" line="326" /> + <source>Run &PyLint...</source> + <translation>Выполнить &PyLint...</translation> + </message> + <message> + <location filename="../../PluginPyLint.py" line="329" /> + <source>Check project, packages or modules with pylint.</source> + <translation>Выполнить проверку проекта, пакетов или модулей посредством PyLint.</translation> + </message> + <message> + <location filename="../../PluginPyLint.py" line="479" /> + <location filename="../../PluginPyLint.py" line="330" /> + <source><b>Run PyLint...</b><p>This checks the project, packages or modules using pylint.</p></source> + <translation><b>Выполнить PyLint...</b><p>Проверить проект, пакеты или модули с помощью pylint.</p></translation> + </message> + <message> + <location filename="../../PluginPyLint.py" line="489" /> + <location filename="../../PluginPyLint.py" line="340" /> + <source>Show PyLint Dialog</source> + <translation>Отображение окна диалога PyLint</translation> + </message> + <message> + <location filename="../../PluginPyLint.py" line="490" /> + <location filename="../../PluginPyLint.py" line="341" /> + <source>Show Py&Lint Dialog...</source> + <translation>Показать результаты Py&Lint...</translation> + </message> + <message> + <location filename="../../PluginPyLint.py" line="343" /> + <source>Show the PyLint dialog with the results of the last run.</source> + <translation>Показать окно диалога PyLint с результатами последнего запуска.</translation> + </message> + <message> + <location filename="../../PluginPyLint.py" line="492" /> + <location filename="../../PluginPyLint.py" line="345" /> + <source><b>Show PyLint Dialog...</b><p>This shows the PyLint dialog with the results of the last run.</p></source> + <translation><b>Показать диалог PyLint...</b><p>Показать окно диалога PyLint с результатами последнего запуска.</p></translation> + </message> + <message> + <location filename="../../PluginPyLint.py" line="360" /> + <source><b>Run PyLint...</b><p>This checks the loaded module using pylint.</p></source> + <translation><b>Выполнить PyLint...</b><p>Проверить загруженный модуль посредством pylint.</p></translation> + </message> + <message> + <location filename="../../PluginPyLint.py" line="537" /> + <source>pylint</source> + <translation>pylint</translation> + </message> + <message> + <source>PyLint version < 0.23.0.</source> + <translation type="vanished">Версия PyLint < 0.23.0.</translation> + </message> + </context> +</TS>