bancaditalia / black-it

Black-box abm calibration kit by the Bank of Italy
https://bancaditalia.github.io/black-it/
GNU Affero General Public License v3.0
42 stars 2 forks source link

dev: use poetry's post 1.2 format for specifying dev dependencies #88

Open muxator opened 4 days ago

muxator commented 4 days ago

From https://python-poetry.org/docs/managing-dependencies/#dependency-groups:

A note about defining a dev dependencies group

The proper way to define a dev dependencies group since Poetry 1.2.0 is the following:

[tool.poetry.group.dev.dependencies]
pytest = "^6.0.0"
pytest-mock = "*"

This group notation is preferred since Poetry 1.2.0 and not usable in earlier versions.

[...]

Poetry will slowly transition away from the dev-dependencies notation which will soon be deprecated, so it’s advised to migrate your existing development dependencies to the new group notation.