]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/Python/Ecc/Configuration.py
BaseTools/Capsule: Do not support -o with --dump-info
[mirror_edk2.git] / BaseTools / Source / Python / Ecc / Configuration.py
index 4711bbd54fdccffbc37f5648eb000240853eb951..f58adbf7362faab829d12145b7582917a74f4577 100644 (file)
@@ -186,6 +186,10 @@ class Configuration(object):
         self.GeneralCheckNonAcsii = 1\r
         # Check whether UNI file is valid\r
         self.GeneralCheckUni = 1\r
+        # Check Only use CRLF (Carriage Return Line Feed) line endings.\r
+        self.GeneralCheckLineEnding = 1\r
+        # Check if there is no trailing white space in one line.\r
+        self.GeneralCheckTrailingWhiteSpaceLine = 1\r
 \r
         ## Space Checking\r
         self.SpaceCheckAll = 1\r
@@ -215,7 +219,7 @@ class Configuration(object):
         self.HeaderCheckCFileCommentReferenceFormat = 1\r
         # Check whether C File header Comment have the License immediately after the ""Copyright"" line\r
         self.HeaderCheckCFileCommentLicenseFormat = 1\r
-  \r
+\r
         ## C Function Layout Checking\r
         self.CFunctionLayoutCheckAll = 0\r
 \r
@@ -352,7 +356,7 @@ class Configuration(object):
         self.MetaDataFileCheckModuleFilePpiFormat = 1\r
         # Check Pcd Format in INF files\r
         self.MetaDataFileCheckModuleFilePcdFormat = 1\r
-        \r
+\r
         # Check UNI file\r
         self.UniCheckAll = 0\r
         # Check INF or DEC file whether defined the localized information in the associated UNI file.\r
@@ -374,16 +378,16 @@ class Configuration(object):
 \r
         # The directory listed here will not be parsed, split with ','\r
         self.SkipDirList = []\r
-        \r
+\r
         # The file listed here will not be parsed, split with ','\r
         self.SkipFileList = []\r
 \r
         # A list for binary file ext name\r
         self.BinaryExtList = []\r
-        \r
+\r
         # A list for only scanned folders\r
         self.ScanOnlyDirList = []\r
-        \r
+\r
         # A list for Copyright format\r
         self.Copyright = []\r
 \r