[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 17/22] CHECKPOINT
From: |
John Snow |
Subject: |
[PATCH 17/22] CHECKPOINT |
Date: |
Wed, 21 Apr 2021 23:07:15 -0400 |
As of here, parser is actually fully typed, and QAPIDoc is not. Below,
there are a few extra patches that "prove" this, but they are not
necessarily meant for inclusion.
They could theoretically be included anyway, but a few of them would
need to be squashed together to ensure our "no intermediate breakages"
rule, and a few things would need to be re-ordered.
Consider them [RFC], but optional and completely safe to drop.
Signed-off-by: John Snow <jsnow@redhat.com>
---
scripts/qapi/mypy.ini | 1 +
1 file changed, 1 insertion(+)
diff --git a/scripts/qapi/mypy.ini b/scripts/qapi/mypy.ini
index 54ca4483d6d..d7bbb2dc9c7 100644
--- a/scripts/qapi/mypy.ini
+++ b/scripts/qapi/mypy.ini
@@ -4,6 +4,7 @@ disallow_untyped_calls = False
python_version = 3.6
[mypy-qapi.parser]
+# QAPISchemaParser is done, I promise!
disallow_untyped_defs = False
disallow_incomplete_defs = False
check_untyped_defs = False
--
2.30.2
- Re: [PATCH 12/22] qapi/parser: add type hint annotations, (continued)
- [PATCH 02/22] qapi/source: [RFC] add "with_column" contextmanager, John Snow, 2021/04/21
- [PATCH 11/22] qapi/parser: Rework _check_pragma_list_of_str as a TypeGuard, John Snow, 2021/04/21
- [PATCH 15/22] qapi/parser: allow 'ch' variable name, John Snow, 2021/04/21
- [PATCH 16/22] qapi/parser: add docstrings, John Snow, 2021/04/21
- [PATCH 10/22] qapi/parser: Fix typing of token membership tests, John Snow, 2021/04/21
- [PATCH 14/22] qapi/parser: Remove superfluous list constructor, John Snow, 2021/04/21
- [PATCH 17/22] CHECKPOINT,
John Snow <=
- [PATCH 19/22] qapi: [WIP] Add type ignores for qapidoc.py, John Snow, 2021/04/21
- [PATCH 20/22] qapi: [WIP] Import QAPIDoc from qapidoc Signed-off-by: John Snow <address@hidden>, John Snow, 2021/04/21
- [PATCH 22/22] qapi: [WIP] Enable linters on parser.py, John Snow, 2021/04/21
- [PATCH 21/22] qapi: [WIP] Add QAPIDocError, John Snow, 2021/04/21
- [PATCH 13/22] qapi/parser: [RFC] overload the return type of get_expr, John Snow, 2021/04/21
- [PATCH 18/22] qapi: [WIP] Rip QAPIDoc out of parser.py, John Snow, 2021/04/21