-
Notifications
You must be signed in to change notification settings - Fork 667
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
Enable doc8 and improve display of supported env vars #3298
Conversation
MOLECULE_VERIFIER_NAME Name of the verifier tool (usually 'ansible') | ||
MOLECULE_VERIFIER_TEST_DIRECTORY ? | ||
================================ =========================================================== | ||
MOLECULE_DEBUG |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why reformat it like this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IIRC, rST docs suggest using definition lists for documenting variables. So this change does make sense. @ssbarnea Did doc8 suggest that change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not really but when I reached the very long lines of that table, I found myself forced to fix that table bug.
doc8 is not as smart to do that.
- add doc8 linter - fixes newlines in rst - converts table to definition list to make it easier to read on narrow screens and also easier to maintain.
Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>
|
||
[doc8] | ||
# see https://github.com/PyCQA/doc8/issues/75 | ||
ignore-path = .eggs,.tox,constraints.txt,build,molecule.egg-info,src/molecule.egg-info |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- I'd multiline this
- Isn't there a better config than package metadata?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No multiline support, probably my comment should give you a hint that there is no much better place. FYI, flake is still inside setup.cfg for the same reasons.
narrow screens and also easier to maintain.