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

Document and verify option value types using typing #93

Open
sebschrader opened this issue Jun 27, 2020 · 0 comments
Open

Document and verify option value types using typing #93

sebschrader opened this issue Jun 27, 2020 · 0 comments
Labels
Milestone

Comments

@sebschrader
Copy link
Member

Currently we're using our own logic to document and verify the types of option values. The base type is specified using the type attribute of Option subclasses and more complex types, such as sequences and mappings are handled by custom checkers in the hades.config.check module.

We can switch to the types provided by the typing module to fully document the types and use a runtime checker, such as typeguard to verify the values.

@sebschrader sebschrader added this to the 0.6 milestone Jun 27, 2020
@sebschrader sebschrader added the major Major task label Jun 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant