[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v4 22/23] qapi/schema: turn on mypy strictness
From: |
John Snow |
Subject: |
[PATCH v4 22/23] qapi/schema: turn on mypy strictness |
Date: |
Wed, 13 Mar 2024 00:41:26 -0400 |
This patch can be rolled in with the previous one once the series is
ready for merge, but for work-in-progress' sake, it's separate here.
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 56e0dfb1327..8109470a031 100644
--- a/scripts/qapi/mypy.ini
+++ b/scripts/qapi/mypy.ini
@@ -2,8 +2,3 @@
strict = True
disallow_untyped_calls = False
python_version = 3.8
-
-[mypy-qapi.schema]
-disallow_untyped_defs = False
-disallow_incomplete_defs = False
-check_untyped_defs = False
--
2.44.0
- Re: [PATCH v4 05/23] qapi: create QAPISchemaDefinition, (continued)
[PATCH v4 17/23] qapi/schema: fix typing for QAPISchemaVariants.tag_member, John Snow, 2024/03/13
[PATCH v4 16/23] qapi/schema: Don't initialize "members" with `None`, John Snow, 2024/03/13
[PATCH v4 22/23] qapi/schema: turn on mypy strictness,
John Snow <=
[PATCH v4 19/23] qapi/parser: demote QAPIExpression to Dict[str, Any], John Snow, 2024/03/13
[PATCH v4 15/23] qapi/schema: add _check_complete flag, John Snow, 2024/03/13
[PATCH v4 11/23] qapi/schema: assert resolve_type has 'info' and 'what' args on error, John Snow, 2024/03/13
[PATCH v4 20/23] qapi/parser.py: assert member.info is present in connect_member, John Snow, 2024/03/13
[PATCH v4 21/23] qapi/schema: add type hints, John Snow, 2024/03/13
[PATCH v4 08/23] qapi/schema: make c_type() and json_type() abstract methods, John Snow, 2024/03/13
[PATCH v4 06/23] qapi/schema: declare type for QAPISchemaObjectTypeMember.type, John Snow, 2024/03/13
[PATCH v4 10/23] qapi/schema: add type narrowing to lookup_type(), John Snow, 2024/03/13