Expand docstring checks to also check names of symbols in the interface

This commit is contained in:
baldurk
2017-12-22 14:41:43 +00:00
parent ebaefc82a9
commit 417a811fad
9 changed files with 152 additions and 43 deletions
+4 -4
View File
@@ -79,20 +79,20 @@ int main(int argc, char *argv[])
bool errors = false;
qInfo() << "Checking python binding docstrings.";
qInfo() << "Checking python binding consistency.";
{
PythonContextHandle py;
errors = py.ctx().CheckDocstrings();
errors = py.ctx().CheckInterfaces();
}
if(errors)
{
qCritical() << "Found errors in python binding docstrings. Please fix!";
qCritical() << "Found errors in python bindings. Please fix!";
return 1;
}
qInfo() << "Python binding docstrings are consistent.";
qInfo() << "Python bindings are consistent.";
return 0;
}
}