Skip to content

Commit ba56cd1

Browse files
kartbennashif
authored andcommitted
scripts: ci: disable trailing-whitespace check in SphinxLint
SphinxLint doesn't need to report trailing whitespace errors as it's already checked by checkpatch.pl. Signed-off-by: Benjamin Cabé <[email protected]>
1 parent 79397c6 commit ba56cd1

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

scripts/ci/check_compliance.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1720,7 +1720,11 @@ class SphinxLint(ComplianceTest):
17201720
doc = "Check Sphinx/reStructuredText files with sphinx-lint."
17211721

17221722
# Checkers added/removed to sphinx-lint's default set
1723-
DISABLE_CHECKERS = ["horizontal-tab", "missing-space-before-default-role"]
1723+
DISABLE_CHECKERS = [
1724+
"horizontal-tab",
1725+
"missing-space-before-default-role",
1726+
"trailing-whitespace",
1727+
]
17241728
ENABLE_CHECKERS = ["default-role"]
17251729

17261730
def run(self):

0 commit comments

Comments
 (0)