@samitouri / QOSamiQemu / commits / 5decfc6af7

minikconf: run through isort

Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

Paolo Bonzini committed Apr 30, 2026 at 10:58 UTC 5decfc6af7f0cfa8dfe8a49116f03a04eb89bf32
2 files changed +5 -2
python/tests/linters.py
+3
@@ -25,6 +25,9 @@ class TestLinters:
25 ]
26 )
27
28 + def test_isort_minikconf(self):
29 + check_call([sys.executable, "-m", "isort", "-c", "../scripts/minikconf.py"])
30 +
31 def test_isort_pkg(self):
32 check_call([sys.executable, "-m", "isort", "-c", "qemu/"])
33
scripts/minikconf.py
+2 -2
@@ -12,9 +12,9 @@
12 # the top-level directory.
13
14 import os
15 -import sys
16 -import re
15 import random
16 +import re
17 +import sys
18
19 __all__ = [ 'KconfigDataError', 'KconfigParserError',
20 'KconfigData', 'KconfigParser' ,