Skip to content
  1. Feb 24, 2019
  2. Sep 16, 2018
    • hydrargyrum's avatar
      weboob.capabilities: replace stdlib enum with custom enums · 6cbfb7e1
      hydrargyrum authored
      Python's enums are not extensible, values can't be added and they can't
      be subclassed. This is problematic if weboob devel adds new values,
      because stable weboob will not be able to use them. They would need to
      be replaced by a default value or None, which loses information.
      
      Instead, implement custom enums that contain plain constants and support
      adding values aftewards.
      6cbfb7e1
  3. Jun 16, 2018
  4. Jul 09, 2017
  5. Apr 29, 2016
    • hydrargyrum's avatar
      fix a few __repr__/__str__ returning unicode · 5c3f2c96
      hydrargyrum authored
      In Python 2, __repr__ and __str__ shouldn't return unicode.
      This caused a problem for example when logging-debug a filter on Thumbnail.url,
      as the logger couldn't encode the unicode repr.
      5c3f2c96
  6. Oct 10, 2014
    • Laurent Bachelier's avatar
      pep8 blank lines fixes · 448c06d1
      Laurent Bachelier authored
      flake8 --select W391,E302,E301,E304
      
      autopep8 can't fix W391 even though it claims it can.
      Fixed using a simple custom script.
      448c06d1
  7. Sep 26, 2014
  8. Sep 22, 2014
  9. Jul 09, 2014
  10. Jul 05, 2014
  11. Jul 27, 2013
  12. Jun 10, 2013
  13. Mar 14, 2012
    • Laurent Bachelier's avatar
      PEP8 style fixes and other small style fixes · 006e97a8
      Laurent Bachelier authored
      I used autopep8 on some files and did carefully check the changes.
      I ignored E501,E302,E231,E225,E222,E221,E241,E203 in my search, and at
      least E501 on any autopep8 run.
      
      Other style fixes not related to PEP8:
      * Only use new-style classes. I don't think the usage of old-style
        classes was voluntary. Old-style classes are removed in Python 3.
      * Convert an if/else to a one-liner in mediawiki, change docstring style
        change to a comment something that wasn't really appropriate for a
        docstring.
      * Unneeded first if condition in meteofrance
      006e97a8
  14. Apr 08, 2011
  15. Nov 11, 2010
  16. Jun 22, 2010
  17. Apr 01, 2010
  18. Mar 30, 2010
  19. Mar 23, 2010
  20. Mar 11, 2010
  21. Mar 08, 2010
  22. Feb 23, 2010
  23. Feb 20, 2010
  24. Feb 13, 2010
  25. Feb 10, 2010
  26. Feb 09, 2010