move to .coveragerc

This commit is contained in:
sneakers-the-rat 2023-09-05 22:37:41 -07:00
parent 2e1130c3f6
commit ce5cd18212
2 changed files with 13 additions and 13 deletions

10
nwb_linkml/.coveragerc Normal file
View file

@ -0,0 +1,10 @@
[run]
branch = true
source = [
"nwb_linkml"
]
omit = [
"*/nwb_schema_language/*",
"*/nwb_linkml/models/*",
"*/tests/*"
]

View file

@ -64,21 +64,11 @@ build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options] [tool.pytest.ini_options]
addopts = [ addopts = [
"--cov", "--cov=nwb_linkml",
"--cov-append" "--cov-append",
"--cov-config=.coveragerc"
] ]
testpaths = [ testpaths = [
"tests", "tests",
'nwb_linkml/tests' 'nwb_linkml/tests'
] ]
[tool.coverage.run]
branch = true
source = [
"nwb_linkml"
]
omit = [
"*/nwb_schema_language/*",
"*/nwb_linkml/models/*"
]