[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 19/38] qapi/commands.py: Don't re-bind to variable of diff
From: |
Cleber Rosa |
Subject: |
Re: [PATCH v2 19/38] qapi/commands.py: Don't re-bind to variable of different type |
Date: |
Wed, 23 Sep 2020 16:21:03 -0400 |
On Tue, Sep 22, 2020 at 05:00:42PM -0400, John Snow wrote:
> Mypy isn't a fan of rebinding a variable with a new data type.
> It's easy enough to avoid.
>
> Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Cleber Rosa <crosa@redhat.com>
signature.asc
Description: PGP signature
- Re: [PATCH v2 13/38] qapi/common.py: add type hint annotations, (continued)
- [PATCH v2 14/38] qapi/common.py: Convert comments into docstrings, and elaborate, John Snow, 2020/09/22
- [PATCH v2 15/38] qapi/common.py: move build_params into gen.py, John Snow, 2020/09/22
- [PATCH v2 19/38] qapi/commands.py: Don't re-bind to variable of different type, John Snow, 2020/09/22
- [PATCH v2 16/38] qapi: establish mypy type-checking baseline, John Snow, 2020/09/22
- [PATCH v2 21/38] qapi/commands.py: enable checking with mypy, John Snow, 2020/09/22
- [PATCH v2 22/38] qapi/source.py: add type hint annotations, John Snow, 2020/09/22