Fixed some code style issues. release-2.1.1

Thu, 30 Mar 2017 19:27:04 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Thu, 30 Mar 2017 19:27:04 +0200
changeset 42
f97a2aaeb66d
parent 41
dbdf7ebfbc6e
child 43
a92674b29114

Fixed some code style issues.

ChangeLog file | annotate | diff | comparison | revisions
PluginPrintRemover.py file | annotate | diff | comparison | revisions
PluginPrintRemover.zip file | annotate | diff | comparison | revisions
PrintRemover.e4p file | annotate | diff | comparison | revisions
--- a/ChangeLog	Sat Dec 31 13:51:24 2016 +0100
+++ b/ChangeLog	Thu Mar 30 19:27:04 2017 +0200
@@ -1,5 +1,8 @@
 ChangeLog
 ---------
+Version 2.1.1:
+- bug fixes
+
 Version 2.1.0:
 - adaptation for the new plug-in tools menu handling
 
--- a/PluginPrintRemover.py	Sat Dec 31 13:51:24 2016 +0100
+++ b/PluginPrintRemover.py	Thu Mar 30 19:27:04 2017 +0200
@@ -23,7 +23,7 @@
 author = "Detlev Offenbach <detlev@die-offenbachs.de>"
 autoactivate = True
 deactivateable = True
-version = "2.1.0"
+version = "2.1.1"
 className = "PrintRemoverPlugin"
 packageName = "PrintRemover"
 shortDescription = "Remove print() like debug statements."
@@ -331,3 +331,6 @@
             editor.selectAll()
             editor.replaceSelectedText(newText)
             editor.endUndoAction()
+
+#
+# eflag: noqa = M801
Binary file PluginPrintRemover.zip has changed
--- a/PrintRemover.e4p	Sat Dec 31 13:51:24 2016 +0100
+++ b/PrintRemover.e4p	Thu Mar 30 19:27:04 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 PrintRemover -->
-<!-- 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>d994091d1e81ad5afcdcbc00ecea86f23163c696</Hash>
@@ -14,39 +14,39 @@
   <TranslationPattern>PrintRemover/i18n/printremover_%language%.ts</TranslationPattern>
   <Eol index="1"/>
   <Sources>
-    <Source>__init__.py</Source>
     <Source>PluginPrintRemover.py</Source>
+    <Source>PrintRemover/ConfigurationPage/PrintRemoverPage.py</Source>
+    <Source>PrintRemover/ConfigurationPage/__init__.py</Source>
     <Source>PrintRemover/__init__.py</Source>
-    <Source>PrintRemover/ConfigurationPage/__init__.py</Source>
-    <Source>PrintRemover/ConfigurationPage/PrintRemoverPage.py</Source>
+    <Source>__init__.py</Source>
   </Sources>
   <Forms>
     <Form>PrintRemover/ConfigurationPage/PrintRemoverPage.ui</Form>
   </Forms>
   <Translations>
+    <Translation>PrintRemover/i18n/printremover_de.qm</Translation>
     <Translation>PrintRemover/i18n/printremover_de.ts</Translation>
-    <Translation>PrintRemover/i18n/printremover_en.ts</Translation>
-    <Translation>PrintRemover/i18n/printremover_es.ts</Translation>
-    <Translation>PrintRemover/i18n/printremover_de.qm</Translation>
     <Translation>PrintRemover/i18n/printremover_en.qm</Translation>
+    <Translation>PrintRemover/i18n/printremover_en.ts</Translation>
     <Translation>PrintRemover/i18n/printremover_es.qm</Translation>
-    <Translation>PrintRemover/i18n/printremover_pt.ts</Translation>
+    <Translation>PrintRemover/i18n/printremover_es.ts</Translation>
     <Translation>PrintRemover/i18n/printremover_pt.qm</Translation>
+    <Translation>PrintRemover/i18n/printremover_pt.ts</Translation>
+    <Translation>PrintRemover/i18n/printremover_ru.qm</Translation>
     <Translation>PrintRemover/i18n/printremover_ru.ts</Translation>
-    <Translation>PrintRemover/i18n/printremover_ru.qm</Translation>
   </Translations>
   <Resources/>
   <Interfaces/>
   <Others>
     <Other>.hgignore</Other>
+    <Other>ChangeLog</Other>
+    <Other>PKGLIST</Other>
+    <Other>PluginPrintRemover.zip</Other>
     <Other>PrintRemover.e4p</Other>
-    <Other>ChangeLog</Other>
     <Other>PrintRemover/Documentation/LICENSE.GPL3</Other>
     <Other>PrintRemover/Documentation/source</Other>
+    <Other>PrintRemover/icons/edit.png</Other>
     <Other>PrintRemover/icons/printRemover.png</Other>
-    <Other>PKGLIST</Other>
-    <Other>PluginPrintRemover.zip</Other>
-    <Other>PrintRemover/icons/edit.png</Other>
     <Other>PrintRemover/icons/separatorAdd.png</Other>
   </Others>
   <MainScript>PluginPrintRemover.py</MainScript>
@@ -152,9 +152,6 @@
         </value>
       </dict>
     </VcsOptions>
-    <VcsOtherData>
-      <dict/>
-    </VcsOtherData>
   </Vcs>
   <FiletypeAssociations>
     <FiletypeAssociation pattern="*.idl" type="INTERFACES"/>
@@ -218,14 +215,6 @@
               <bool>False</bool>
             </value>
             <key>
-              <string>sourceExtensions</string>
-            </key>
-            <value>
-              <list>
-                <string></string>
-              </list>
-            </value>
-            <key>
               <string>useRecursion</string>
             </key>
             <value>
@@ -245,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>
@@ -254,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>
@@ -275,6 +307,12 @@
               <bool>False</bool>
             </value>
             <key>
+              <string>FutureChecker</string>
+            </key>
+            <value>
+              <string>unicode_literals</string>
+            </value>
+            <key>
               <string>HangClosing</string>
             </key>
             <value>
@@ -287,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>
@@ -304,6 +360,18 @@
             <value>
               <bool>True</bool>
             </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>

eric ide

mercurial