Mon, 27 Mar 2017 19:10:33 +0200
Fixed some code style issues.
diff -r cf8b446f7691 -r 021ac1e44e32 ChangeLog --- a/ChangeLog Sat Dec 31 13:51:08 2016 +0100 +++ b/ChangeLog Mon Mar 27 19:10:33 2017 +0200 @@ -1,5 +1,8 @@ ChangeLog --------- +Version 2.0.5: +- bug fixes + Version 2.0.4: - updated Russian translations
diff -r cf8b446f7691 -r 021ac1e44e32 PluginTimeTracker.e4p --- a/PluginTimeTracker.e4p Sat Dec 31 13:51:08 2016 +0100 +++ b/PluginTimeTracker.e4p Mon Mar 27 19:10:33 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 PluginTimeTracker --> -<!-- Copyright (C) 2015 Detlev Offenbach, detlev@die-offenbachs.de --> +<!-- Copyright (C) 2017 Detlev Offenbach, detlev@die-offenbachs.de --> <Project version="5.1"> <Language>en</Language> <Hash>9af6dcaf8f823f072f714e662c15d44dfdecceab</Hash> @@ -14,44 +14,44 @@ <TranslationPattern>TimeTracker/i18n/timetracker_%language%.ts</TranslationPattern> <Eol index="1"/> <Sources> - <Source>__init__.py</Source> <Source>PluginTimeTracker.py</Source> - <Source>TimeTracker/__init__.py</Source> - <Source>TimeTracker/TimeTracker.py</Source> + <Source>TimeTracker/ConfigurationPage/TimeTrackerPage.py</Source> + <Source>TimeTracker/ConfigurationPage/__init__.py</Source> <Source>TimeTracker/TimeTrackEntry.py</Source> + <Source>TimeTracker/TimeTracker.py</Source> + <Source>TimeTracker/TimeTrackerEntryDialog.py</Source> <Source>TimeTracker/TimeTrackerWidget.py</Source> - <Source>TimeTracker/ConfigurationPage/__init__.py</Source> - <Source>TimeTracker/ConfigurationPage/TimeTrackerPage.py</Source> - <Source>TimeTracker/TimeTrackerEntryDialog.py</Source> + <Source>TimeTracker/__init__.py</Source> + <Source>__init__.py</Source> </Sources> <Forms> + <Form>TimeTracker/ConfigurationPage/TimeTrackerPage.ui</Form> <Form>TimeTracker/TimeTrackerEntryDialog.ui</Form> <Form>TimeTracker/TimeTrackerWidget.ui</Form> - <Form>TimeTracker/ConfigurationPage/TimeTrackerPage.ui</Form> </Forms> <Translations> + <Translation>TimeTracker/i18n/timetracker_de.qm</Translation> <Translation>TimeTracker/i18n/timetracker_de.ts</Translation> - <Translation>TimeTracker/i18n/timetracker_en.ts</Translation> - <Translation>TimeTracker/i18n/timetracker_es.ts</Translation> - <Translation>TimeTracker/i18n/timetracker_de.qm</Translation> <Translation>TimeTracker/i18n/timetracker_en.qm</Translation> + <Translation>TimeTracker/i18n/timetracker_en.ts</Translation> <Translation>TimeTracker/i18n/timetracker_es.qm</Translation> - <Translation>TimeTracker/i18n/timetracker_pt.ts</Translation> + <Translation>TimeTracker/i18n/timetracker_es.ts</Translation> <Translation>TimeTracker/i18n/timetracker_pt.qm</Translation> + <Translation>TimeTracker/i18n/timetracker_pt.ts</Translation> + <Translation>TimeTracker/i18n/timetracker_ru.qm</Translation> <Translation>TimeTracker/i18n/timetracker_ru.ts</Translation> - <Translation>TimeTracker/i18n/timetracker_ru.qm</Translation> </Translations> <Resources/> <Interfaces/> <Others> <Other>.hgignore</Other> <Other>ChangeLog</Other> + <Other>PKGLIST</Other> <Other>PluginTimeTracker.e4p</Other> + <Other>PluginTimeTracker.zip</Other> <Other>TimeTracker/Documentation/LICENSE.GPL3</Other> <Other>TimeTracker/Documentation/source</Other> - <Other>PKGLIST</Other> <Other>TimeTracker/icons/clock.png</Other> - <Other>PluginTimeTracker.zip</Other> </Others> <MainScript>PluginTimeTracker.py</MainScript> <Vcs> @@ -156,9 +156,6 @@ </value> </dict> </VcsOptions> - <VcsOtherData> - <dict/> - </VcsOtherData> </Vcs> <FiletypeAssociations> <FiletypeAssociation pattern="*.idl" type="INTERFACES"/> @@ -219,14 +216,6 @@ <bool>False</bool> </value> <key> - <string>sourceExtensions</string> - </key> - <value> - <list> - <string></string> - </list> - </value> - <key> <string>useRecursion</string> </key> <value> @@ -246,6 +235,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 +287,13 @@ <string>ExcludeFiles</string> </key> <value> - <string></string> + <string>*/Ui_*.py, */*_rc.py,</string> </value> <key> <string>ExcludeMessages</string> </key> <value> - <string>E24, 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 +308,12 @@ <bool>False</bool> </value> <key> + <string>FutureChecker</string> + </key> + <value> + <string>unicode_literals</string> + </value> + <key> <string>HangClosing</string> </key> <value> @@ -288,6 +326,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> @@ -305,6 +361,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>
diff -r cf8b446f7691 -r 021ac1e44e32 PluginTimeTracker.py --- a/PluginTimeTracker.py Sat Dec 31 13:51:08 2016 +0100 +++ b/PluginTimeTracker.py Mon Mar 27 19:10:33 2017 +0200 @@ -24,7 +24,7 @@ author = "Detlev Offenbach <detlev@die-offenbachs.de>" autoactivate = True deactivateable = True -version = "2.0.4" +version = "2.0.5" className = "TimeTrackerPlugin" packageName = "TimeTracker" shortDescription = "Time Tracker to keep track of the project time." @@ -220,3 +220,6 @@ """ Preferences.Prefs.settings.setValue( self.PreferencesKey + "/" + key, value) + +# +# eflag: noqa = M801
diff -r cf8b446f7691 -r 021ac1e44e32 PluginTimeTracker.zip Binary file PluginTimeTracker.zip has changed
diff -r cf8b446f7691 -r 021ac1e44e32 TimeTracker/Documentation/source/Plugin_Time_Tracker.TimeTracker.TimeTracker.html --- a/TimeTracker/Documentation/source/Plugin_Time_Tracker.TimeTracker.TimeTracker.html Sat Dec 31 13:51:08 2016 +0100 +++ b/TimeTracker/Documentation/source/Plugin_Time_Tracker.TimeTracker.TimeTracker.html Mon Mar 27 19:10:33 2017 +0200 @@ -288,7 +288,7 @@ with the longest duration is kept. </p><a NAME="TimeTracker.saveTrackerEntries" ID="TimeTracker.saveTrackerEntries"></a> <h4>TimeTracker.saveTrackerEntries</h4> -<b>saveTrackerEntries</b>(<i>filePath="", ids=[]</i>) +<b>saveTrackerEntries</b>(<i>filePath="", ids=None</i>) <p> Public slot to save the tracker entries to a file. </p><dl>
diff -r cf8b446f7691 -r 021ac1e44e32 TimeTracker/Documentation/source/Plugin_Time_Tracker.TimeTracker.TimeTrackerWidget.html --- a/TimeTracker/Documentation/source/Plugin_Time_Tracker.TimeTracker.TimeTrackerWidget.html Sat Dec 31 13:51:08 2016 +0100 +++ b/TimeTracker/Documentation/source/Plugin_Time_Tracker.TimeTracker.TimeTrackerWidget.html Mon Mar 27 19:10:33 2017 +0200 @@ -152,7 +152,7 @@ Private slot to edit the selected tracker entry. </p><a NAME="TimeTrackerWidget.__exportEntries" ID="TimeTrackerWidget.__exportEntries"></a> <h4>TimeTrackerWidget.__exportEntries</h4> -<b>__exportEntries</b>(<i>ids=[]</i>) +<b>__exportEntries</b>(<i>ids=None</i>) <p> Private method to export all or selected entries. </p><dl>
diff -r cf8b446f7691 -r 021ac1e44e32 TimeTracker/TimeTracker.py --- a/TimeTracker/TimeTracker.py Sat Dec 31 13:51:08 2016 +0100 +++ b/TimeTracker/TimeTracker.py Mon Mar 27 19:10:33 2017 +0200 @@ -165,7 +165,7 @@ """ have been discarded.</p>""", "", invalidCount).format(self.__trackerFilePath)) - def saveTrackerEntries(self, filePath="", ids=[]): + def saveTrackerEntries(self, filePath="", ids=None): """ Public slot to save the tracker entries to a file.
diff -r cf8b446f7691 -r 021ac1e44e32 TimeTracker/TimeTrackerWidget.py --- a/TimeTracker/TimeTrackerWidget.py Sat Dec 31 13:51:08 2016 +0100 +++ b/TimeTracker/TimeTrackerWidget.py Mon Mar 27 19:10:33 2017 +0200 @@ -255,7 +255,7 @@ self.__tracker.importTrackerEntries(fname) - def __exportEntries(self, ids=[]): + def __exportEntries(self, ids=None): """ Private method to export all or selected entries.