Commit graph

30 commits

Author SHA1 Message Date
Laurent Bachelier
f4c17cdc9d pep8: Fix E303 too many blank lines 2014-10-11 02:15:28 +02:00
Laurent Bachelier
21e8f82fd7 pep8: Use "X not in Y" instead of "not X in Y"
flake8 --select E713, semi-manual fixing
2014-10-11 01:27:24 +02:00
Laurent Bachelier
448c06d125 pep8 blank lines fixes
flake8 --select W391,E302,E301,E304

autopep8 can't fix W391 even though it claims it can.
Fixed using a simple custom script.
2014-10-10 23:41:44 +02:00
Romain Bignon
f2c536ffc8 ability to set value to an empty string if it is available in choices 2014-09-15 09:45:48 +02:00
Florent
8a25c75999 Revert "be case insensitive on value choices (closes #1319)"
This reverts commit ebb87844f3.
2014-09-02 12:46:04 +02:00
Romain Bignon
ebb87844f3 be case insensitive on value choices (closes #1319) 2014-09-02 12:29:58 +02:00
Romain Bignon
5a6cdce345 fix unicode issues for values loaded from 'backends' config file 2014-05-19 09:20:34 +02:00
Romain Bignon
d9e33e50b8 strip password command output and take only the first line 2014-02-07 17:09:45 +01:00
Romain Bignon
b36daee5b1 prompt (beautifully) user during configuration of a backend 2014-01-24 00:39:43 +01:00
Romain Bignon
4dd2bbfb7b if value is a command, do not validate conditions 2014-01-23 23:36:32 +01:00
Florent
0e93b9ba38 Move the call to external command in Value.load 2014-01-23 23:36:32 +01:00
Pierre Mazière
987dd2ee1d more verbose report of an external command failure
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2014-01-23 23:36:32 +01:00
Pierre Mazière
c3a704be67 support for password retrieval from any cli tools
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2014-01-23 09:18:42 +01:00
Laurent Bachelier
381c5a3847 Order choices 2013-12-10 19:48:34 +01:00
Laurent Bachelier
c8b013be53 Better handling of "tiny" choices, allow forcing 2013-07-19 19:25:38 +02:00
Laurent Bachelier
5f9641e201 Fix doctest syntax
This also had the power to crash newer pyflakes releases.
2013-07-04 00:14:44 +02:00
Laurent Bachelier
512ac5ceaa Allow value if equals to default 2013-05-06 00:15:30 +02:00
Romain Bignon
0335020963 all string values are unicode 2013-04-01 17:01:29 +02:00
Laurent Bachelier
7094931c92 Easy spacing fixes, trailing stuff
Remove useless trailing \
Remove trailing spaces
Add missing empty lines

autopep8 -ir -j2 --select=E301,E302,E502,W291,W293,W391 .

Diff quickly checked.
2013-03-16 00:54:55 +01:00
Romain Bignon
8abfd81813 check value of ValueBackendPassword during load 2012-11-01 11:21:59 +01:00
Romain Bignon
7082571acf update code documentation 2012-04-01 17:41:20 +02:00
Romain Bignon
2421aa9d78 disable keyrings without warnings in pyflakes (refs #706) 2012-02-02 15:59:01 +01:00
Romain Bignon
cdf2e86b17 disable keyring (refs #706) 2011-10-10 11:26:39 +02:00
Romain Bignon
2a6ad71826 remove unused variable 2011-07-05 16:25:49 +02:00
Romain Bignon
aaa5b215ad python-keyring isn't a hard dependency 2011-07-04 14:52:13 +02:00
Romain Bignon
473d45f5f1 bank account IDs are also stored in keyring (closes #565) 2011-05-21 10:35:18 +02:00
Romain Bignon
67b795c585 add ValueBackendPassword which supports keyrings 2011-05-21 10:26:01 +02:00
Romain Bignon
7e2bb91b3b change license to AGPLv3+ 2011-04-08 12:48:07 +02:00
Christophe Benz
3dd50f363d remove unnecessary brackets 2010-12-08 18:10:42 +01:00
Romain Bignon
b34b6d7901 add Value* classes and ValuesDict as OrderedDict container 2010-10-26 20:58:32 +02:00