advent-of-code/pyproject.toml

46 lines
1.0 KiB
TOML
Raw Normal View History

2023-12-19 14:39:10 +00:00
[tool.poetry]
name = "holt59-advent-of-code"
version = "0.1.0"
description = ""
authors = ["Mikael CAPELLE <capelle.mikael@gmail.com>"]
license = "MIT"
readme = "README.md"
packages = [{ include = "holt59", from = "src" }]
[tool.poetry.dependencies]
python = "^3.10"
numpy = "^1.26.2"
tqdm = "^4.66.1"
[tool.poetry.scripts]
holt59-aoc = "holt59.aoc.__main__:main"
[tool.poe.tasks]
lint-black = "black --check --diff src tests typings"
lint-isort = "isort -c src tests typings"
lint-ruff = "ruff src tests typings"
lint-flake8 = "flake8 src tests typings"
lint-pyright = "pyright src tests"
lint-all.sequence = [
"lint-black",
"lint-isort",
"lint-flake8",
"lint-ruff",
"lint-pyright",
]
lint-all.ignore_fail = "return_non_zero"
[tool.poetry.group.dev.dependencies]
flake8 = "^6.1.0"
flake8-black = "^0.3.6"
black = "^23.12.0"
pyright = "^1.1.341"
mypy = "^1.7.1"
isort = "^5.13.2"
ruff = "^0.1.8"
poethepoet = "^0.24.4"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"