mirror of
https://github.com/OpenAMP/libmetal.git
synced 2026-09-28 15:53:47 +08:00
CI: add codespell support to check typos
Enable the use of codespell tool in checkpatch.pl For this the checkpatch.pl as been partially rebased on the Linux one. Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@foss.st.com>
This commit is contained in:
committed by
Arnaud Pouliquen
parent
78acf765c5
commit
cf04377c79
@@ -194,7 +194,8 @@ class CheckPatch(ComplianceTest):
|
||||
diff = subprocess.Popen(('git', 'diff', COMMIT_RANGE),
|
||||
stdout=subprocess.PIPE)
|
||||
try:
|
||||
subprocess.check_output(checkpatch + ' --mailback' + ' --no-tree' + ' -',
|
||||
subprocess.check_output(checkpatch + ' --mailback' + ' --codespell' +
|
||||
' --no-tree' + ' -',
|
||||
stdin=diff.stdout,
|
||||
stderr=subprocess.STDOUT,
|
||||
shell=True, cwd=GIT_TOP)
|
||||
|
||||
Reference in New Issue
Block a user