Skip to content

Commit 7ad6e3b

Browse files
committed
[Build] Fix Python linting issues.
The Python linter was complaining about import orders. rdar://123503470
1 parent deaa7d4 commit 7ad6e3b

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

utils/swift_build_support/swift_build_support/products/llvm.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
# ----------------------------------------------------------------------------
1212

1313
import os
14-
import errno
1514
import shutil
1615
from platform import system
1716

utils/swift_build_support/swift_build_support/targets.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,9 @@
88
# See https://swift.org/LICENSE.txt for license information
99
# See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
1010

11-
import atexit
12-
import contextlib
1311
import os
14-
import platform
1512
import importlib.resources
13+
import platform
1614

1715
from . import cmake
1816
from . import shell

0 commit comments

Comments
 (0)