Skip to content

Commit 1a2468f

Browse files
authored
[Blocking CI] Fix pep8 error about unused imports (#9090)
1 parent 81145ca commit 1a2468f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pytorch_lightning/loops/dataloader/evaluation_loop.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
from typing import Any, Iterator, List, Optional, Sequence, Union
15+
from typing import Any, List, Optional, Sequence, Union
1616

1717
from deprecate.utils import void
1818
from torch.utils.data.dataloader import DataLoader

pytorch_lightning/loops/fit_loop.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
import logging
1616
from contextlib import suppress
17-
from typing import Iterator, Optional
17+
from typing import Optional
1818

1919
from pytorch_lightning.loops import Loop
2020
from pytorch_lightning.loops.epoch import TrainingEpochLoop

0 commit comments

Comments
 (0)