python/qemu: use isort to lay out imports

Borrowed from the QAPI cleanup series, use the same configuration to
standardize the way we write and sort imports.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Message-id: 20201006235817.3280413-2-jsnow@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
This commit is contained in:
John Snow 2020-10-06 19:57:58 -04:00
parent b8eaee96e4
commit 932ca4bbde
6 changed files with 19 additions and 11 deletions

View file

@ -7,21 +7,21 @@
# This work is licensed under the terms of the GNU GPL, version 2. See
# the COPYING file in the top-level directory.
import json
import errno
import socket
import json
import logging
import socket
from types import TracebackType
from typing import (
Any,
cast,
Dict,
Optional,
TextIO,
Type,
Tuple,
Type,
Union,
cast,
)
from types import TracebackType
# QMPMessage is a QMP Message of any kind.