chore: remove unused imports in our python scripts (#25406)
Seen at https://lgtm.com/projects/g/electron/electron/?mode=list&id=py%2Funused-import and confirmed with manual inspection.
This commit is contained in:
parent
70e3aa0182
commit
9b08fbefe5
13 changed files with 5 additions and 27 deletions
|
@ -3,7 +3,6 @@
|
|||
from __future__ import print_function
|
||||
import argparse
|
||||
import datetime
|
||||
import errno
|
||||
import hashlib
|
||||
import json
|
||||
import mmap
|
||||
|
@ -12,18 +11,16 @@ import shutil
|
|||
import subprocess
|
||||
from struct import Struct
|
||||
import sys
|
||||
import tempfile
|
||||
|
||||
sys.path.append(
|
||||
os.path.abspath(os.path.dirname(os.path.abspath(__file__)) + "/../.."))
|
||||
|
||||
from io import StringIO
|
||||
from zipfile import ZipFile
|
||||
from lib.config import PLATFORM, get_target_arch, get_env_var, s3_config, \
|
||||
get_zip_name
|
||||
from lib.util import get_electron_branding, execute, get_electron_version, \
|
||||
scoped_cwd, s3put, get_electron_exec, \
|
||||
get_out_dir, SRC_DIR, ELECTRON_DIR
|
||||
s3put, get_electron_exec, get_out_dir, \
|
||||
SRC_DIR, ELECTRON_DIR
|
||||
|
||||
|
||||
ELECTRON_REPO = 'electron/electron'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue