[tool.poetry] name = "holt59-advent-of-code" version = "0.1.0" description = "" authors = ["Mikael CAPELLE "] license = "MIT" readme = "README.md" packages = [{ include = "holt59", from = "src" }] [tool.poetry.dependencies] python = "^3.10" numpy = "^2.1.3" tqdm = "^4.67.1" parse = "^1.20.2" sympy = "^1.13.3" networkx = "^3.4.2" [tool.poetry.group.dev.dependencies] pyright = "^1.1.389" ruff = "^0.8.1" poethepoet = "^0.31.1" ipykernel = "^6.29.5" networkx-stubs = "^0.0.1" types-networkx = "^3.4.2.20241115" [tool.poetry.group.cplex.dependencies] docplex = "^2.28.240" cplex = "^22.1.1.2" [tool.poetry.group.ortools.dependencies] ortools = "^9.11.4210" [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" [build-system] requires = ["poetry-core"] build-backend = "poetry.core.masonry.api"