Skip to content

Commit

Permalink
refactor: Omit logger from coverage reports
Browse files Browse the repository at this point in the history
  • Loading branch information
sellth committed Sep 18, 2023
1 parent 76fa3cc commit 690a19c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions requirements/test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ pytest-cache >=1.0
pytest-cov >=2.4.0
pytest-mock >=2.0.0

# Coverage for covreports
coverage >= 7.2.0

# Faking of file systems
pyfakefs >=3.7.1

Expand Down
5 changes: 5 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ testpaths = tests
omit =
cubi_tk/_version.py

# exclude logger lines from test coverage
[coverage:report]
exclude_also =
logger.

# See the docstring in versioneer.py for instructions. Note that you must
# re-run 'versioneer.py setup' after changing this section, and commit the
# resulting files.
Expand Down

0 comments on commit 690a19c

Please sign in to comment.