-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Add generated rst in the documentation for easier review #6678
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 generated rst in the documentation for easier review #6678
Conversation
8529052
to
22be27d
Compare
Pull Request Test Coverage Report for Build 2373703840
💛 - Coveralls |
22be27d
to
9c44ab7
Compare
@@ -110,7 +109,9 @@ def _create_checker_section( | |||
checker_table.add(tomlkit.nl()) | |||
|
|||
pylint_tool_table.add(options[0].checker.name.lower(), checker_table) | |||
toml_string = "\n".join(f" {i}" for i in tomlkit.dumps(toml_doc).split("\n")) | |||
toml_string = "\n".join( | |||
f" {i}" if i else "" for i in tomlkit.dumps(toml_doc).split("\n") |
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.
Does this fix something in particular?
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.
It removes trailing whitespaces in the generated result (Check the commit by commit view to understand this kind of fix better)
Type of Changes
Description
It's a lot harder to check everything when you need to compare two HTMLs side by side instead, of a a git diff on .rst code then check the modified HTML visually. Relates to #6665