xref: /openbmc/qemu/python/tests/qapi-isort.sh (revision 8d789c8cdb8de2cae39f217b6c9607ac9c036c8c)
1#!/bin/sh -e
2# SPDX-License-Identifier: GPL-2.0-or-later
3
4python3 -m isort --sp . -c ../scripts/qapi/
5# Force isort to recognize "compat" as a local module and not third-party
6python3 -m isort --sp . -c -p compat \
7        ../docs/sphinx/qapi_domain.py \
8        ../docs/sphinx/qapidoc.py
9