Poetry project setup
This commit is contained in:
34
pyproject.toml
Normal file
34
pyproject.toml
Normal file
@@ -0,0 +1,34 @@
|
||||
[tool.poetry]
|
||||
name = "advent-of-code-2022"
|
||||
version = "0.1.0"
|
||||
description = ""
|
||||
authors = ["Adrian Rumpold <a.rumpold@gmail.com>"]
|
||||
readme = "README.md"
|
||||
packages = []
|
||||
|
||||
[tool.poetry.dependencies]
|
||||
python = "^3.10"
|
||||
|
||||
[tool.poetry.group.dev.dependencies]
|
||||
black = "^22.12.0"
|
||||
isort = "^5.11.2"
|
||||
pytest = "^7.2.0"
|
||||
doit = "^0.36.0"
|
||||
flake8 = "^6.0.0"
|
||||
|
||||
[build-system]
|
||||
requires = ["poetry-core"]
|
||||
build-backend = "poetry.core.masonry.api"
|
||||
|
||||
[tool.black]
|
||||
# Source https://github.com/psf/black#configuration-format
|
||||
include = "\\.pyi?$"
|
||||
line-length = 88
|
||||
target-version = ["py39"]
|
||||
|
||||
# Black-compatible settings for isort
|
||||
# See https://black.readthedocs.io/en/stable/compatible_configs.html
|
||||
[tool.isort]
|
||||
line_length = "88"
|
||||
profile = "black"
|
||||
known_first_party = ["solution"]
|
||||
Reference in New Issue
Block a user