Skip to content

Commit 7e5985d

Browse files
committed
remove intermediate variable
1 parent 9a69593 commit 7e5985d

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

test.sh

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -152,17 +152,15 @@ set_ray_coveragerc()
152152

153153
show_coverage_report()
154154
{
155-
files_to_omit="fastmath.py,docstring.py,min_versions.py,ray_python_version.py,stumpy/cache.py,tests/test_cache.py,tests/test_fastmath.py"
156155
set_ray_coveragerc
157-
coverage report -m --fail-under=100 --skip-covered --omit=$files_to_omit $fcoveragerc
156+
coverage report -m --fail-under=100 --skip-covered --omit=fastmath.py,docstring.py,min_versions.py,ray_python_version.py,stumpy/cache.py,tests/test_cache.py,tests/test_fastmath.py $fcoveragerc
158157
}
159158

160159
gen_coverage_xml_report()
161160
{
162161
# This function saves the coverage report in Cobertura XML format, which is compatible with codecov
163-
files_to_omit="fastmath.py,docstring.py,min_versions.py,ray_python_version.py,stumpy/cache.py,tests/test_cache.py,tests/test_fastmath.py"
164162
set_ray_coveragerc
165-
coverage xml -o $fcoveragexml --fail-under=100 --omit=$files_to_omit $fcoveragerc
163+
coverage xml -o $fcoveragexml --fail-under=100 --omit=fastmath.py,docstring.py,min_versions.py,ray_python_version.py,stumpy/cache.py,tests/test_cache.py,tests/test_fastmath.py $fcoveragerc
166164
}
167165

168166
test_custom()

0 commit comments

Comments
 (0)