[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 16/38] qapi: establish mypy type-checking baseline
From: |
Cleber Rosa |
Subject: |
Re: [PATCH v2 16/38] qapi: establish mypy type-checking baseline |
Date: |
Wed, 23 Sep 2020 16:11:51 -0400 |
On Tue, Sep 22, 2020 at 05:00:39PM -0400, John Snow wrote:
> Fix two very minor issues, and then establish a mypy type-checking
> baseline.
>
> Like pylint, this should be run from the folder above:
>
> > mypy --config-file=qapi/mypy.ini qapi/
Like with pylint, let's at least document the version of mypy used.
For example, with 0.740, this fails. With 0.782, it passes.
- Cleber.
signature.asc
Description: PGP signature
- Re: [PATCH v2 14/38] qapi/common.py: Convert comments into docstrings, and elaborate, (continued)
- [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