Sat, 31 Mar 2018 13:02:51 +0200
Adjusted the code style checking parameters and fixed some code style issues.
PluginPyLint.e4p | file | annotate | diff | comparison | revisions | |
PluginPyLint.py | file | annotate | diff | comparison | revisions | |
PyLint/PyLintConfigDialog.py | file | annotate | diff | comparison | revisions |
--- a/PluginPyLint.e4p Wed Feb 21 10:16:43 2018 +0100 +++ b/PluginPyLint.e4p Sat Mar 31 13:02:51 2018 +0200 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE Project SYSTEM "Project-5.1.dtd"> <!-- eric project file for project PluginPyLint --> -<!-- Copyright (C) 2017 Detlev Offenbach, detlev@die-offenbachs.de --> +<!-- Copyright (C) 2018 Detlev Offenbach, detlev@die-offenbachs.de --> <Project version="5.1"> <Language>en_US</Language> <Hash>abcf6641287ab95ca3df062cd9840dd92df2e42f</Hash> @@ -38,8 +38,6 @@ <Translation>PyLint/i18n/pylint_ru.qm</Translation> <Translation>PyLint/i18n/pylint_ru.ts</Translation> </Translations> - <Resources/> - <Interfaces/> <Others> <Other>.hgignore</Other> <Other>ChangeLog</Other> @@ -296,7 +294,7 @@ <string>ExcludeMessages</string> </key> <value> - <string>C101, E265, E266, E305, E402, M811, N802, N803, N807, N808, N821, W293</string> + <string>C101, E265, E266, E305, E402, M811, N802, N803, N807, N808, N821, W293, M201</string> </value> <key> <string>FixCodes</string>
--- a/PluginPyLint.py Wed Feb 21 10:16:43 2018 +0100 +++ b/PluginPyLint.py Sat Mar 31 13:02:51 2018 +0200 @@ -193,7 +193,8 @@ pylintScript = 'pylint' scriptSuffixes = ["", "-python{0}".format(majorVersion), - "{0}".format(majorVersion),] + "{0}".format(majorVersion), + ] for minorVersion in minorVersions: scriptSuffixes.append( "-python{0}.{1}".format(majorVersion, minorVersion))
--- a/PyLint/PyLintConfigDialog.py Wed Feb 21 10:16:43 2018 +0100 +++ b/PyLint/PyLintConfigDialog.py Sat Mar 31 13:02:51 2018 +0200 @@ -57,8 +57,7 @@ # combine it with the values of parms if parms is not None: - for key, value in parms.items(): - self.parameters[key] = parms[key] + self.parameters.update(parms) self.configfileCompleter = E5FileCompleter(self.configfileEdit) self.reportfileCompleter = E5FileCompleter(self.reportfileEdit)