-
Notifications
You must be signed in to change notification settings - Fork 6
Description
When the --quiet parameter is used, it seems to hide all output from docstub apart from errors (tried with both q and qq and they appear to have the same output).
E.g. docstub run osgeo --no-cache --config pyproject.toml --quiet
If there are no errors, there is no logged output. Removing --quiet lists over 3,000 warnings that were not logged in v0.4.0 (it seems these were added in #79). It would be good to be able to hide warnings but keep the summary output that was available in version 0.4.0:
1423 matched annotations
0 total errors
Finished in 15.446 s
See OSGeo/gdal#13356 for some more details.
Ideally we'd fix the warnings in the GDAL project, but if I understand correctly it would require adding annotations to every parameter including *args, **kwargs and all global variables.
Testing on the latest 0.6.0 release (currently on Windows).