Skip to content

Fix spacing issues with license headers and test, specifically Apache#4

Merged
emersonknapp merged 1 commit intomainfrom
emerson/fix-license-whitespace
Apr 28, 2026
Merged

Fix spacing issues with license headers and test, specifically Apache#4
emersonknapp merged 1 commit intomainfrom
emerson/fix-license-whitespace

Conversation

@emersonknapp
Copy link
Copy Markdown
Member

The SPDX standard text for Apache license (and probably others) strips canonical formatting. Bundling it here so that we can match preexisting usage with all the lovely indentation.

Additionally, strip newlines from the header text, so that we match a version with or without an extra line of comment, and only insert a block without.

Signed-off-by: Emerson Knapp <emerson.b.knapp@gmail.com>
@emersonknapp emersonknapp merged commit 14b1e8a into main Apr 28, 2026
2 checks passed
@emersonknapp emersonknapp deleted the emerson/fix-license-whitespace branch April 28, 2026 05:48
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.

1 participant