Merge pull request #108 from magowiz/feature/test_coverage

Feature/test coverage
This commit is contained in:
Simone Robutti 2021-11-28 10:11:49 +01:00 committed by GitHub
commit 49b79de38f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

2
.coveragerc Normal file
View File

@ -0,0 +1,2 @@
[run]
omit = tests/*

View File

@ -36,3 +36,6 @@ build-backend = "poetry.core.masonry.api"
[tool.poetry.scripts]
mobilizon-reshare="mobilizon_reshare.cli.cli:mobilizon_reshare"
[tool.pytest.ini_options]
addopts = "--cov-config=.coveragerc --cov=. --cov-report term-missing tests/"