Inheritable pytest configuration #13173
Labels
topic: config
related to config handling, argument parsing and config file
type: proposal
proposal for a new feature, often to gather opinions or design the API around the new feature
Hi, thanks for making pytest!
I'm trying out a monorepo setup which has a
pyproject.toml
file at the root level and one per sub-project in the monorepo. Ideally, I'd like to set something likeonly once in the root-level
pyproject.toml
file and the sub-projects automatically inherits that setting unless overridden in their respectivepyproject.toml
. Another possibility would be to do it like ruff (see https://docs.astral.sh/ruff/settings/#extend). So something like this in the sub-project'spyproject.toml
Cheers!
The text was updated successfully, but these errors were encountered: