mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-23 14:15:42 +00:00
Expand docstring checks to also check names of symbols in the interface
This commit is contained in:
@@ -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