Fixed some code style issues. release-2.0.3

Fri, 31 Mar 2017 18:15:26 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Fri, 31 Mar 2017 18:15:26 +0200
changeset 28
31ec0c818335
parent 27
3583168da814
child 29
79dec219bb05

Fixed some code style issues.

ChangeLog file | annotate | diff | comparison | revisions
PluginWizardDataUriEncoder.e4p file | annotate | diff | comparison | revisions
PluginWizardDataUriEncoder.py file | annotate | diff | comparison | revisions
PluginWizardDataUriEncoder.zip file | annotate | diff | comparison | revisions
WizardDataUriEncoder/DataUriEncoderWizardDialog.py file | annotate | diff | comparison | revisions
--- a/ChangeLog	Sat Dec 31 13:51:47 2016 +0100
+++ b/ChangeLog	Fri Mar 31 18:15:26 2017 +0200
@@ -1,5 +1,8 @@
 ChangeLog
 ---------
+Version 2.0.3:
+- bug fixes
+
 Version 2.0.2:
 - updated Russian translations
 
--- a/PluginWizardDataUriEncoder.e4p	Sat Dec 31 13:51:47 2016 +0100
+++ b/PluginWizardDataUriEncoder.e4p	Fri Mar 31 18:15:26 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 PluginWizardDataUriEncoder -->
-<!-- Copyright (C) 2014 Detlev Offenbach, detlevqdie-offenbachs.de -->
+<!-- Copyright (C) 2017 Detlev Offenbach, detlevqdie-offenbachs.de -->
 <Project version="5.1">
   <Language>en_US</Language>
   <Hash>2144bd61ef339d39bc1790af5e236aaa2a8828ac</Hash>
@@ -14,34 +14,34 @@
   <TranslationPattern>WizardDataUriEncoder/i18n/datauriencoder_%language%.ts</TranslationPattern>
   <Eol index="1"/>
   <Sources>
+    <Source>PluginWizardDataUriEncoder.py</Source>
+    <Source>WizardDataUriEncoder/DataUriEncoderWizardDialog.py</Source>
+    <Source>WizardDataUriEncoder/__init__.py</Source>
     <Source>__init__.py</Source>
-    <Source>PluginWizardDataUriEncoder.py</Source>
-    <Source>WizardDataUriEncoder/__init__.py</Source>
-    <Source>WizardDataUriEncoder/DataUriEncoderWizardDialog.py</Source>
   </Sources>
   <Forms>
     <Form>WizardDataUriEncoder/DataUriEncoderWizardDialog.ui</Form>
   </Forms>
   <Translations>
-    <Translation>WizardDataUriEncoder/i18n/datauriencoder_en.ts</Translation>
+    <Translation>WizardDataUriEncoder/i18n/datauriencoder_de.qm</Translation>
     <Translation>WizardDataUriEncoder/i18n/datauriencoder_de.ts</Translation>
-    <Translation>WizardDataUriEncoder/i18n/datauriencoder_es.ts</Translation>
     <Translation>WizardDataUriEncoder/i18n/datauriencoder_en.qm</Translation>
-    <Translation>WizardDataUriEncoder/i18n/datauriencoder_de.qm</Translation>
+    <Translation>WizardDataUriEncoder/i18n/datauriencoder_en.ts</Translation>
     <Translation>WizardDataUriEncoder/i18n/datauriencoder_es.qm</Translation>
+    <Translation>WizardDataUriEncoder/i18n/datauriencoder_es.ts</Translation>
+    <Translation>WizardDataUriEncoder/i18n/datauriencoder_ru.qm</Translation>
     <Translation>WizardDataUriEncoder/i18n/datauriencoder_ru.ts</Translation>
-    <Translation>WizardDataUriEncoder/i18n/datauriencoder_ru.qm</Translation>
   </Translations>
   <Resources/>
   <Interfaces/>
   <Others>
     <Other>.hgignore</Other>
+    <Other>ChangeLog</Other>
+    <Other>PKGLIST</Other>
     <Other>PluginWizardDataUriEncoder.e4p</Other>
+    <Other>PluginWizardDataUriEncoder.zip</Other>
     <Other>WizardDataUriEncoder/Documentation/LICENSE.GPL3</Other>
-    <Other>ChangeLog</Other>
     <Other>WizardDataUriEncoder/Documentation/source</Other>
-    <Other>PKGLIST</Other>
-    <Other>PluginWizardDataUriEncoder.zip</Other>
   </Others>
   <MainScript>PluginWizardDataUriEncoder.py</MainScript>
   <Vcs>
@@ -146,9 +146,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>
--- a/PluginWizardDataUriEncoder.py	Sat Dec 31 13:51:47 2016 +0100
+++ b/PluginWizardDataUriEncoder.py	Fri Mar 31 18:15:26 2017 +0200
@@ -23,7 +23,7 @@
 author = "Detlev Offenbach <detlev@die-offenbachs.de>"
 autoactivate = True
 deactivateable = True
-version = "2.0.2"
+version = "2.0.3"
 className = "WizardDataUriEncoderPlugin"
 packageName = "WizardDataUriEncoder"
 shortDescription = "Wizard for the creation of code for a base64 data URI."
@@ -152,3 +152,6 @@
                     editor.beginUndoAction()
                     editor.insertAt(code, line, index)
                     editor.endUndoAction()
+
+#
+# eflag: noqa = M801
Binary file PluginWizardDataUriEncoder.zip has changed
--- a/WizardDataUriEncoder/DataUriEncoderWizardDialog.py	Sat Dec 31 13:51:47 2016 +0100
+++ b/WizardDataUriEncoder/DataUriEncoderWizardDialog.py	Fri Mar 31 18:15:26 2017 +0200
@@ -1,5 +1,8 @@
 # -*- coding: utf-8 -*-
 
+# Copyright (c) 2013 - 2017 Detlev Offenbach <detlev@die-offenbachs.de>
+#
+
 """
 Module implementing the base64 data URI encoder wizard dialog.
 """

eric ide

mercurial