Skip to content

Commit 2384763

Browse files
committed
ENH: Remove unused imports
1 parent fe45165 commit 2384763

4 files changed

Lines changed: 2 additions & 6 deletions

File tree

‎scripts/archive/linux_venv_utils.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
import shutil
2929
import subprocess
3030
from pathlib import Path
31-
from typing import Dict, Iterable, List, Mapping, Sequence, Tuple
31+
from typing import List, Mapping, Sequence
3232

3333
try:
3434
from shutil import which # type: ignore

‎scripts/cmake_argument_builder.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
annotations,
33
) # Needed for python 3.9 to support python 3.10 style typehints
44

5-
from typing import Dict, Iterable, Iterator, Mapping, MutableMapping, Tuple
5+
from typing import Dict, Iterable, Iterator, Mapping, Tuple
66

77

88
def drop_quotes(s: str) -> str:

‎scripts/macos_build_python_instance.py‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,10 @@
33
) # Needed for python 3.9 to support python 3.10 style typehints
44

55
import copy
6-
import os
76
from os import environ
87
from pathlib import Path
98

109
from build_python_instance_base import BuildPythonInstanceBase
11-
import shutil
1210

1311
from wheel_builder_utils import _remove_tree
1412

‎scripts/windows_build_python_instance.py‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,11 @@
33
) # Needed for python 3.9 to support python 3.10 style typehints
44

55
import copy
6-
import os
76
from os import environ
87
from pathlib import Path
98

109
from build_python_instance_base import BuildPythonInstanceBase
1110

12-
import shutil
1311

1412
from wheel_builder_utils import push_dir, _remove_tree
1513

0 commit comments

Comments
 (0)