release-tools icon indicating copy to clipboard operation
release-tools copied to clipboard

Ensure README changes don't affect whitespace

Open AA-Turner opened this issue 3 months ago • 0 comments

str.splitlines() doesn't preserve trailing lines (unless using keepends=True), whereas str.split('\n') does. Use the latter form, and assert that modified files end with a blank line in tests.

A

AA-Turner avatar Oct 21 '25 12:10 AA-Turner