The pyproject.toml file
In package mode, the only required fields are name and version
(either in the project section or in the tool.poetry section).
Other fields are optional.
In non-package mode, the name and version fields are required
if using the project section.
Note
Run poetry check to …