Replace broken type annotations with type comments

Fixes #3635.
This commit is contained in:
Vlad Shcherbina 2018-07-15 16:58:39 +03:00
parent 0565a7a4e1
commit 58e77f58bd
2 changed files with 3 additions and 2 deletions

View File

@ -0,0 +1 @@
Replace broken type annotations with type comments.

View File

@ -136,9 +136,9 @@ class Mark(object):
#: name of the mark
name = attr.ib(type=str)
#: positional arguments of the mark decorator
args = attr.ib(type="List[object]")
args = attr.ib() # type: List[object]
#: keyword arguments of the mark decorator
kwargs = attr.ib(type="Dict[str, object]")
kwargs = attr.ib() # type: Dict[str, object]
def combined_with(self, other):
"""