Skip to content

Conversation

@aubsartre
Copy link

This PR is for normalizing the whitespace in .py files for Coalition. It:
1) changes leading tabs to spaces (4)
2) removes line trailing whitespace
3) removes tabs and spaces from lines that have no printable characters
4) adds a trailing newline to the end of the file for those without
5) removes extra trailing newlines from files that have them

as a quality-of-life improvement for coding.

This is a whitespace refactor; any side effects, or changes to code meaning, are a bug.

To get an accurate blame, use:
git blame -w

which ignores trivial whitespace changes.

This commit:
    1) changes leading tabs to spaces (4)
    2) removes line trailing whitespace
    3) removes tabs and spaces from lines that have no printable characters
    4) adds a trailing newline to the end of the file for those without
    5) removes extra trailing newlines from files that have them

as a quality-of-life improvement for coding.

This is a whitespace refactor; any side effects, or changes to code meaning, are a bug.

To get an accurate blame, use:
    git blame -w

which ignores trivial whitespace changes.
@aubsartre
Copy link
Author

aubsartre commented Dec 7, 2021

To verify that the changes are only to whitespace:
git diff --ignore-space-change --ignore-blank-lines master 2918b54

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