Merge pull request #3684 from Vlad-Shcherbina/type_comments

Replace broken type annotations with type comments
This commit is contained in:
Bruno Oliveira 2018-07-15 11:52:12 -03:00 committed by GitHub
commit 771d3e8f4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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):
"""