Skip to content

Commit 0980cb5

Browse files
committed
[nrf noup] scripts: ci: check_compliance: Exclude release docs
Adds the NCS release notes folder to the exclusion list for undefined Kconfigs so that old Kconfigs can be used e.g. for old release notes, and lwm2m carrier library changelog Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
1 parent 5eff1ef commit 0980cb5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/ci/check_compliance.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1156,6 +1156,8 @@ def check_no_undef_outside_kconfig(self, kconf):
11561156
grep_stdout = git("grep", "--line-number", "-I", "--null",
11571157
"--perl-regexp", regex, "--", ":!/doc/releases",
11581158
":!/doc/security/vulnerabilities.rst",
1159+
":!/doc/nrf/releases_and_maturity",
1160+
":!/doc/nrf/libraries/bin/lwm2m_carrier/CHANGELOG.rst",
11591161
cwd=GIT_TOP)
11601162

11611163
# splitlines() supports various line terminators

0 commit comments

Comments
 (0)