advent-of-code/pyproject.toml

44 lines
1.1 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"
2024-12-02 16:08:50 +00:00
numpy = "^2.1.3"
tqdm = "^4.67.1"
parse = "^1.20.2"
scipy = "^1.14.1"
sympy = "^1.13.3"
networkx = "^3.4.2"
pandas = "^2.2.3"
2023-12-19 14:39:10 +00:00
[tool.poetry.group.dev.dependencies]
2024-12-02 16:08:50 +00:00
pyright = "^1.1.389"
2024-12-03 13:11:29 +00:00
ruff = "^0.8.1"
poethepoet = "^0.31.1"
2024-12-02 16:08:50 +00:00
ipykernel = "^6.29.5"
2023-12-30 18:35:06 +00:00
networkx-stubs = "^0.0.1"
types-networkx = "^3.4.2.20241115"
2023-12-19 14:39:10 +00:00
2024-12-03 13:11:29 +00:00
[tool.poetry.scripts]
holt59-aoc = "holt59.aoc.__main__:main"
[tool.poe.tasks]
format-imports = "ruff check --select I src --fix"
format-ruff = "ruff format src"
format.sequence = ["format-imports", "format-ruff"]
lint-ruff = "ruff check src"
lint-ruff-format = "ruff format --check src"
lint-pyright = "pyright src"
lint.sequence = ["lint-ruff", "lint-ruff-format", "lint-pyright"]
lint.ignore_fail = "return_non_zero"
2023-12-19 14:39:10 +00:00
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"