xref: /openbmc/qemu/python/tests/qapi-isort.sh (revision 2b1791323e7ce043cbc3857699e5d5b0ad021cbc)
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