Skip to content

Instantly share code, notes, and snippets.

@gotofritz
Last active September 8, 2022 21:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gotofritz/b5800f01a52d1ba400d82cfd891029a2 to your computer and use it in GitHub Desktop.
Save gotofritz/b5800f01a52d1ba400d82cfd891029a2 to your computer and use it in GitHub Desktop.
fragments of pyproject.toml for new projects
[tool.poetry]
name = "my-project"
version = "0.1.0"
description = "It's my project, yo"
authors = ["gotofritz <gotofritz@users.noreply.github.com>"]
license = "MIT"
readme = "README.md"
homepage = "https://github.com/gotofritz/my-project"
repository = "https://github.com/gotofritz/my-project"
[tool.poetry.dependencies]
python = "3.10.4"
[tool.poetry.dev-dependencies]
black = "*"
darglint = "*"
flake8 = "*"
flake8-bugbear = "*"
flake8-docstrings = "*"
flake8-pytest-style = "*"
flakehell = "*"
isort = "*"
mypy = "*"
pep8-naming = "*"
pytest = "*"
[tool.black]
line-length = 88
target-version = ['py310']
include = '\.pyi?$'
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment