Best Practices in Modern Software Development: Reproducible environments
Specifying optional dependencies in pyproject.toml
[project.optional-dependencies]
test = [
"pytest",
"pytest-cov",
]
dev = [
"pdbpp",
"ipython",
"tbump",
"pre-commit",
"pip-tools",
]
all = [
"my-project[test,dev]"
]