Skip to content

Commit

Permalink
mypy 0.9 hint
Browse files Browse the repository at this point in the history
  • Loading branch information
gdraheim committed Jul 30, 2024
1 parent 7781c46 commit a0906ee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tabtotext.py
Original file line number Diff line number Diff line change
Expand Up @@ -2616,6 +2616,7 @@ def tabtotext(data: Iterable[JSONDict], # ..
unique = True
if "@nolegend" in spec:
legend = []
assert isinstance(tab, str) # mypy 0.9
# render
if fmt == "HTML":
return tabtoHTML(data, headers, selects, legend=legend, tab=tab, padding=padding, xmlns=xmlns, minwidth=minwidth)
Expand Down

0 comments on commit a0906ee

Please sign in to comment.