]> xenbits.xensource.com Git - qemu-xen.git/commit
qapi: Remove wildcard includes
authorJohn Snow <jsnow@redhat.com>
Fri, 9 Oct 2020 16:15:28 +0000 (12:15 -0400)
committerMarkus Armbruster <armbru@redhat.com>
Sat, 10 Oct 2020 09:37:47 +0000 (11:37 +0200)
commit5af8263d40c698c47befd4c0bed3d6c452b56d82
tree36e92c1264edfd0b64e4d059440a5d66bb78be94
parent7137a96099644734cd6045313823840d4cecd5e8
qapi: Remove wildcard includes

Wildcard includes become hard to manage when refactoring and dealing
with circular dependencies with strictly typed mypy.

flake8 also flags each one as a warning, as it is not smart enough to
know which names exist in the imported file.

Remove them and include things explicitly by name instead.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Cleber Rosa <crosa@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20201009161558.107041-7-jsnow@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
scripts/qapi/commands.py
scripts/qapi/events.py
scripts/qapi/gen.py
scripts/qapi/introspect.py
scripts/qapi/types.py
scripts/qapi/visit.py