Skip to content

Commit e8b310a

Browse files
committed
Update .coveragerc
1 parent 859bdf2 commit e8b310a

1 file changed

Lines changed: 17 additions & 16 deletions

File tree

.coveragerc

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,26 @@
11
[run]
2-
branch = True
3-
include = wagtail_wordpress_import/*
4-
omit = */migrations/*,*/tests/*
5-
source=wagtail_wordpress_import
2+
source = src/wagtail_wordpress_import
3+
omit =
4+
*/migrations/*
5+
*/tests/*
6+
*/templates/*
7+
*/static/*
8+
*/static_src/*
9+
*/__pycache__/*
10+
*/__init__.py
611

712
[report]
8-
# Regexes for lines to exclude from consideration
913
exclude_lines =
10-
# Have to re-enable the standard pragma
1114
pragma: no cover
12-
13-
# Don't complain about missing debug-only code:
1415
def __repr__
15-
if self\.debug
16-
17-
# Don't complain if tests don't hit defensive assertion code:
18-
raise AssertionError
16+
def __str__
1917
raise NotImplementedError
20-
21-
# Don't complain if non-runnable code isn't run:
22-
if 0:
2318
if __name__ == .__main__.:
19+
pass
20+
raise ImportError
21+
22+
[html]
23+
directory = htmlcov
2424

25-
ignore_errors = True
25+
[xml]
26+
output = coverage.xml

0 commit comments

Comments
 (0)