[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 16/38] qapi: establish mypy type-checking baseline
From: |
Eduardo Habkost |
Subject: |
Re: [PATCH v2 16/38] qapi: establish mypy type-checking baseline |
Date: |
Wed, 23 Sep 2020 10:29:44 -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/
>
> Signed-off-by: John Snow <jsnow@redhat.com>
Works with mypy==0.770.
Tested-by: Eduardo Habkost <ehabkost@redhat.com>
--
Eduardo
- 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