[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 1/3] python: add mypy config
From: |
Bin Meng |
Subject: |
Re: [PATCH 1/3] python: add mypy config |
Date: |
Tue, 13 Oct 2020 17:15:56 +0800 |
On Sat, Oct 10, 2020 at 1:54 AM John Snow <jsnow@redhat.com> wrote:
>
> Formalize the options used for checking the python library. You can run
> mypy from the directory that mypy.ini is in by typing `mypy qemu/`.
>
> Signed-off-by: John Snow <jsnow@redhat.com>
> ---
> python/mypy.ini | 4 ++++
> 1 file changed, 4 insertions(+)
> create mode 100644 python/mypy.ini
>
> diff --git a/python/mypy.ini b/python/mypy.ini
> new file mode 100644
> index 00000000000..7a70eca47c6
> --- /dev/null
> +++ b/python/mypy.ini
> @@ -0,0 +1,4 @@
> +[mypy]
> +strict = True
> +python_version = 3.6
> +warn_unused_configs = True
> \ No newline at end of file
Missing "\n" at the end of file
Regards,
Bin
- [PATCH 0/3] python/qemu: strictly typed mypy conversion, pt3, John Snow, 2020/10/09
- [PATCH 1/3] python: add mypy config, John Snow, 2020/10/09
- Re: [PATCH 1/3] python: add mypy config,
Bin Meng <=
- [PATCH 2/3] python/qemu/qmp.py: re-raise OSError when encountered, John Snow, 2020/10/09
- [PATCH 3/3] python/qemu/qmp.py: Fix settimeout operation, John Snow, 2020/10/09
- Re: [PATCH 0/3] python/qemu: strictly typed mypy conversion, pt3, John Snow, 2020/10/09
- Re: [PATCH 0/3] python/qemu: strictly typed mypy conversion, pt3, John Snow, 2020/10/12