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

Added capitalization rules to Constants class #90

Merged
merged 2 commits into from Dec 12, 2019

Conversation

jcp
Copy link
Contributor

@jcp jcp commented Jul 20, 2019

These changes let you set capitalization rules that are applied during instantiation.

Here are a few quick notes:

  • I added the handle_capitalization method to keep inline with how you've setup post processing within the parser.
  • The capitalize method, when used with force=True, takes precedence over the force_mixed_case_capitalization setting. This ensures you get what you expect.

jcp added 2 commits July 20, 2019 12:22
This also fixes a few minor spelling and spacing errors and ignores Pipenv files
These changes let users apply capitalization rules to all `HumanName` instances.
@derek73 derek73 merged commit feb5832 into derek73:master Dec 12, 2019
@derek73 derek73 added this to the v1.0.5 milestone Dec 12, 2019
@derek73
Copy link
Owner

derek73 commented Dec 12, 2019

Thanks for this really useful addition to the parser. I definitely think there are others who have wanted this so I know it will be appreciated. Sorry it took me so long to get it merged. It's included in v1.0.5 published today.

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

2 participants