Re: [PATCH 04/37] qapi: move generator entrypoint into module

2020-09-17 Thread Markus Armbruster
John Snow writes: > On 9/16/20 7:54 AM, Markus Armbruster wrote: >> John Snow writes: >> >>> As part of delinting and adding type hints to the QAPI generator, it's >>> helpful for the entrypoint to be part of the module, only leaving a very >>> tiny entrypoint shim outside of the module. >>>

Re: [PATCH 04/37] qapi: move generator entrypoint into module

2020-09-16 Thread John Snow
On 9/16/20 7:54 AM, Markus Armbruster wrote: John Snow writes: As part of delinting and adding type hints to the QAPI generator, it's helpful for the entrypoint to be part of the module, only leaving a very tiny entrypoint shim outside of the module. As a result, all of the include

Re: [PATCH 04/37] qapi: move generator entrypoint into module

2020-09-16 Thread Markus Armbruster
John Snow writes: > As part of delinting and adding type hints to the QAPI generator, it's > helpful for the entrypoint to be part of the module, only leaving a very > tiny entrypoint shim outside of the module. > > As a result, all of the include statements are reworked to be module-aware, > as

[PATCH 04/37] qapi: move generator entrypoint into module

2020-09-15 Thread John Snow
As part of delinting and adding type hints to the QAPI generator, it's helpful for the entrypoint to be part of the module, only leaving a very tiny entrypoint shim outside of the module. As a result, all of the include statements are reworked to be module-aware, as explicit relative imports.