Re: [PATCH 08/16] qapi/expr.py: add type hint annotations

2020-09-24 Thread Cleber Rosa
On Tue, Sep 22, 2020 at 05:13:05PM -0400, John Snow wrote: > Annotations do not change runtime behavior. > This commit *only* adds annotations. > > Signed-off-by: John Snow Reviewed-by: Cleber Rosa signature.asc Description: PGP signature

Re: [PATCH 08/16] qapi/expr.py: add type hint annotations

2020-09-23 Thread Eduardo Habkost
On Tue, Sep 22, 2020 at 05:13:05PM -0400, John Snow wrote: > Annotations do not change runtime behavior. > This commit *only* adds annotations. > > Signed-off-by: John Snow Reviewed-by: Eduardo Habkost -- Eduardo

[PATCH 08/16] qapi/expr.py: add type hint annotations

2020-09-22 Thread John Snow
Annotations do not change runtime behavior. This commit *only* adds annotations. Signed-off-by: John Snow --- scripts/qapi/expr.py | 65 +++ scripts/qapi/mypy.ini | 5 2 files changed, 41 insertions(+), 29 deletions(-) diff --git a/scripts/qapi/exp