Commit Graph

4 Commits

Author SHA1 Message Date
Torsten Bögershausen
3edb9fd098 check_fix_white_space.py: Fix whitespace damage 2019-12-09 11:21:05 +01:00
Torsten Bögershausen
608f6c0335 check_fix_white_space.py: Tell user about TAB and/or trailing WS
Make the output of the script more descriptive:
Tell user what was wrong, either TAB or trailing WS (or both)
2019-12-09 11:10:07 +01:00
Torsten Bögershausen
a57ae08ebe check_fix_white_space.py: Hint the user about --fix
When the script detects whitespace damage, hint the user that
the same script can fix it.
2019-12-09 11:00:50 +01:00
Torsten Bögershausen
df8fd4f4be Add check_fix_white_space.py
Make it possible to check for whitespace-damage:
- a file uses TAB instead of space
- a file has trailing whitespace e.g.
  "text on this line   \n" instead of "text on this line\n"

Both make reviews unnecessary hard and may lead to merge conflicts,
which could be easily avoided.

In the next commit this script will be added to the continous integration.
2019-11-29 08:32:17 +01:00