Add a type checking pipeline (#1682)

* Integrate with mypy
This commit is contained in:
Vinícius Dantas
2019-09-22 17:55:36 -03:00
committed by 7
parent 927c0e082e
commit 6fc3381229
16 changed files with 115 additions and 53 deletions

View File

@@ -56,7 +56,7 @@ class BlueprintGroup(MutableSequence):
"""
return self._blueprints[item]
def __setitem__(self, index: int, item: object) -> None:
def __setitem__(self, index, item) -> None:
"""
Abstract method implemented to turn the `BlueprintGroup` class
into a list like object to support all the existing behavior.
@@ -69,7 +69,7 @@ class BlueprintGroup(MutableSequence):
"""
self._blueprints[index] = item
def __delitem__(self, index: int) -> None:
def __delitem__(self, index) -> None:
"""
Abstract method implemented to turn the `BlueprintGroup` class
into a list like object to support all the existing behavior.