Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
madarrays
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
skmad-suite
madarrays
Commits
265dcad9
Commit
265dcad9
authored
6 years ago
by
Florent Jaillet
Browse files
Options
Downloads
Patches
Plain Diff
Use setup.cfg for coverage configuration
parent
07f0add8
Branches
master
Tags
v1.1.2
No related merge requests found
Pipeline
#1492
passed
6 years ago
Stage: test
Changes
4
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.coveragerc
+0
-26
0 additions, 26 deletions
.coveragerc
VERSION
+1
-1
1 addition, 1 deletion
VERSION
madarrays/__init__.py
+1
-1
1 addition, 1 deletion
madarrays/__init__.py
setup.cfg
+23
-0
23 additions, 0 deletions
setup.cfg
with
25 additions
and
28 deletions
.coveragerc
deleted
100644 → 0
+
0
−
26
View file @
07f0add8
[run]
branch = True
source = madarrays
include = */madarrays/*
omit =
*/setup.py
*/__init__.py
*/test_*
[report]
exclude_lines =
pragma: no cover
if self.debug:
if settings.DEBUG
raise AssertionError
raise NotImplementedError
if 0:
if __name__ == .__main__.:
if obj is None: return
if verbose > 0:
if self.verbose > 0:
if verbose > 1:
if self.verbose > 1:
pass
def __str__(self):
This diff is collapsed.
Click to expand it.
VERSION
+
1
−
1
View file @
265dcad9
madarrays:1.1.
1
madarrays:1.1.
2
This diff is collapsed.
Click to expand it.
madarrays/__init__.py
+
1
−
1
View file @
265dcad9
...
...
@@ -51,4 +51,4 @@ from .mad_array import MadArray
from
.waveform
import
Waveform
__all__
=
[
'
MadArray
'
,
'
Waveform
'
]
__version__
=
"
1.1.
1
"
__version__
=
"
1.1.
2
"
This diff is collapsed.
Click to expand it.
setup.cfg
+
23
−
0
View file @
265dcad9
...
...
@@ -5,3 +5,26 @@ addopts = --verbose
--cov-report
=
html
--cov
=
madarrays
--doctest-modules
[coverage:run]
branch
=
True
source
=
madarrays
include
=
*/madarrays/*
omit
=
*/tests/*
[coverage:report]
exclude_lines
=
pragma:
no
cover
if
self.debug:
if
settings.DEBUG
raise
AssertionError
raise
NotImplementedError
if
0:
if
__name__
=
= .__main__.:
if
obj
is
None:
return
if
verbose
>
0:
if
self.verbose
>
0:
if
verbose
>
1:
if
self.verbose
>
1:
pass
def
__str__(self):
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