Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make options title/repository optional, add option -m/--max, major co…
…de 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 branch information