Skip to content

Commit

Permalink
Update pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
halcy committed Jun 10, 2023
1 parent 703bddf commit bc9f35c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,10 @@ Documentation="https://mastodonpy.readthedocs.io/"

[tool.pytest.ini_options]
addopts = "--cov=mastodon"

# Workaround for some "autodiscovery" issue in setuptools? maybe? I don't know.
# setuptools and pyproject.toml docs seem to be intent on making everyone continue
# the proud lineage of everyone just cargo-culting their makefiles.
[tool.setuptools.packages.find]
where = ["."] # list of folders that contain the packages (["."] by default)
include = ["mastodon*"] # package names should match these glob patterns (["*"] by default)

0 comments on commit bc9f35c

Please sign in to comment.