@@ -36,7 +36,7 @@ class Result(
3636 def map (
3737 self ,
3838 function : Callable [[_ValueType ], _NewValueType ],
39- ) -> 'Result[_NewValueType, _ErrorType]' :
39+ ) -> 'Result[_NewValueType, _ErrorType]' : # pragma: no cover
4040 """Abstract method to compose container with pure function."""
4141 raise NotImplementedError ()
4242
@@ -46,15 +46,15 @@ def bind(
4646 function : Callable [
4747 [_ValueType ], 'Result[_NewValueType, _NewErrorType]' ,
4848 ],
49- ) -> 'Result[_NewValueType, _NewErrorType]' :
49+ ) -> 'Result[_NewValueType, _NewErrorType]' : # pragma: no cover
5050 """Abstract method to compose container with other container."""
5151 raise NotImplementedError ()
5252
5353 @abstractmethod
5454 def fix (
5555 self ,
5656 function : Callable [[_ErrorType ], _NewValueType ],
57- ) -> 'Result[_NewValueType, _ErrorType]' :
57+ ) -> 'Result[_NewValueType, _ErrorType]' : # pragma: no cover
5858 """Abstract method to compose container with pure function."""
5959 raise NotImplementedError ()
6060
@@ -64,25 +64,25 @@ def rescue(
6464 function : Callable [
6565 [_ErrorType ], 'Result[_NewValueType, _NewErrorType]' ,
6666 ],
67- ) -> 'Result[_NewValueType, _NewErrorType]' :
67+ ) -> 'Result[_NewValueType, _NewErrorType]' : # pragma: no cover
6868 """Abstract method to compose container with other container."""
6969 raise NotImplementedError ()
7070
7171 @abstractmethod
7272 def value_or (
7373 self ,
7474 default_value : _NewValueType ,
75- ) -> Union [_ValueType , _NewValueType ]:
75+ ) -> Union [_ValueType , _NewValueType ]: # pragma: no cover
7676 """Get value or default value."""
7777 raise NotImplementedError ()
7878
7979 @abstractmethod
80- def unwrap (self ) -> _ValueType :
80+ def unwrap (self ) -> _ValueType : # pragma: no cover
8181 """Get value or raise exception."""
8282 raise NotImplementedError ()
8383
8484 @abstractmethod
85- def failure (self ) -> _ErrorType :
85+ def failure (self ) -> _ErrorType : # pragma: no cover
8686 """Get failed value or raise exception."""
8787 raise NotImplementedError ()
8888
0 commit comments