Skip to content

Commit

Permalink
Fix flake8 issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ariebovenberg committed Nov 28, 2021
1 parent c3e167f commit 13cbf95
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions returns/contrib/pytest/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class ReturnsAsserts(object):

__slots__ = ()

@staticmethod
@staticmethod # noqa: WPS602
def assert_equal( # noqa: WPS602
first,
second,
Expand All @@ -55,12 +55,12 @@ def assert_equal( # noqa: WPS602
from returns.primitives.asserts import assert_equal
assert_equal(first, second, deps=deps, backend=backend)

@staticmethod
@staticmethod # noqa: WPS602
def is_error_handled(container) -> bool: # noqa: WPS602
"""Ensures that container has its error handled in the end."""
return id(container) in _ERRORS_HANDLED

@staticmethod
@staticmethod # noqa: WPS602
@contextmanager
def assert_trace( # noqa: WPS602
trace_type: _ReturnsResultType,
Expand Down

0 comments on commit 13cbf95

Please sign in to comment.