Skip to content

Commit 4cbdb8e

Browse files
committed
Version bump to 1.4.0
1 parent 9e674dc commit 4cbdb8e

1 file changed

Lines changed: 13 additions & 5 deletions

File tree

s_tui/helper_functions.py

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737

3838
from collections import OrderedDict
3939

40-
__version__ = "1.3.0"
40+
__version__ = "1.4.0"
4141

4242
_DEFAULT = object()
4343
POSIX = os.name == "posix"
@@ -136,7 +136,8 @@ def output_to_csv(sources: dict, csv_writeable_file: str) -> None:
136136
for prob, val in source.get_sensors_summary().items():
137137
csv_dict[prefix + prob] = val
138138

139-
csv_dict["Throttle"] = _get_throttle_label([s.source for s in summaries])
139+
csv_dict["Throttle"] = _get_throttle_label(
140+
[s.source for s in summaries])
140141

141142
fieldnames = list(csv_dict.keys())
142143
writer = csv.DictWriter(csvfile, fieldnames=fieldnames)
@@ -302,11 +303,18 @@ def _open_text(fname: str, **kwargs: Any) -> IO[str]:
302303

303304

304305
@overload
305-
def cat(fname: str, fallback: object = ..., *, binary: Literal[True]) -> bytes: ...
306+
def cat(fname: str, fallback: object = ..., *,
307+
binary: Literal[True]) -> bytes: ...
308+
309+
306310
@overload
307-
def cat(fname: str, fallback: object = ..., *, binary: Literal[False]) -> str: ...
311+
def cat(fname: str, fallback: object = ...,
312+
*, binary: Literal[False]) -> str: ...
313+
314+
308315
@overload
309-
def cat(fname: str, fallback: object = ..., binary: bool = ...) -> bytes | str: ...
316+
def cat(fname: str, fallback: object = ...,
317+
binary: bool = ...) -> bytes | str: ...
310318

311319

312320
def cat(fname, fallback=_DEFAULT, binary=True):

0 commit comments

Comments
 (0)