From f36b260f57329cd04dba4bc94a85ac8ccc5776c2 Mon Sep 17 00:00:00 2001 From: Jacques Joubert Date: Thu, 14 Feb 2019 15:42:02 +0200 Subject: [PATCH] test poor coverage --- .coveragerc | 27 +++++++++++++++++++++++++++ .travis.yml | 2 +- scripts/coverage => coverage | 0 3 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 .coveragerc rename scripts/coverage => coverage (100%) diff --git a/.coveragerc b/.coveragerc new file mode 100644 index 000000000..5bf3032e4 --- /dev/null +++ b/.coveragerc @@ -0,0 +1,27 @@ +[run] +omit=mlfinlab/tests/* + scripts/* + /opt/conda/* + # Ensure we exclude any files in .local + */.local/* + */Users/* +branch=True + +# This config option is in v4.0a5 only supported on the command line +concurrency=multiprocessing + +[report] +partial_branches=True +show_missing=True +exclude_lines = + pragma: no cover + raise NotImplementedError + @abc.abstractmethod + @abc.abstractproperty + def _dependencies(self): + +[html] +directory=cover + +[xml] + diff --git a/.travis.yml b/.travis.yml index de14df2a3..054acba34 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,4 +15,4 @@ git: script: - python -m unittest discover - pylint mlfinlab --rcfile=.pylintrc -f text - - scripts/coverage \ No newline at end of file + - coverage \ No newline at end of file diff --git a/scripts/coverage b/coverage similarity index 100% rename from scripts/coverage rename to coverage