Skip to content

Commit

Permalink
Fix type hint
Browse files Browse the repository at this point in the history
  • Loading branch information
neoformit committed Nov 13, 2024
1 parent ee90b0b commit 34f3d85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/walle.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def __init__(self, record_file: str) -> None:
self.record_file.touch()
self._truncate_records()

def _get_jwds(self) -> Record:
def _get_jwds(self) -> List[str]:
return [record.jwd for record in self._read_records()]

Check failure on line 90 in files/walle.py

View workflow job for this annotation

GitHub Actions / pyright

Type "list[str | Path]" is not assignable to return type "List[str]" (reportReturnType)

def _read_records(self) -> List[Record]:
Expand Down

0 comments on commit 34f3d85

Please sign in to comment.