diff --git a/.coveragerc b/.coveragerc deleted file mode 100644 index 2f74e1948..000000000 --- a/.coveragerc +++ /dev/null @@ -1,12 +0,0 @@ -[run] -parallel = true -source = simsopt -relative_files = true - -[paths] -sources = - src/ - /**/lib/python3.8/site-packages - /**/lib/python3.9/site-packages - /**/lib/python3.10/site-packages - /**/lib/python3.11/site-packages diff --git a/pyproject.toml b/pyproject.toml index 2679ce84d..13f0e9298 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -113,5 +113,6 @@ source = ["simsopt"] [tool.coverage.paths] source = [ - "*/lib*/python*/site-packages/simsopt" + "src", + "/**/lib*/python*/site-packages" ]