Thu, 30 Mar 2017 19:32:08 +0200
Fixed some code style issues.
--- a/ChangeLog Sat Dec 31 13:51:30 2016 +0100 +++ b/ChangeLog Thu Mar 30 19:32:08 2017 +0200 @@ -1,5 +1,8 @@ ChangeLog --------- +Version 2.1.3: +- bug fixes + Version 2.1.2: - updated Russian translations
--- a/PluginSelectionEncloser.py Sat Dec 31 13:51:30 2016 +0100 +++ b/PluginSelectionEncloser.py Thu Mar 30 19:32:08 2017 +0200 @@ -24,7 +24,7 @@ author = "Detlev Offenbach <detlev@die-offenbachs.de>" autoactivate = True deactivateable = True -version = "2.1.2" +version = "2.1.3" className = "SelectionEncloserPlugin" packageName = "SelectionEncloser" shortDescription = "Enclose the selection with a string." @@ -363,3 +363,6 @@ editor.beginUndoAction() editor.replaceSelectedText(newText) editor.endUndoAction() + +# +# eflag: noqa = M801
--- a/SelectionEncloser.e4p Sat Dec 31 13:51:30 2016 +0100 +++ b/SelectionEncloser.e4p Thu Mar 30 19:32:08 2017 +0200 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE Project SYSTEM "Project-5.1.dtd"> <!-- eric project file for project SelectionEncloser --> -<!-- Copyright (C) 2015 Detlev Offenbach, detlev@die-offenbachs.de --> +<!-- Copyright (C) 2017 Detlev Offenbach, detlev@die-offenbachs.de --> <Project version="5.1"> <Language>en_US</Language> <Hash>91f365d0cd272c85920259a5767cf6213841f57c</Hash> @@ -12,43 +12,42 @@ <Author>Detlev Offenbach</Author> <Email>detlev@die-offenbachs.de</Email> <TranslationPattern>SelectionEncloser/i18n/selectionencloser_%language%.ts</TranslationPattern> - <Eol index="-1"/> <Sources> - <Source>__init__.py</Source> <Source>PluginSelectionEncloser.py</Source> - <Source>SelectionEncloser/__init__.py</Source> + <Source>SelectionEncloser/ConfigurationPage/SelectionEncloserEditDialog.py</Source> + <Source>SelectionEncloser/ConfigurationPage/SelectionEncloserPage.py</Source> <Source>SelectionEncloser/ConfigurationPage/__init__.py</Source> - <Source>SelectionEncloser/ConfigurationPage/SelectionEncloserPage.py</Source> - <Source>SelectionEncloser/ConfigurationPage/SelectionEncloserEditDialog.py</Source> + <Source>SelectionEncloser/__init__.py</Source> + <Source>__init__.py</Source> </Sources> <Forms> + <Form>SelectionEncloser/ConfigurationPage/SelectionEncloserEditDialog.ui</Form> <Form>SelectionEncloser/ConfigurationPage/SelectionEncloserPage.ui</Form> - <Form>SelectionEncloser/ConfigurationPage/SelectionEncloserEditDialog.ui</Form> </Forms> <Translations> - <Translation>SelectionEncloser/i18n/selectionencloser_en.ts</Translation> - <Translation>SelectionEncloser/i18n/selectionencloser_es.ts</Translation> + <Translation>SelectionEncloser/i18n/selectionencloser_de.qm</Translation> <Translation>SelectionEncloser/i18n/selectionencloser_de.ts</Translation> <Translation>SelectionEncloser/i18n/selectionencloser_en.qm</Translation> - <Translation>SelectionEncloser/i18n/selectionencloser_de.qm</Translation> + <Translation>SelectionEncloser/i18n/selectionencloser_en.ts</Translation> <Translation>SelectionEncloser/i18n/selectionencloser_es.qm</Translation> + <Translation>SelectionEncloser/i18n/selectionencloser_es.ts</Translation> + <Translation>SelectionEncloser/i18n/selectionencloser_ru.qm</Translation> <Translation>SelectionEncloser/i18n/selectionencloser_ru.ts</Translation> - <Translation>SelectionEncloser/i18n/selectionencloser_ru.qm</Translation> </Translations> <Resources/> <Interfaces/> <Others> <Other>.hgignore</Other> - <Other>SelectionEncloser/icons/selectionEncloser.png</Other> - <Other>SelectionEncloser/icons/topAdd.png</Other> + <Other>ChangeLog</Other> + <Other>PKGLIST</Other> + <Other>PluginSelectionEncloser.zip</Other> <Other>SelectionEncloser.e4p</Other> <Other>SelectionEncloser/Documentation/LICENSE.GPL3</Other> - <Other>ChangeLog</Other> + <Other>SelectionEncloser/Documentation/source</Other> <Other>SelectionEncloser/icons/edit.png</Other> - <Other>SelectionEncloser/Documentation/source</Other> - <Other>PKGLIST</Other> - <Other>PluginSelectionEncloser.zip</Other> + <Other>SelectionEncloser/icons/selectionEncloser.png</Other> <Other>SelectionEncloser/icons/separatorAdd.png</Other> + <Other>SelectionEncloser/icons/topAdd.png</Other> </Others> <MainScript>PluginSelectionEncloser.py</MainScript> <Vcs> @@ -153,9 +152,6 @@ </value> </dict> </VcsOptions> - <VcsOtherData> - <dict/> - </VcsOtherData> </Vcs> <FiletypeAssociations> <FiletypeAssociation pattern="*.idl" type="INTERFACES"/> @@ -219,14 +215,6 @@ <bool>False</bool> </value> <key> - <string>sourceExtensions</string> - </key> - <value> - <list> - <string></string> - </list> - </value> - <key> <string>useRecursion</string> </key> <value> @@ -246,6 +234,49 @@ <value> <dict> <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>CopyrightAuthor</string> + </key> + <value> + <string></string> + </value> + <key> + <string>CopyrightMinFileSize</string> + </key> + <value> + <int>0</int> + </value> + <key> <string>DocstringType</string> </key> <value> @@ -255,13 +286,13 @@ <string>ExcludeFiles</string> </key> <value> - <string>*/Ui_*.py</string> + <string>*/Ui_*.py, */*_rc.py</string> </value> <key> <string>ExcludeMessages</string> </key> <value> - <string>W293, N802, N803, N807, N808, N821</string> + <string>C101, E265, E266, E305, E402, M811, N802, N803, N807, N808, N821, W293</string> </value> <key> <string>FixCodes</string> @@ -276,6 +307,12 @@ <bool>False</bool> </value> <key> + <string>FutureChecker</string> + </key> + <value> + <string>unicode_literals</string> + </value> + <key> <string>HangClosing</string> </key> <value> @@ -288,6 +325,24 @@ <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>MaxLineLength</string> </key> <value> @@ -311,6 +366,12 @@ <value> <bool>False</bool> </value> + <key> + <string>ValidEncodings</string> + </key> + <value> + <string>latin-1, utf-8</string> + </value> </dict> </value> </dict>