diff --git a/pyproject.toml b/pyproject.toml index 1891e09..f01770d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -61,3 +61,6 @@ test = [ [project.urls] Repository="https://github.com/halcy/Mastodon.py" Documentation="https://mastodonpy.readthedocs.io/" + +[tool.pytest.ini_options] +addopts = "--cov=mastodon" diff --git a/setup.cfg b/setup.cfg index 6cf90a9..459ffba 100644 --- a/setup.cfg +++ b/setup.cfg @@ -8,6 +8,3 @@ all_files = 1 [aliases] test=pytest - -[tool:pytest] -addopts = --cov=mastodon