hayd / pep8radius

PEP8 clean only the parts of the files touched since the last commit, a previous commit or (the merge-base of) a branch.
MIT License
183 stars 9 forks source link

Coverage no longer including check_output calls #46

Closed hayd closed 10 years ago

hayd commented 10 years ago

Calls like:

python pep8radius.py --version

are no longer counted against coverage. Changed when I moved around project structure. This seems strange! (tried, but failed to fix in #45)

Thoughts: maybe this is the sys.argv thing, could use argparse() rather than argparse(sys.argv[1:])... and/or optionally pass args into main, not sure what normal/correct play is here.