Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bdaq53
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
silab
bdaq53
Commits
53ca1159
Commit
53ca1159
authored
4 years ago
by
DavidLP
Browse files
Options
Downloads
Patches
Plain Diff
ENH: define what to cover better
parent
6116f7a0
No related branches found
No related tags found
Tags containing commit
2 merge requests
!418
Release v1.5.0
,
!387
Increase scan testing coverage
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.coveragerc
+5
-1
5 additions, 1 deletion
.coveragerc
with
5 additions
and
1 deletion
.coveragerc
+
5
−
1
View file @
53ca1159
# .coveragerc to control coverage.py
# .coveragerc to control coverage.py
[run]
[run]
branch = True
#
branch = True
# statement coverage instead of branch coverage is sufficient right now
[report]
[report]
# Regexes for lines to exclude from consideration
# Regexes for lines to exclude from consideration
...
@@ -8,6 +8,10 @@ exclude_lines =
...
@@ -8,6 +8,10 @@ exclude_lines =
# Have to re-enable the standard pragma
# Have to re-enable the standard pragma
pragma: no cover
pragma: no cover
if __name__ == .__main__.:
@numba.njit
@njit
def __repr__
# Don't complain if tests don't hit defensive assertion code:
# Don't complain if tests don't hit defensive assertion code:
raise AssertionError
raise AssertionError
raise NotImplementedError
raise NotImplementedError
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment