Laurent Bachelier
1025f71eb9
pyflakes.sh: Ban more stuff
2013-07-27 15:17:47 +02:00
Laurent Bachelier
a6ad7e83ff
Use newer form of catching exceptions
...
autopep8 -i --select=W602
Also some other minor deprecated syntax changes, like "while 1".
I did not commit the less obvious changes.
2013-07-27 15:16:16 +02:00
Laurent Bachelier
fb1b8bc5b8
Remove some from __future__, forbid 2.5 in setup
2013-07-27 14:58:19 +02:00
Laurent Bachelier
db9f2d6d73
Tools to easily get the CERTHASH
2013-07-23 20:25:51 +02:00
Laurent Bachelier
2baf4ad2e9
Add default license
2013-07-23 20:25:51 +02:00
Christophe Lampin
81c1e65092
add lines number
...
Signed-off-by: Christophe Lampin <weboob@lampin.net>
2013-07-23 13:11:49 +02:00
Laurent Bachelier
b55dbe04fc
Update flake8 support, stop workaround for modern pyflakes
...
And use exec to capture the real return code.
2013-07-21 03:46:25 +02:00
Laurent Bachelier
216ba19e6a
Ban setlocale
2013-07-21 00:40:49 +02:00
Laurent Bachelier
0441381212
local_run: Allow overriding WEBOOB_BACKENDS
2013-07-19 19:25:38 +02:00
Laurent Bachelier
9d9daa0f75
Fix encoding issues of boilerplate.py
...
* Allow writing a file that has unicode characters
* Allow unicode parameters in the command line (author in git config was
fine, but not on command-line)
2013-07-19 19:25:38 +02:00
Laurent Bachelier
751ddeeab6
No deps by default on local install
2013-06-27 14:09:39 +02:00
Laurent Bachelier
799e051285
Fix bash completion
...
* Add files to the possibilities (needed at least for pastoob).
For now show them only if nothing else matches.
* Remove useless "$have" test that failed every time
* Forget fake "hash" after running
* Simpler code overall
2013-06-26 23:52:19 +02:00
Laurent Bachelier
1df3cb78ef
Allow complete paths for script
...
This allows running any weboob script, not only those in scripts/
2013-05-14 10:39:03 +02:00
Laurent Bachelier
c58fdf786c
Remove stale .pyc files before tests and local run
...
This should make running tests faster, as we do not remove all .pyc
files anymore!
2013-04-10 17:40:22 +02:00
Laurent Bachelier
11ed593880
Faster walk by excluding some directories
2013-04-10 17:40:22 +02:00
Laurent Bachelier
133c83ed8e
Tools to remove stale pyc files
2013-04-10 17:40:22 +02:00
Laurent Bachelier
be28378e9a
local_run: Do not capture stderr
2013-04-09 22:32:29 +02:00
Laurent Bachelier
0aa4fd3ede
Use only tracked Python files
2013-04-05 18:57:22 +02:00
Laurent Bachelier
bbe4473ac4
Do not copy the backends file
2013-04-05 18:50:39 +02:00
Laurent Bachelier
a99b1ce73d
More code quality checks
2013-04-03 19:04:55 +02:00
Laurent Bachelier
5a9bedf423
Fix missing bumps to 0.g
2013-03-27 20:10:01 +01:00
Laurent Bachelier
7b53583357
Fix local_run with empty localconfig
2013-03-25 11:10:38 +01:00
Laurent Bachelier
64119bc03f
Add local_install / local_run tools
2013-03-25 11:10:38 +01:00
Laurent Bachelier
1574bd1118
Add weboob_lint wrapper
...
Like make_man, enforce usage of all modules.
2013-03-25 11:10:38 +01:00
Laurent Bachelier
438d0d0814
Fix pyreverse for new module style
...
Not sure anyone uses it, though.
2013-03-25 11:10:38 +01:00
Laurent Bachelier
808025819d
Not used, setup.py installs them
2013-03-25 11:10:38 +01:00
Laurent Bachelier
83596b3d2a
Support more distros / prefer 2.7
2013-03-25 11:10:38 +01: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
Laurent Bachelier
dcb2b61b18
pyflakes fixes for unchecked files
...
They were not in the tools/pyflakes.sh runs
2013-03-16 00:52:43 +01:00
Laurent Bachelier
89f4d7e905
Tell groff manpages are utf-8
...
This should fix the display of manpages with accents (mainly boobank).
2013-03-09 15:14:46 +01:00
Laurent Bachelier
f0828ee24b
Ignore Qt generated UI files
2013-03-09 14:57:08 +01:00
Romain Bignon
329bf19905
add 'test.py' to be generated by the 'base' recipe
2013-02-14 23:34:26 +01:00
Laurent Bachelier
60197c4e96
No DOMAIN in backend
2013-02-14 23:06:05 +01:00
Laurent Bachelier
ae06ae3384
Add missing "whatis entry" to man pages
...
This is recommended by Debian.
closes #618
2013-02-13 00:38:33 +01:00
Laurent Bachelier
690747dbf2
Not useful anymore
2013-02-13 00:08:23 +01:00
Laurent Bachelier
589dac7bf0
boilerplate: Fix missing use of the class name
2013-02-08 14:22:45 +01:00
Laurent Bachelier
2eed02568b
boilerplate: Use unicode by default for some fields
2013-02-07 14:30:25 +01:00
Laurent Bachelier
73d93f2d09
Make the "base" recipe more complete
2013-02-07 14:22:13 +01:00
Laurent Bachelier
32d7b53e63
Start a "base" recipe
...
This probably needs to have a "pages" templates too.
2013-02-07 14:22:13 +01:00
Laurent Bachelier
1162aa2fd7
Remove gen_comic_reader.sh
...
Replaced by tools/boilerplate.py
The templates in it are outdated (the test import for example),
hard to maintain, and do not follow PEP8.
Also, boilerplate.py already sets more fields.
2013-02-07 14:22:12 +01:00
Laurent Bachelier
a913072596
Add basic boilerplate script
...
With the comic templates from tools/gen_comic_reader.sh
2013-02-07 14:22:12 +01:00
Laurent Bachelier
c64fb9150e
Support systems with flake8 for python3 by default
2012-12-19 15:12:18 +01:00
Noé Rubinstein
117c9a24d5
gen_comic_reader: path to modules has changed
2012-12-06 23:25:38 +01:00
Laurent Bachelier
541d080c9d
Use flake8 if available instead of pyflakes
...
With flake8, we can check for more issues and ignore those who are not
real issues.
This allowed me to find genuine errors in:
- modules/boursorama/pages/account_history.py
- modules/ing/pages/login.py
- weboob/tools/application/qt/qt.py
I left one in weboob/tools/browser/browser.py for the time being.
Some PEP8 fixes on other files.
2012-11-24 19:46:34 +01:00
Laurent Bachelier
e7c8e8c772
tests: Use the guessed nosetests for the core tests too
2012-11-11 05:20:30 +01:00
Laurent Bachelier
73443ebe31
tests: Guess the right builder name
...
when run by buildslaves
2012-11-11 05:17:11 +01:00
Laurent Bachelier
da655d84d1
tests: Better way of handling non-module tests
...
Some were not caught, and they were ran even for a single-module test.
Also, don't include them in the report.
2012-11-10 18:18:32 +01:00
Laurent Bachelier
c9683e08ae
tests: Save and submit test results
...
There is no processing of the reports for now,
but the submit part is done.
2012-11-10 18:18:31 +01:00
Romain Bignon
9f3603d80f
use 'hash' instead of 'have' ( closes #905 )
2012-10-27 13:25:37 +02:00
Romain Bignon
ff2198cd8a
remove unused import
2012-10-27 11:21:41 +02:00