diff mbox series

[v2,26/38] qapi/gen.py: Enable checking with mypy

Message ID 20200922210101.4081073-27-jsnow@redhat.com
State Superseded
Headers show
Series qapi: static typing conversion, pt1 | expand

Commit Message

John Snow Sept. 22, 2020, 9 p.m. UTC
Signed-off-by: John Snow <jsnow@redhat.com>
---
 scripts/qapi/mypy.ini | 5 -----
 1 file changed, 5 deletions(-)

Comments

Eduardo Habkost Sept. 23, 2020, 3:18 p.m. UTC | #1
On Tue, Sep 22, 2020 at 05:00:49PM -0400, John Snow wrote:
> Signed-off-by: John Snow <jsnow@redhat.com>


Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>


-- 
Eduardo
Cleber Rosa Sept. 23, 2020, 11:59 p.m. UTC | #2
On Tue, Sep 22, 2020 at 05:00:49PM -0400, John Snow wrote:
> Signed-off-by: John Snow <jsnow@redhat.com>

> ---

>  scripts/qapi/mypy.ini | 5 -----

>  1 file changed, 5 deletions(-)

> 

> diff --git a/scripts/qapi/mypy.ini b/scripts/qapi/mypy.ini

> index 43c8bd1973..dbfeda748c 100644

> --- a/scripts/qapi/mypy.ini

> +++ b/scripts/qapi/mypy.ini

> @@ -19,11 +19,6 @@ disallow_untyped_defs = False

>  disallow_incomplete_defs = False

>  check_untyped_defs = False

>  

> -[mypy-qapi.gen]

> -disallow_untyped_defs = False

> -disallow_incomplete_defs = False

> -check_untyped_defs = False

> -

>  [mypy-qapi.introspect]

>  disallow_untyped_defs = False

>  disallow_incomplete_defs = False

> -- 

> 2.26.2

> 


Like I mentioned before, I'd squash this together with the actual
changes that enable this increased coverage.

Anyway,

Reviewed-by: Cleber Rosa <crosa@redhat.com>

Tested-by: Cleber Rosa <crosa@redhat.com>
diff mbox series

Patch

diff --git a/scripts/qapi/mypy.ini b/scripts/qapi/mypy.ini
index 43c8bd1973..dbfeda748c 100644
--- a/scripts/qapi/mypy.ini
+++ b/scripts/qapi/mypy.ini
@@ -19,11 +19,6 @@  disallow_untyped_defs = False
 disallow_incomplete_defs = False
 check_untyped_defs = False
 
-[mypy-qapi.gen]
-disallow_untyped_defs = False
-disallow_incomplete_defs = False
-check_untyped_defs = False
-
 [mypy-qapi.introspect]
 disallow_untyped_defs = False
 disallow_incomplete_defs = False