mirror of
https://github.com/catchorg/Catch2.git
synced 2025-05-27 15:09:33 +00:00
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
This commit is contained in:
parent
60a9ac7e65
commit
c390c4cb9f
15 changed files with 64 additions and 63 deletions
|
@ -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 )
|
Loading…
Add table
Add a link
Reference in a new issue