Skip to content

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

Merged
merged 4 commits into from
May 24, 2022

Conversation

Pierre-Sassoulas
Copy link
Member

Type of Changes

Type
✨ New feature
📜 Docs

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

@coveralls
Copy link

coveralls commented May 23, 2022

Pull Request Test Coverage Report for Build 2373703840

  • 1 of 1 (100.0%) changed or added relevant line in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 95.414%

Totals Coverage Status
Change from base Build 2373691532: 0.0%
Covered Lines: 16230
Relevant Lines: 17010

💛 - Coveralls

@@ -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")
Copy link
Collaborator

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?

Copy link
Member Author

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)

@Pierre-Sassoulas Pierre-Sassoulas merged commit cc8467e into pylint-dev:main May 24, 2022
@Pierre-Sassoulas Pierre-Sassoulas deleted the add-generated-rst branch May 24, 2022 06:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants