Skip to content

Commit e593000

Browse files
committed
Added coveragerc file
1 parent 5a068c0 commit e593000

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

.coveragerc

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
[report]
2+
exclude_lines =
3+
pragma: no cover
4+
def __repr__
5+
def __str__
6+
if self.debug:
7+
if settings.DEBUG
8+
raise AssertionError
9+
raise NotImplementedError
10+
if 0:
11+
if __name__ == .__main__.:
12+
class .*\bProtocol\):
13+
@(abc\.)?abstractmethod

ellar/compatible/cache_properties.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
try:
77
from functools import cached_property
8-
except (Exception,):
8+
except (Exception,): # pragma: no cover
99

1010
class _CachedProperty(property, t.Generic[T]):
1111
def __init__(

0 commit comments

Comments
 (0)