From 42b743a5ef07d3c75524df3e58acd65e9f85456f Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Thu, 24 Oct 2024 16:05:08 -0500 Subject: Fix linting and typing errors. --- r_qtl/r_qtl2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'r_qtl') diff --git a/r_qtl/r_qtl2.py b/r_qtl/r_qtl2.py index 5b926d1..c6307f5 100644 --- a/r_qtl/r_qtl2.py +++ b/r_qtl/r_qtl2.py @@ -566,7 +566,7 @@ def read_text_file(filepath: Union[str, Path]) -> Iterator[str]: def read_csv_file(filepath: Union[str, Path], separator: str = ",", - comment_char: str = "#") -> Iterator[str]: + comment_char: str = "#") -> Iterator[tuple[str, ...]]: """Read a file as a csv file.""" for line in read_text_file(filepath): if line.startswith(comment_char): -- cgit v1.2.3