diff --git a/coverage.conf b/.coveragerc similarity index 59% rename from coverage.conf rename to .coveragerc index 685a7383b..fb5d8b860 100644 --- a/coverage.conf +++ b/.coveragerc @@ -9,9 +9,13 @@ exclude_lines = pragma: no cover if __name__ == .__main__.: +# General support infrastructure (third-party libs, testing machinery) +# that we don't bother covering. omit = */__main__.py llvmlite/enum.py llvmlite/six.py + llvmlite/_version.py + llvmlite/tests/customize.py [html] diff --git a/run_coverage.py b/run_coverage.py index c2dd35291..d0d0fec82 100644 --- a/run_coverage.py +++ b/run_coverage.py @@ -20,7 +20,7 @@ # otherwise some lines will be missed. config_file = os.path.join( os.path.dirname(os.path.dirname(__file__)), - 'coverage.conf') + '.coveragerc') os.environ['COVERAGE_PROCESS_START'] = config_file cov = coverage.coverage(config_file=config_file) cov.start()