Skip to content

Commit 8ddc7bd

Browse files
committed
Fix linting
1 parent 20c32b3 commit 8ddc7bd

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

torchtune/datasets/_alpaca.py

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

77
from functools import partial
88

9-
from typing import Any, Dict, Optional, Union, Callable
9+
from typing import Any, Callable, Dict, Optional, Union
1010

1111
from torchtune.data._messages import AlpacaToMessages
1212

torchtune/datasets/multimodal/_llava_instruct.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# LICENSE file in the root directory of this source tree.
66

77
from pathlib import Path
8-
from typing import Any, Dict, Optional, Callable
8+
from typing import Any, Callable, Dict, Optional
99

1010
from torchtune.data._messages import ShareGPTToMessages
1111
from torchtune.datasets._sft import SFTDataset

torchtune/datasets/multimodal/_multimodal.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# LICENSE file in the root directory of this source tree.
66

77
from pathlib import Path
8-
from typing import Any, Dict, Optional, Callable
8+
from typing import Any, Callable, Dict, Optional
99

1010
from torchtune.data._messages import ShareGPTToMessages
1111
from torchtune.datasets._sft import SFTDataset

torchtune/datasets/multimodal/_the_cauldron.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# This source code is licensed under the BSD-style license found in the
55
# LICENSE file in the root directory of this source tree.
66

7-
from typing import Any, Dict, Mapping, Optional, Callable
7+
from typing import Any, Callable, Dict, Mapping, Optional
88

99
from torchtune.data._messages import Message
1010
from torchtune.datasets._sft import SFTDataset

0 commit comments

Comments
 (0)