Skip to content
  1. Jan 28, 2017
  2. Jan 16, 2017
  3. Jan 13, 2017
  4. Jan 08, 2017
  5. Dec 29, 2016
    • Florent Fourcot's avatar
      boilerplate: don't add a failing test by default · 72d2543a
      Florent Fourcot authored
      That is probably good to create a test file, but in introduces a lot of
      false positive. With this patch, new module will be marked as « working
      » by default, but that is probably better than « not working ».
      
      Thanks to the coverage, we should be able to find this kind of
      non-tested modules
      72d2543a
  6. Dec 24, 2016
    • Phyks (Lucas Verney)'s avatar
      6f700b99
    • Phyks (Lucas Verney)'s avatar
      Work on Weboob linting · 35408601
      Phyks (Lucas Verney) authored
      * Sort alphabetically modules in weboob linting script
      * Remove btdigg module, as btdigg website is dead.
      * Add icons for all modules with a missing icon.
      * Add some unittests for LDLC.
      35408601
    • Phyks (Lucas Verney)'s avatar
      Gitlab-CI continuous integration · 434c0f15
      Phyks (Lucas Verney) authored
      This commit adds the necessary files to run the CI using Gitlab-CI. For
      now, it checks that Weboob builds, then runs the linting script
      (checking that every module as an icon and some tests + PyFlakes) and
      the unittests. Most of modules unittests cannot run because there is no
      backend configured.
      
      Some changes were needed in the pre-existing scripts:
      * Edit `weboob_lint` to exit with non-zero code if it finds modules
      without icons or tests, so that the build could fail in such a case.
      * Edit `run_tests.sh` to set correct exit code on failure and rework
      generation of XUNIT output. Also added some doc about useful environment
      variables. Added a way to generate an xunit output file when running modules
      unittests, passing a `XUNIT_OUT` env variable to `run_tests.sh` script.
      * Modification of `setup.cfg` and `run_tests` scripts to handle code
      coverage generation. The matching regex in Gitlab for the total code
      coverage is `TOTAL: (\d+\%\s*)$)`.
      
      I also added a script to generate a JSON module status matrix from
      modules unittests, ready to be sent to a
      [Weboob-CI](https://github.com/Phyks/weboob-ci) instance.
      
      NOTE: Required Python modules are taken from the `setup.py` script.
      `.ci/requirements.txt` contains the requirements to run the unittests
      and the CI, whereas `.ci/requirements_modules.txt` contains the specific
      Python modules required at runtime by Weboob modules. The latter could
      eventually be replaced by a proper call to `debpydep` script.
      434c0f15
  7. Nov 14, 2016
  8. Oct 25, 2016
  9. Oct 01, 2016
  10. Aug 28, 2016
  11. Feb 17, 2016
  12. Feb 12, 2016
  13. Feb 11, 2016
  14. Jan 17, 2016
  15. Jul 17, 2015
  16. Feb 27, 2015
    • Matthieu Weber's avatar
      tools/local_run.sh: ignore $HOME/.local · 8103add2
      Matthieu Weber authored
      
      
      When installing weboob in $HOME, the weboob base modules (weboob.browser...)
      are installed in $HOME/.local/lib/python2.7/site-packages/... (see PEP-370).
      When running weboob from the source directory with tools/local_run.sh, those
      base modules are read from $HOME/.local instead of the source directory.
      Passing the "-s" option to python makes it ignore $HOME/.local and read the
      base modules from the source directory.
      
      Signed-off-by: default avatarMatthieu Weber <mweber+weboob@free.fr>
      8103add2
  17. Nov 28, 2014
  18. Nov 18, 2014
  19. Nov 16, 2014
  20. Oct 17, 2014
  21. Oct 11, 2014
  22. Oct 10, 2014
    • Laurent Bachelier's avatar
      pep8 fixes, modernizations · 6161a0aa
      Laurent Bachelier authored
      autopep8 -a -r -i --select E711,E712,W601,W602,W603,W604,W690,E304,E401,E502 .
      Also includes some manual reindentations (many are left after the print()
      changes).
      Manually checked, some modernizations not commited here.
      6161a0aa
  23. Oct 08, 2014
  24. Oct 07, 2014
  25. Oct 06, 2014
    • Romain Bignon's avatar
      rename things related to browsers · d61e15cf
      Romain Bignon authored
      weboob.tools.browser -> weboob.deprecated.browser
      weboob.tools.parsers -> weboob.deprecated.browser.parsers
      weboob.tools.mech -> weboob.deprecated.mech
      weboob.browser2 -> weboob.browser
      weboob.core.exceptions -> weboob.exceptions
      
      Also, the new tree for browser2 is:
      
      weboob.browser: import weboob.browser.browsers.* and weboob.browser.url.*
      weboob.browser.browsers: all browsers (including PagesBrowser and LoginBrowser)
      weboob.browser.url: the URL class
      weboob.browser.profiles: all Profile classes
      weboob.browser.sessions: WeboobSession and FuturesSession
      weboob.browser.cookies: that's a cookies thing
      weboob.browser.pages: all Page and derivated classes, and Form class
      weboob.browser.exceptions: specific browser exceptions
      weboob.browser.elements: AbstractElement classes, and 'method' decorator
      weboob.browser.filters.*: all filters
      d61e15cf
    • Romain Bignon's avatar
      be7d4931
    • Laurent Bachelier's avatar
      a64787f7
    • Laurent Bachelier's avatar
      Use the print function everywhere · 74a4ef67
      Laurent Bachelier authored
      python modernize.py --no-six -f libmodernize.fixes.fix_print -w
      
      With manual fixes as the import was put always on top.
      74a4ef67
    • Laurent Bachelier's avatar
      d2265630
  26. Oct 02, 2014
  27. Oct 01, 2014
  28. Sep 26, 2014