Commit 12cd08e1 authored by Thomas Leibovici's avatar Thomas Leibovici
Browse files

checkpatch: recognize Python types

Types defined by <python.h> were not recognized as valid types.
Extend the definition of valid types to fix that.

Change-Id: I244ec2987b159647c92e16f5d0b83d5d589e54bd
Signed-off-by: default avatarThomas Leibovici <>

Reviewed-by: Linter
Reviewed-by: default avatarSebastien Gougeaud <>
Tested-by: default avatarJenkins s8open_nr <>
parent 50f7f581
......@@ -525,6 +525,7 @@ our @typeList = (
qr{G[A-Z][a-z]+}, # match glib types such as (GString, GHash, ...)
qr{g[a-z]+}, # match glib types such as (gchar, gpointer, ...)
qr{Py[A-Z]${Ident}}, # match python types (like 'PyObject'...)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment