Fixed some code style issues. release-1.1.3

Tue, 28 Mar 2017 19:33:41 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Tue, 28 Mar 2017 19:33:41 +0200
changeset 22
0da9392cdde8
parent 21
d72188f9ad6e
child 23
591d7fb4d802

Fixed some code style issues.

ChangeLog file | annotate | diff | comparison | revisions
PluginProjectWeb.py file | annotate | diff | comparison | revisions
PluginProjectWeb.zip file | annotate | diff | comparison | revisions
PluginWeb.e4p file | annotate | diff | comparison | revisions
--- a/ChangeLog	Sat Dec 31 13:51:00 2016 +0100
+++ b/ChangeLog	Tue Mar 28 19:33:41 2017 +0200
@@ -1,16 +1,19 @@
 ChangeLog
 ---------
-Version 1.1.2
+Version 1.1.3:
+- bug fixes
+
+Version 1.1.2:
 - updated Russian translations
 
-Version 1.1.1
+Version 1.1.1:
 - added Russian and Spanish translations
 
-Version 1.1.0
+Version 1.1.0:
 - adaptation for the new plug-in tools menu handling
 
-Version 1.0.0
+Version 1.0.0:
 - first stable release
 
-Version 0.1.0
+Version 0.1.0:
 - first development release
--- a/PluginProjectWeb.py	Sat Dec 31 13:51:00 2016 +0100
+++ b/PluginProjectWeb.py	Tue Mar 28 19:33:41 2017 +0200
@@ -153,7 +153,7 @@
             if loc and loc != "C":
                 locale_dir = os.path.join(
                     os.path.dirname(__file__), "ProjectWeb", "i18n")
-                translation = "web_%s" % loc
+                translation = "web_{0}".format(loc)
                 translator = QTranslator(None)
                 loaded = translator.load(translation, locale_dir)
                 if loaded:
@@ -329,3 +329,6 @@
             editor.endUndoAction()
             
             editor.setCursorPosition(cursorLine, cursorIndex)
+
+#
+# eflag: noqa = M801
Binary file PluginProjectWeb.zip has changed
--- a/PluginWeb.e4p	Sat Dec 31 13:51:00 2016 +0100
+++ b/PluginWeb.e4p	Tue Mar 28 19:33:41 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 PluginWeb -->
-<!-- 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>b8ec8ccc0a087e55bdb7879c78b018b43ce2c6ed</Hash>
@@ -152,9 +152,6 @@
         </value>
       </dict>
     </VcsOptions>
-    <VcsOtherData>
-      <dict/>
-    </VcsOtherData>
   </Vcs>
   <FiletypeAssociations>
     <FiletypeAssociation pattern="*.idl" type="INTERFACES"/>
@@ -242,6 +239,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>
@@ -251,13 +291,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,E265</string>
+              <string>C101, E265, E266, E305, E402, M811, N802, N803, N807, N808, N821, W293</string>
             </value>
             <key>
               <string>FixCodes</string>
@@ -272,6 +312,12 @@
               <bool>False</bool>
             </value>
             <key>
+              <string>FutureChecker</string>
+            </key>
+            <value>
+              <string>unicode_literals</string>
+            </value>
+            <key>
               <string>HangClosing</string>
             </key>
             <value>
@@ -284,6 +330,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>
@@ -307,6 +371,12 @@
             <value>
               <bool>False</bool>
             </value>
+            <key>
+              <string>ValidEncodings</string>
+            </key>
+            <value>
+              <string>latin-1, utf-8</string>
+            </value>
           </dict>
         </value>
       </dict>

eric ide

mercurial