Skip to content

Commit e27b46f

Browse files
committed
[fix] Address flake8 issues
1 parent a8981a9 commit e27b46f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

autoPyTorch/datasets/base_dataset.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from abc import ABCMeta
2-
from typing import Any, Dict, List, Optional, Sequence, Tuple, Union, cast
32
import os
3+
from typing import Any, Dict, List, Optional, Sequence, Tuple, Union, cast
44
import uuid
55

66
import numpy as np
@@ -124,7 +124,7 @@ def __init__(
124124
self.resampling_strategy_args = resampling_strategy_args
125125
self.task_type: Optional[str] = None
126126
self.issparse: bool = issparse(self.train_tensors[0])
127-
self.input_shape: Tuple[int] = self.train_tensors[0].shape[1:]
127+
self.input_shape: Tuple[int] = self.train_tensors[0].shape[1:]
128128

129129
if len(self.train_tensors) == 2 and self.train_tensors[1] is not None:
130130
self.output_type: str = type_of_target(self.train_tensors[1])

0 commit comments

Comments
 (0)