Commit graph

14 commits

Author SHA1 Message Date
Alan Hamlett
5d37335b37 one-line if for returning project name 2016-08-31 14:52:05 +02:00
Alan Hamlett
8ef87d0393 test for index error on project map replacement regex groups 2016-08-31 14:49:01 +02:00
Alan Hamlett
5207dc68ee remove pragma nocover 2016-07-06 17:36:22 +02:00
Alan Hamlett
615fa5cdac support regex patterns in projectmap config section 2016-04-18 21:34:00 +02:00
Alan Hamlett
edb1dab9a8 increase test coverage 2015-09-07 20:57:21 -07:00
Alan Hamlett
4bad3541d9 new compat file for python2 and python3 compatibility. read files as utf-8. 2014-09-30 09:09:30 -07:00
Alan Hamlett
e392ff6e77 namespace logger to prevent conflicts with other plugins 2014-07-25 00:59:25 -07:00
Alan Hamlett
eb479efa52 define unicode as str for Python3 2014-01-15 16:41:35 -08:00
Alan Hamlett
05ced3dbc0 update description with example of using projectmap config section 2013-12-13 15:02:44 +01:00
Alan Hamlett
297ebb902b updates to project plugins:
- force projects to return unicode names and branches, or None
 - refactor ProjectMap to set project name from cfg file
 - pass configs to find_project() as dict from plugin's cfg section
 - clean up git project class

updates to config file:

 - rename ~/.wakatime.conf to ~/.wakatime.cfg
 - better error handling while parsing and getting configs
 - no longer need to set defaults when parsing config file
 - use configparser for python3 when python2 import fails
2013-12-13 14:46:39 +01:00
3onyc
b75570a589 Fix ProjectMap always returning true if it has a config section 2013-12-12 10:09:14 +01:00
3onyc
5b9eb937ff Rename config to settings in BaseProject 2013-12-11 15:13:40 +01:00
3onyc
a4913289ce Make ProjectMap use config section 2013-12-10 13:46:56 +01:00
3onyc
81fe41409a Implement ProjectMap plugin 2013-12-10 13:46:56 +01:00