Commit graph

133 commits

Author SHA1 Message Date
Laurent Bachelier
9ccc3eb338 Get absolute path without readlink
Because of BSD.
2013-08-12 15:32:09 +02:00
Florent
9b022b2ebe bump to 0.h 2013-08-03 14:31:13 +02:00
Laurent Bachelier
230e9bba59 run_tests: Force copied name to be "backends"
It would cause issues if we had a different filename for WEBOOB_BACKENDS.
2013-08-03 13:31:03 +02:00
Romain Bignon
eba6f828e3 fix encoding issue 2013-08-03 12:31:22 +02:00
Laurent Bachelier
2acb5a586d Disable colors while making manpages 2013-08-03 01:19:05 +02:00
Florent
5dc8438366 Revert "Fix encoding error in make_man"
This reverts commit fc9a503f6c.
It breaks manpage
2013-08-02 23:36:18 +02:00
Florent
7e6c4f0bf9 Use C local 2013-08-02 23:34:20 +02:00
Florent
fc9a503f6c Fix encoding error in make_man 2013-08-02 23:20:45 +02:00
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