mbox

[PULL,00/25] QAPI patches patches for 2021-04-30

Message ID 20210430114838.2912740-1-armbru@redhat.com
State New
Headers show

Pull-request

git://repo.or.cz/qemu/armbru.git tags/pull-qapi-2021-04-30

Message

Markus Armbruster April 30, 2021, 11:48 a.m. UTC
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

Comments

Peter Maydell April 30, 2021, 5:51 p.m. UTC | #1
On Fri, 30 Apr 2021 at 12:48, Markus Armbruster <armbru@redhat.com> wrote:
>
> 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
>


Applied, thanks.

Please update the changelog at https://wiki.qemu.org/ChangeLog/6.1
for any user-visible changes.

-- PMM