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

Preemptively validate configuration #31

Closed
untitaker opened this issue Apr 30, 2016 · 2 comments
Closed

Preemptively validate configuration #31

untitaker opened this issue Apr 30, 2016 · 2 comments

Comments

@untitaker
Copy link
Member

While working on #30, I saw that todoman just passes the raw configparser through the CLI. I think it would be better if there was a dedicated Config type that has all valid params as properties (which raise if somebody tries to set an invalid value).

khal uses ConfigObj for this.

@WhyNotHugo
Copy link
Member

We might want to close this if we merge #59, though that would have to be a mayor release, since it's backwards-incompatible.

@untitaker
Copy link
Member Author

agreed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants