Skip to content

Commit c768718

Browse files
committed
pythongh-120417: Remove unused imports in Tools
1 parent c2d5df5 commit c768718

File tree

4 files changed

+3
-6
lines changed

4 files changed

+3
-6
lines changed

PC/layout/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import sys
22

33
try:
4-
import layout
4+
import layout # noqa: F401
55
except ImportError:
66
# Failed to import our package, which likely means we were started directly
77
# Add the additional search path needed to locate our module.

Tools/build/freeze_modules.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55

66
from collections import namedtuple
77
import hashlib
8-
import os
98
import ntpath
9+
import os
1010
import posixpath
11-
import argparse
11+
1212
from update_file import updating_file_with_tmpfile
1313

1414

Tools/patchcheck/patchcheck.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
#!/usr/bin/env python3
22
"""Check proposed changes for common issues."""
3-
import re
43
import sys
5-
import shutil
64
import os.path
75
import subprocess
86
import sysconfig

Tools/ssl/make_ssl_data.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
import operator
1616
import os
1717
import re
18-
import sys
1918

2019

2120
parser = argparse.ArgumentParser(

0 commit comments

Comments
 (0)