gh-120417: Remove unused imports in Tools (#120623)

This commit is contained in:
Victor Stinner 2024-06-17 18:09:26 +02:00 committed by GitHub
parent 6acf7776ef
commit d9b4316374
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 3 additions and 6 deletions

View file

@ -1,7 +1,7 @@
import sys
try:
import layout
import layout # noqa: F401
except ImportError:
# Failed to import our package, which likely means we were started directly
# Add the additional search path needed to locate our module.

View file

@ -5,10 +5,10 @@
from collections import namedtuple
import hashlib
import os
import ntpath
import os
import posixpath
import argparse
from update_file import updating_file_with_tmpfile

View file

@ -1,8 +1,6 @@
#!/usr/bin/env python3
"""Check proposed changes for common issues."""
import re
import sys
import shutil
import os.path
import subprocess
import sysconfig

View file

@ -15,7 +15,6 @@
import operator
import os
import re
import sys
parser = argparse.ArgumentParser(