[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 00/25] QAPI patches patches for 2021-04-30
From: |
Markus Armbruster |
Subject: |
[PULL 00/25] QAPI patches patches for 2021-04-30 |
Date: |
Fri, 30 Apr 2021 13:48:13 +0200 |
The following changes since commit ccdf06c1db192152ac70a1dd974c624f566cb7d4:
Open 6.1 development tree (2021-04-30 11:15:40 +0100)
are available in the Git repository at:
git://repo.or.cz/qemu/armbru.git tags/pull-qapi-2021-04-30
for you to fetch changes up to b54626e0b8f423e91b2e31fa7741e4954cebd2d6:
qapi/error.py: enable mypy checks (2021-04-30 12:59:54 +0200)
----------------------------------------------------------------
QAPI patches patches for 2021-04-30
----------------------------------------------------------------
John Snow (25):
qapi/expr: Comment cleanup
qapi/expr.py: Remove 'info' argument from nested check_if_str
qapi/expr.py: Check for dict instead of OrderedDict
qapi/expr.py: constrain incoming expression types
qapi/expr.py: Add assertion for union type 'check_dict'
qapi/expr.py: move string check upwards in check_type
qapi/expr.py: Check type of union and alternate 'data' member
qapi/expr.py: Add casts in a few select cases
qapi/expr.py: Modify check_keys to accept any Collection
qapi/expr.py: add type hint annotations
qapi/expr.py: Consolidate check_if_str calls in check_if
qapi/expr.py: Remove single-letter variable
qapi/expr.py: enable pylint checks
qapi/expr: Only explicitly prohibit 'Kind' nor 'List' for type names
qapi/expr.py: Add docstrings
qapi/expr.py: Use tuples instead of lists for static data
qapi/expr: Update authorship and copyright information
qapi/error: Repurpose QAPIError as an abstract base exception class
qapi/error: Use Python3-style super()
qapi/error: Make QAPISourceError 'col' parameter optional
qapi/error: assert QAPISourceInfo is not None
qapi/error.py: move QAPIParseError to parser.py
qapi/error.py: enable pylint checks
qapi/error: Add type hints
qapi/error.py: enable mypy checks
docs/sphinx/qapidoc.py | 3 +-
scripts/qapi/error.py | 51 +--
scripts/qapi/expr.py | 444 +++++++++++++++++++++-----
scripts/qapi/mypy.ini | 10 -
scripts/qapi/parser.py | 14 +-
scripts/qapi/pylintrc | 4 +-
scripts/qapi/schema.py | 4 +-
tests/qapi-schema/alternate-data-invalid.err | 2 +
tests/qapi-schema/alternate-data-invalid.json | 4 +
tests/qapi-schema/alternate-data-invalid.out | 0
tests/qapi-schema/meson.build | 2 +
tests/qapi-schema/union-invalid-data.err | 2 +
tests/qapi-schema/union-invalid-data.json | 6 +
tests/qapi-schema/union-invalid-data.out | 0
14 files changed, 432 insertions(+), 114 deletions(-)
create mode 100644 tests/qapi-schema/alternate-data-invalid.err
create mode 100644 tests/qapi-schema/alternate-data-invalid.json
create mode 100644 tests/qapi-schema/alternate-data-invalid.out
create mode 100644 tests/qapi-schema/union-invalid-data.err
create mode 100644 tests/qapi-schema/union-invalid-data.json
create mode 100644 tests/qapi-schema/union-invalid-data.out
--
2.26.3
- [PULL 00/25] QAPI patches patches for 2021-04-30,
Markus Armbruster <=
- [PULL 04/25] qapi/expr.py: constrain incoming expression types, Markus Armbruster, 2021/04/30
- [PULL 03/25] qapi/expr.py: Check for dict instead of OrderedDict, Markus Armbruster, 2021/04/30
- [PULL 08/25] qapi/expr.py: Add casts in a few select cases, Markus Armbruster, 2021/04/30
- [PULL 13/25] qapi/expr.py: enable pylint checks, Markus Armbruster, 2021/04/30
- [PULL 11/25] qapi/expr.py: Consolidate check_if_str calls in check_if, Markus Armbruster, 2021/04/30
- [PULL 06/25] qapi/expr.py: move string check upwards in check_type, Markus Armbruster, 2021/04/30
- [PULL 12/25] qapi/expr.py: Remove single-letter variable, Markus Armbruster, 2021/04/30
- [PULL 14/25] qapi/expr: Only explicitly prohibit 'Kind' nor 'List' for type names, Markus Armbruster, 2021/04/30
- [PULL 10/25] qapi/expr.py: add type hint annotations, Markus Armbruster, 2021/04/30
- [PULL 09/25] qapi/expr.py: Modify check_keys to accept any Collection, Markus Armbruster, 2021/04/30