Skip to content

Commit 13e33da

Browse files
committed
fixed pyright
1 parent e26bb00 commit 13e33da

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

progressbar/bar.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,9 @@ def __init__(
207207
super().__init__(**kwargs)
208208

209209
def _apply_line_offset(
210-
self, fd: base.TextIO, line_offset: int,
210+
self,
211+
fd: base.TextIO,
212+
line_offset: int,
211213
) -> base.TextIO:
212214
if line_offset:
213215
return progressbar.terminal.stream.LineOffsetStreamWrapper(

tox.ini

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@ commands = mypy {toxinidir}/progressbar
2727
[testenv:pyright]
2828
changedir =
2929
basepython = python3
30-
deps = pyright
30+
deps =
31+
pyright
32+
python_utils
3133
commands = pyright {toxinidir}/progressbar
3234

3335
[testenv:black]

0 commit comments

Comments
 (0)