Skip to content

Commit 2e8652f

Browse files
committed
Fix type annotations again
1 parent d81dbab commit 2e8652f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

can/bridge.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
from typing import (
1515
Iterator,
1616
List,
17+
Tuple,
1718
)
1819

1920
import can
@@ -59,10 +60,10 @@ def get_config_list(it: Iterator[str], separator: str, conf: list) -> None:
5960

6061
def split_configurations(
6162
arg_list: List[str], separator: str = "--"
62-
) -> (list, list, list):
63+
) -> Tuple[list, list, list]:
6364
general = []
64-
conf_a = []
65-
conf_b = []
65+
conf_a: List[str] = []
66+
conf_b: List[str] = []
6667

6768
found_sep = False
6869
it = iter(arg_list)

0 commit comments

Comments
 (0)