Skip to content

Commit

Permalink
add coverage.py path aliases with *.py suffix
Browse files Browse the repository at this point in the history
  • Loading branch information
tomkinsc committed Mar 22, 2024
1 parent 4f382e0 commit 2ae7da6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .coveragerc
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ disable_warnings =
module-not-imported
relative_files = True

#[paths]
#source =
# /
# /opt/viral-ngs/**/
# opt/viral-ngs/**/
[paths]
source =
/
/opt/viral-ngs/viral-*/*.py
opt/viral-ngs/viral-*/*.py

[report]
exclude_lines =
Expand Down
2 changes: 1 addition & 1 deletion conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,4 +186,4 @@ def pytest_terminal_summary(self, terminalreporter, exitstatus):
widths = [max(map(len, col)) for col in zip(*rows)]
for row in rows:
writer.write(" ".join((val.ljust(width) for val, width in zip(row, widths))))
writer.line()
writer.line(msg="")

0 comments on commit 2ae7da6

Please sign in to comment.