Skip to content

Commit

Permalink
Move pytest configuration into pyproject.toml
Browse files Browse the repository at this point in the history
Having pytest configuration in setup.cfg if there is also a pyproject.toml could be suprising for some. Moving it to pyproject.toml allows us to completely remove the setup.cfg file, giving users one less place to look for it.
  • Loading branch information
matthias-bach-by committed May 31, 2024
1 parent 092d595 commit d319a5f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@ requires = ["setuptools>=64", "setuptools_scm>=8"]
build-backend = "setuptools.build_meta"

[tool.setuptools_scm]

[tool.pytest.ini_options]
addopts = "--cov-report= --cov=devpi_builder tests"
2 changes: 0 additions & 2 deletions setup.cfg

This file was deleted.

0 comments on commit d319a5f

Please sign in to comment.