This repository was archived by the owner on Mar 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
77 lines (58 loc) · 1.45 KB
/
pyproject.toml
File metadata and controls
77 lines (58 loc) · 1.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
[tool.poetry]
name = "ddwp"
version = "0.1.0"
description = "Code for dynamic dispatch waves problem"
authors = [
"Leon Lan <l.lan@vu.nl>",
"Jasper van Doorn <j.m.h.van.doorn@vu.nl>",
"Niels Wouda <n.a.wouda@rug.nl>",
]
license = "MIT"
readme = "README.md"
packages = [
{ include = "ddwp" },
{ include = "experiments" }
]
[tool.poetry.dependencies]
python = "^3.9, <4.0"
numpy = "^1.22.2"
matplotlib = "^3.5.1"
tomli = "^2.0.1"
tqdm = "^4.64.0"
vrplib = "^1.0.1"
pyvrp = { git = "https://github.com/leonlan/dynamic-dispatch-waves.git", branch = "pyvrp" }
[tool.poetry.group.dev.dependencies]
black = "^22.6.0"
pre-commit = "^3.3.3"
[tool.poetry.group.tune]
optional = true
[tool.poetry.group.tune.dependencies]
tomli-w = "^1.0.0"
scipy = "^1.9.2"
[tool.poetry.scripts]
euro_neurips = "experiments.euro_neurips:main"
benchmark = "experiments.paper:main"
limited_fleet = "experiments.limited_fleet:main"
[tool.black]
line-length = 79
[tool.mypy]
ignore_missing_imports = true
plugins = ['numpy.typing.mypy_plugin']
[tool.ruff]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"C", # flake8-comprehensions
]
ignore = [
"E501", # line too long, handled by black
"C901", # too complex
"E741", # ambiguous variable name
]
[tool.ruff.per-file-ignores]
"__init__.py" = ["F401"]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"