mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-07 14:35:48 +00:00
Expand docstring checks to also check names of symbols in the interface
This commit is contained in:
9 files changed
+152
-43
No files matched your search
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user