diff options
| author | Martin Hořeňovský | 2017-01-26 23:13:12 +0100 |
|---|---|---|
| committer | Martin Hořeňovský | 2017-01-26 23:13:12 +0100 |
| commit | c390c4cb9f9ae384451a5b8cda08aebf34407207 (patch) | |
| tree | 79cb91867deabac9974094a6b2323ea8b8f2a2f4 /scripts | |
| parent | 60a9ac7e65a57d82a92eebb7c8c6c1111a75897e (diff) | |
| download | catch3-c390c4cb9f9ae384451a5b8cda08aebf34407207.tar.gz | |
Fixed inconsistent and trailing whitespace
This means that all tabs used in indentation are now 4 spaces and that
there should be no more trailing whitespace.
Ill also look into creating a pre-commit hook that will prevent this
from happening in the future.
Fixes #105
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/fixWhitespace.py (renamed from scripts/fixTrailingWhitespace.py) | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/fixTrailingWhitespace.py b/scripts/fixWhitespace.py index 6d8391bd..6f37c539 100644 --- a/scripts/fixTrailingWhitespace.py +++ b/scripts/fixWhitespace.py @@ -24,6 +24,7 @@ def fixFile( path ): changed = 0 for line in f: trimmed = line.rstrip() + "\n" + trimmed = trimmed.replace('\t', ' ') if trimmed != line: changed = changed +1 lines.append( trimmed ) |