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
Add Docstring to Enum for Option descriptions, issue 1510 #1699
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #1699 +/- ##
==========================================
- Coverage 33.23% 33.23% -0.01%
==========================================
Files 95 95
Lines 18423 18424 +1
==========================================
Hits 6123 6123
- Misses 12300 12301 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
Very cool. I'd appreciate it if you could add the hacktoberfest-accepted label, though I'm not totally sure if this project is doing hacktoberfest. |
Summary
Hacktoberfest pull request.
For closing Issue #1510. Beyond adding small details to the docs, also adding docstrings to the Enum classes so that if an Option tries to reference them, it'll have a description by default, but also changing the Option behavior so that if the dev includes a description text when calling Option, the docstring from Enums won't override that description text.
Fixes this behavior ("No description provided"):
Information
examples, ...).
Checklist
type: ignore
comments were used, a comment is also left explaining why.