File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,8 @@ install: poetry install
18
18
19
19
script :
20
20
- flake8 .
21
- - mypy returns tests/**/*.py
21
+ - mypy returns ./tests/**/*.py
22
+ - mypy tests/test_io/test_ioresult_container/test_ioresult_bind.py
22
23
- pytest . docs/pages
23
24
- doc8 -q docs
24
25
- poetry check
Original file line number Diff line number Diff line change @@ -293,12 +293,12 @@ def map( # noqa: A003
293
293
return self .from_result (self ._inner_value .map (function ))
294
294
295
295
def bind (
296
- self : 'IOResult[_ValueType, _T ]' ,
296
+ self : 'IOResult[_ValueType, _ErrorType ]' ,
297
297
function : Callable [
298
298
[_ValueType ],
299
- 'IOResult[_NewValueType, _T ]' ,
299
+ 'IOResult[_NewValueType, _ErrorType ]' ,
300
300
],
301
- ) -> 'IOResult[_NewValueType, _T ]' :
301
+ ) -> 'IOResult[_NewValueType, _ErrorType ]' :
302
302
"""
303
303
Composes successful container with a function that returns a container.
304
304
You can’t perform that action at this time.
0 commit comments