Skip to content

Fix missing newlines#288

Merged
meshy merged 1 commit intoclassy-python:mainfrom
rixx:missing-docstring-newlines
Sep 22, 2025
Merged

Fix missing newlines#288
meshy merged 1 commit intoclassy-python:mainfrom
rixx:missing-docstring-newlines

Conversation

@rixx
Copy link
Copy Markdown
Contributor

@rixx rixx commented Sep 22, 2025

This should fix the issue causing #164.

Newlines were lost when unindenting lines, because empty lines lost their newline character and were then joined to the others as just an empty string. I swapped the entire thing out for textwrap.dedent.

With the data already in the JSON fixtures though: how far back do we want to fix this?

@meshy meshy merged commit 52a2bdf into classy-python:main Sep 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants