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