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

Moved all syntax-related decisions to ConfigFileParser subclasses. Added YAMLConfigFileParser #33

Merged
merged 8 commits into from
Jan 19, 2016

Conversation

bw2
Copy link
Owner

@bw2 bw2 commented Nov 11, 2015

Hi @cortesi @lahwaacz @acx2015 @bartekbrak @kuba (and anyone else interested),
It'd be great to get your feedback on this PR which builds on @lahwaacz 's PR #28. It moves all remaining logic involving config file formats into ConfigFileParser subclasses. The format can then be specified by just setting the new config_file_parser_class constructor arg (similar to HelpFormatters). Also, there's now a new YAMLConfigFileParser as an alternative to the DefaultConfigFileParser.

Depending on feedback (or if there's none during the next week), I'll merge this and create a new release (probably v1.0).

This should also fix #19 and #30 (and also #26 - the fix for that became clear while working on this).

@lancetarn
Copy link

Just a note to say that I encountered #26 and switched my package install to point at this branch. Has been working without error since. I hope you consider releasing soon. Thank you for the great work!

bw2 added a commit that referenced this pull request Jan 19, 2016
Moved all syntax-related decisions to ConfigFileParser subclasses. Added YAMLConfigFileParser
@bw2 bw2 merged commit 582663b into master Jan 19, 2016
@bw2 bw2 removed the in progress label Jan 19, 2016
@bw2 bw2 deleted the finish_abstracting_out_config_format branch September 5, 2016 13:21
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.

arguments with config file string True get automatically converted to bool
2 participants