diff options
author | John Snow | 2020-10-09 18:15:56 +0200 |
---|---|---|
committer | Markus Armbruster | 2020-10-10 11:37:49 +0200 |
commit | 554df4f33f2076f973b4ae6bc55b5160f513634f (patch) | |
tree | 6193b53ca65299f1536f038af10ecec7c9de0725 /scripts/qapi/pylintrc | |
parent | qapi/types.py: remove one-letter variables (diff) | |
download | qemu-554df4f33f2076f973b4ae6bc55b5160f513634f.tar.gz qemu-554df4f33f2076f973b4ae6bc55b5160f513634f.tar.xz qemu-554df4f33f2076f973b4ae6bc55b5160f513634f.zip |
qapi/visit.py: assert tag_member contains a QAPISchemaEnumType
This is true by design, but not presently able to be expressed in the
type system. An assertion helps mypy understand our constraints.
Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Cleber Rosa <crosa@redhat.com>
Message-Id: <20201009161558.107041-35-jsnow@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'scripts/qapi/pylintrc')
0 files changed, 0 insertions, 0 deletions