Skip to content

Commit e318419

Browse files
committed
boot-utils: Result of 'ruff check --fix .' after enabling isort
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
1 parent d3700c7 commit e318419

4 files changed

Lines changed: 9 additions & 10 deletions

File tree

boot-qemu.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,21 @@
11
#!/usr/bin/env python3
22
# pylint: disable=invalid-name
33

4-
from argparse import ArgumentParser
5-
from collections.abc import Sequence
64
import contextlib
75
import os
8-
from pathlib import Path
96
import platform
107
import re
118
import shlex
129
import shutil
1310
import subprocess
1411
import sys
12+
from argparse import ArgumentParser
13+
from collections.abc import Sequence
14+
from pathlib import Path
1515
from typing import Any, Union
1616

1717
import utils
1818

19-
2019
SUPPORTED_ARCHES = [
2120
'arm',
2221
'arm32_v5',

boot-uml.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
# pylint: disable=invalid-name
33

44
import argparse
5-
from pathlib import Path
65
import subprocess
6+
from pathlib import Path
77

88
import utils
99

buildroot/rebuild.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
#!/usr/bin/env python3
22

3-
from argparse import ArgumentParser
43
import datetime
54
import os
6-
from pathlib import Path
75
import shutil
86
import subprocess
7+
from argparse import ArgumentParser
8+
from pathlib import Path
99

1010
BUILDROOT_VERSION = '2024.02.8'
1111
SUPPORTED_ARCHES = [

utils.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
#!/usr/bin/env python3
22

3-
from collections.abc import Iterable
43
import json
54
import os
6-
from pathlib import Path
7-
import subprocess
85
import shutil
6+
import subprocess
97
import sys
8+
from collections.abc import Iterable
9+
from pathlib import Path
1010
from typing import Any, NoReturn, Optional, Union
1111

1212
BOOT_UTILS = Path(__file__).resolve().parent

0 commit comments

Comments
 (0)