mirror of
https://github.com/ejwa/gitinspector.git
synced 2025-03-15 21:14:34 +01:00
📊 The statistical analysis tool for git repositories
The support for optional boolean arguments is the same; but uses getopt instead of optparse. The whole adventure with optparse was a giant waste of time and just forced us to monkey-patch optparse with some very ugly solutions in order to make it do what we wanted; thus it was better to switch back to the more low-level getopt module. To accomplish this; a optval.gnu_getopt() function was added that is a duplicate of the original getopt.gnu_getopt function but with support for optional arguments. A long option which accepts an optional argument is denoted with arg:default_value in the long_options string. In the end, this solution feels much better than the one with optparse. |
||
---|---|---|
gitinspector | ||
tests | ||
.gitignore | ||
.pylintrc | ||
DESCRIPTION.txt | ||
LICENSE.txt | ||
MANIFEST.in | ||
README.txt | ||
setup.py | ||
stdeb.cfg |
Copyright © 2012-2013 Ejwa Software. All rights reserved. This program comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions; see the accompanying LICENSE.txt file for further details. For questions regarding gitinspector you can contact the current maintainer in charge at gitinspector@ejwa.se. To run gitinspector; please start it via the gitinspector/gitinspector.py script. Use the -h or --help flags to get help about available options. It is also possible to set gitinspector options using the "git config" command. Refer to the project page at http://gitinspector.googlecode.com for more information.