Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 0 additions & 18 deletions .coveragerc

This file was deleted.

19 changes: 19 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,22 @@ ignore =
N805,
N806,
N812,

[coverage:run]
branch = True
source = RestrictedPython
omit =
# Tests are classically not part of source code
# and should not be calculated into coverage sum
# on the other hand, the coverage tools do a handy job on highlighting
# code branches and tests that that did not get executed.
# Therefore we include tests into coverage analysis for the moment.
#tests/*.py
#src/RestrictedPython/tests
#src/RestrictedPython/tests/*.py

[coverage:report]
precision = 2

[coverage:html]
directory = reports/coverage