forked from Pabloo22/job_shop_lib
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
89 lines (75 loc) · 2.26 KB
/
pyproject.toml
File metadata and controls
89 lines (75 loc) · 2.26 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
78
79
80
81
82
83
84
85
86
87
88
89
[tool.poetry]
name = "job-shop-lib"
version = "1.6.0"
description = "An easy-to-use and modular Python library for the Job Shop Scheduling Problem (JSSP)"
authors = ["Pabloo22 <pablete.arino@gmail.com>"]
license = "MIT"
readme = "README.md"
packages = [{include = "job_shop_lib"}]
include = ["job_shop_lib/benchmarking/benchmark_instances.json", "job_shop_lib/py.typed"]
[tool.poetry.dependencies]
python = "^3.10"
ortools = [
{ version = "^9.9", markers = "sys_platform != 'darwin'" },
{ version = ">=9.9,<9.13", markers = "sys_platform == 'darwin'" }
]
matplotlib = "^3"
pyarrow = ">=15,<21" # An optional pandas' dependency that will be required in the future
networkx = "^3"
imageio = {extras = ["ffmpeg"], version = "^2.34.1"}
pygraphviz = {version = "^1.12", optional = true}
numpy = ">=1.26.4,<3.0.0"
gymnasium = "^1.0.0"
simanneal = "^0.5.0"
[tool.poetry.group.test]
optional = true
[tool.poetry.group.test.dependencies]
pytest = "^8.0.0"
pytest-cov = ">=4.1,<7.0"
pytest-mpl = "^0.17.0"
[tool.poetry.group.lint]
optional = true
[tool.poetry.group.lint.dependencies]
flake8 = "^7.0.0"
mypy = "^1.8.0"
pydoclint = {extras = ["flake8"], version = ">=0.5.9,<0.7.0"}
flake8-rst-docstrings = "^0.3.1"
black = "^25.1.0"
[tool.poetry.group.notebooks]
optional = true
[tool.poetry.group.notebooks.dependencies]
ipykernel = "^6.29.2"
nbconvert = "^7.16.0"
pandas = "^2.2.1"
[tool.poetry.group.docs]
optional = true
[tool.poetry.group.docs.dependencies]
sphinx = ">=7.3.7,<9.0.0"
furo = "^2024.5.6"
nbsphinx = "^0.9.4"
nbsphinx-link = "^1.3.0"
myst-parser = ">=3.0.1,<5.0.0"
pandoc = "^2.3"
pygments = "^2.18.0"
ipython = "^8.31.0"
[tool.poetry.extras]
pygraphviz = ["pygraphviz"]
[build-system]
requires = ["poetry-core==1.8.2"] # Enforces specific Poetry version
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 79
[tool.mypy]
files = ["job_shop_lib"]
check_untyped_defs = true
ignore_missing_imports = true
warn_redundant_casts = true
warn_unused_configs = true
warn_unused_ignores = false
[tool.pytest.ini_options]
filterwarnings = [
"ignore::DeprecationWarning:google._upb._message:488",
"ignore::DeprecationWarning:importlib._bootstrap:488"
]
mpl-baseline-path = "tests/visualization/baseline"
addopts = "--cov=job_shop_lib --cov-report lcov:lcov.info --mpl"