Poetry stuff.
This commit is contained in:
45
pyproject.toml
Normal file
45
pyproject.toml
Normal file
@@ -0,0 +1,45 @@
|
||||
[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"
|
||||
Reference in New Issue
Block a user