How to reuse pyproject.toml in monorepo with Poetry?

Viewed 445

There are multiple projects in my monorepo, which has package management via Poetry individually. For instance,

monorepo
├── a
│   └── pyproject.toml
├── b
│   └── pyproject.toml
└── c
    └── pyproject.toml

Each project has its own sessions for [tool.poetry.dependencies] and [tool.poetry.dev-dependencies]. However, they did share huge amount of common configs such as

  • [tool.taskipy.tasks]
  • [tool.isort]
  • [tool.black]
  • ...

My question is how to define common configs which could be reused for monorepo projects?

0 Answers
Related