Poetry minimal project starter template
This pyproject.toml
file includes only the required sections for Poetry, ‘must-have’ dependencies for strict
development, and configuration settings for each tool:
[tool.poetry]
name = "minimal-starter"
version = "0.1.0"
description = "Minimal starter template"
authors = [
"Gytis Karčiauskas <gytis@karciauskas.lt>",
]
[tool.poetry.dependencies]
python = "^3.11"
[tool.poetry.group.dev.dependencies]
black = "^23.3.0"
isort = "^5.12.0"
pylint = "^2.17.4"
mypy = "^1.3.0"
[tool.black]
line-length = 120
[tool.isort]
profile = "black"
line_length = 120
[tool.pylint]
[tool.pylint.'MASTER']
disable = [
"missing-docstring"
]
[tool.pylint.'FORMAT']
max-line-length = 120
load-plugins = [
"pylint.extensions.typing"
]
[tool.mypy]
strict = true
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"