DynamicTablesPkg: Update DynamicTablesPkg.ci.yaml

To prepare edk2 upstream CI for incoming modifications:
1- Disable the Ecc check 9005:
   "Only Doxygen commands '@bug', '@todo', [...], '@{', '@}'
   are allowed to mark the code Unknown doxygen command [...]"
2- Disable the Ecc check 8003 for the following keyword:
   "DISABLE_NEW_DEPRECATED_INTERFACES"
   Indeed, this error has been corrected on the latest version of
   BaseTools, but is still triggered when using the older python
   packages containing the BaseTools.
3- Add word exceptions for the cspell tool.

Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>
Signed-off-by: Pierre Gondois <Pierre.Gondois@arm.com>
This commit is contained in:
Pierre Gondois 2021-09-30 08:48:19 +01:00 committed by mergify[bot]
parent 235ff9fcd1
commit 7a8c037e9e

View File

@ -5,6 +5,28 @@
# SPDX-License-Identifier: BSD-2-Clause-Patent # SPDX-License-Identifier: BSD-2-Clause-Patent
## ##
{ {
"EccCheck": {
## Exception sample looks like below:
## "ExceptionList": [
## "<ErrorID>", "<KeyWord>"
## ]
"ExceptionList": [
# "The #ifndef at the start of an include file should use
# both prefix and postfix underscore characters, '_'"
# This error is not triggered for the latest BaseTools code.
# @TODO The error should be re-enabled when the python packages
# containing the BaseTools are updated to the latest version.
"8003", "DISABLE_NEW_DEPRECATED_INTERFACES",
"9005", "@defgroup", # Use extra Doxygen commands
"9005", "@ingroup", # Use extra Doxygen commands
"9005", "@mainpage", # Use extra Doxygen commands
"9005", "@ref", # Use extra Doxygen commands
],
## Both file path and directory path are accepted.
"IgnoreFiles": [
]
},
## options defined .pytool/Plugin/CompilerPlugin ## options defined .pytool/Plugin/CompilerPlugin
"CompilerPlugin": { "CompilerPlugin": {
"DscPath": "DynamicTablesPkg.dsc" "DscPath": "DynamicTablesPkg.dsc"
@ -23,6 +45,7 @@
## options defined .pytool/Plugin/DependencyCheck ## options defined .pytool/Plugin/DependencyCheck
"DependencyCheck": { "DependencyCheck": {
"AcceptableDependencies": [ "AcceptableDependencies": [
"ArmPkg/ArmPkg.dec",
"ArmPlatformPkg/ArmPlatformPkg.dec", "ArmPlatformPkg/ArmPlatformPkg.dec",
"EmbeddedPkg/EmbeddedPkg.dec", "EmbeddedPkg/EmbeddedPkg.dec",
"DynamicTablesPkg/DynamicTablesPkg.dec", "DynamicTablesPkg/DynamicTablesPkg.dec",
@ -77,19 +100,25 @@
"CCIDX", "CCIDX",
"CCSIDR", "CCSIDR",
"countof", "countof",
"edynamic",
"EOBJECT", "EOBJECT",
"invoc", "invoc",
"ITARGETSR",
"GTBLOCK", "GTBLOCK",
"lgreater", "lgreater",
"lless", "lless",
"MPIDR", "MPIDR",
"PERIPHBASE", "PERIPHBASE",
"phandle",
"pytool", "pytool",
"Rdword",
"Roadmap", "Roadmap",
"ROOTNODEBASE", "ROOTNODEBASE",
"ssdtcmn", "ssdtcmn",
"ssdtserialporttemplate", "ssdtserialporttemplate",
"SMMUV", "SMMUV",
"ssdtpcieosctemplate",
"SSDTPC",
"standardised", "standardised",
"TABLEEX", "TABLEEX",
"TNSID", "TNSID",