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