BaseTools/Ecc: Add some new checkpoints
1. Add a checkpoint to check NO TABs. 2. Add a checkpoint to check line ending with CRLF. 3. Add a checkpoint to check no trailing spaces. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hess Chen <hesheng.chen@intel.com> Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com>
This commit is contained in:
@ -186,6 +186,10 @@ class Configuration(object):
|
||||
self.GeneralCheckNonAcsii = 1
|
||||
# Check whether UNI file is valid
|
||||
self.GeneralCheckUni = 1
|
||||
# Check Only use CRLF (Carriage Return Line Feed) line endings.
|
||||
self.GeneralCheckLineEnding = 1
|
||||
# Check if there is no trailing white space in one line.
|
||||
self.GeneralCheckTrailingWhiteSpaceLine = 1
|
||||
|
||||
## Space Checking
|
||||
self.SpaceCheckAll = 1
|
||||
|
Reference in New Issue
Block a user