Skip to content
Snippets Groups Projects
  1. Jun 13, 2017
  2. Mar 24, 2017
  3. Mar 23, 2017
  4. Feb 18, 2017
  5. Aug 13, 2016
  6. Jun 20, 2016
  7. Jun 14, 2016
  8. Mar 19, 2016
  9. Mar 02, 2016
  10. Jan 21, 2016
  11. Dec 13, 2015
  12. Dec 11, 2015
  13. Jan 03, 2015
  14. Dec 06, 2014
  15. Nov 13, 2014
  16. Oct 11, 2014
  17. Apr 18, 2014
  18. Feb 07, 2014
  19. Nov 10, 2013
  20. Nov 09, 2013
  21. Nov 08, 2013
  22. Nov 02, 2013
    • Sebastien Helleu's avatar
      Make options title/repository optional, add option -m/--max, major code... · 8202406f
      Sebastien Helleu authored
      Make options title/repository optional, add option -m/--max, major code cleanup, full PEP8 compliance
      
      All changes:
      - chart title and repository are now optional and must be set with two
        new options:
          -t, --title (default: hardcoded in script, depends on the chart)
          -r, --repo (default: '.', ie current directory)
      - add option -m/--max: max different entries in chart: after this
        number, an entry is counted in "others" (only for charts "authors" and
        "files_type")
      - if filename is "-", display SVG content on standard output
      - import the new division operator and the print function
      - replace %-formatting with .format()
      - full PEP8 compliance
      - major code cleanup: add comments, dynamically build the names for week
        days and months, use a dynamic name for functions building a chart.
Loading