summary refs log tree commit diff stats
path: root/python/tests/qapi-isort.sh
blob: 78dd947f68c1c4cf98e92f293587968cf1e2a93f (plain) (blame)
1
2
3
4
5
6
7
8
#!/bin/sh -e
# SPDX-License-Identifier: GPL-2.0-or-later

python3 -m isort --sp . -c ../scripts/qapi/
# Force isort to recognize "compat" as a local module and not third-party
python3 -m isort --sp . -c -p compat -p qapidoc_legacy \
        ../docs/sphinx/qapi_domain.py \
        ../docs/sphinx/qapidoc.py