Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ufonormalizer] print messages using 'logging'; add -v and -q options #31

Merged
merged 3 commits into from
Apr 7, 2016

Conversation

anthrotype
Copy link
Member

Use logging module to print messages to console.
Add -v for verbose (e.g. prints name of files being normalizer), and -q for quiet output.
Return non-zero exit code from runTest() when unittest.main() fails.
Use argparse.ArgumentParser.error() to print error messages and return exit code 2.

Return non-zero exit code from runTest() when unittest.main() fails.

Use argparse.ArgumentParser.error() to print error messages and return
exit code 2.
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.05%) to 91.585% when pulling 5e2f957 on daltonmaag:logging into 58ab51f on unified-font-object:master.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.6%) to 92.233% when pulling adcb550 on daltonmaag:logging into 58ab51f on unified-font-object:master.

@typesupply typesupply merged commit 079d750 into unified-font-object:master Apr 7, 2016
@anthrotype anthrotype deleted the logging branch April 8, 2016 08:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants