This commit is contained in:
Chris Pyles 2021-05-15 13:23:29 -07:00
Родитель 3fe3e12596
Коммит 338c082808
2 изменённых файлов: 11 добавлений и 1 удалений

10
.coveragerc Normal file
Просмотреть файл

@ -0,0 +1,10 @@
[report]
exclude_lines =
# Have to re-enable the standard pragma
pragma: no cover
# Don't complain if tests don't hit defensive assertion code:
raise NotImplementedError
# Don't complain about the bodies of abstract functions
\.\.\.

Просмотреть файл

@ -149,7 +149,7 @@ class Annotation(ABC):
Returns:
``bool``: whether the objects are equal
"""
return self is other
...
def before(self, other_annotation: "Annotation", **kwargs) -> "BeforeAnnotation":
"""