advent-of-code/pyproject.toml

53 lines
1.3 KiB
TOML
Raw Permalink 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"
sympy = "^1.13.3"
networkx = "^3.4.2"
2024-12-14 10:10:46 +00:00
pillow = "^11.0.0"
imageio = "^2.36.1"
2024-12-15 10:30:23 +00:00
pygifsicle = "^1.1.0"
2024-12-15 12:37:17 +00:00
opencv-python = "^4.10.0.84"
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-14 09:22:19 +00:00
[tool.poetry.group.cplex.dependencies]
docplex = "^2.28.240"
cplex = "^22.1.1.2"
[tool.poetry.group.ortools.dependencies]
ortools = "^9.11.4210"
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"