We've seen a few bugs like b/187988047. Even though tests passed, the code generated by the microgenerator failed to compile. This caused dozens of pull requests with tests failing to be opened in python library repositories.
Please add a test that uses real protos from googleapis/googleapis, and runs black, mypy, and flake8 on the output to confirm it compiles. Using a real API is more likely to catch a generator that generates broken code.
CC @busunkim96 @parthea @vam-google
We've seen a few bugs like b/187988047. Even though tests passed, the code generated by the microgenerator failed to compile. This caused dozens of pull requests with tests failing to be opened in python library repositories.
Please add a test that uses real protos from googleapis/googleapis, and runs
black,mypy, andflake8on the output to confirm it compiles. Using a real API is more likely to catch a generator that generates broken code.CC @busunkim96 @parthea @vam-google