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 <thomas.leibovici@cea.fr>
Reviewed-on: https://cws-fleury.labs.ocre.cea.fr/gerrit/6695


Reviewed-by: Linter
Reviewed-by: default avatarSebastien Gougeaud <sebastien.gougeaud@cea.fr>
Tested-by: default avatarJenkins s8open_nr <s8open_nr@ccc.ocre.cea.fr>
parent 50f7f581
......@@ -525,6 +525,7 @@ our @typeList = (
qr{${Ident}_handler_fn},
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'...)
@typeListMisordered,
);
......
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