add pytest coverage configuration
This commit is contained in:
parent
1efa191771
commit
d60c5eabfb
|
@ -0,0 +1,2 @@
|
||||||
|
[run]
|
||||||
|
omit = tests/*
|
|
@ -36,3 +36,6 @@ build-backend = "poetry.core.masonry.api"
|
||||||
|
|
||||||
[tool.poetry.scripts]
|
[tool.poetry.scripts]
|
||||||
mobilizon-reshare="mobilizon_reshare.cli.cli:mobilizon_reshare"
|
mobilizon-reshare="mobilizon_reshare.cli.cli:mobilizon_reshare"
|
||||||
|
|
||||||
|
[tool.pytest.ini_options]
|
||||||
|
addopts = "--cov-config=.coveragerc --cov=. --cov-report html tests/"
|
||||||
|
|
Loading…
Reference in New Issue