Given an existing pyproject.toml:
[tool.black]
target-version = ['py37']
[tool.mypy]
python_version = "3.10"
The alembic command::
alembic init --template pyproject alembic
Modifies the file to contain::
[tool.black]
target-version = ['py37']
[tool.mypy]
python_version = "3.10"[tool.alembic]
# path to migration scripts.
Note the lack of newline(s) before [tool.alembic]. Ideally there should be 2.
Given an existing
pyproject.toml:The alembic command::
Modifies the file to contain::
Note the lack of newline(s) before
[tool.alembic]. Ideally there should be 2.