xref: /openbmc/qemu/python/tests/qapi-isort.sh (revision 8d789c8cdb8de2cae39f217b6c9607ac9c036c8c)
165aa0a17SJohn Snow#!/bin/sh -e
265aa0a17SJohn Snow# SPDX-License-Identifier: GPL-2.0-or-later
365aa0a17SJohn Snow
465aa0a17SJohn Snowpython3 -m isort --sp . -c ../scripts/qapi/
565aa0a17SJohn Snow# Force isort to recognize "compat" as a local module and not third-party
6*8d789c8cSJohn Snowpython3 -m isort --sp . -c -p compat \
765aa0a17SJohn Snow        ../docs/sphinx/qapi_domain.py \
865aa0a17SJohn Snow        ../docs/sphinx/qapidoc.py
9