forked from PyJobShop/PyJobShop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
142 lines (113 loc) · 2.75 KB
/
pyproject.toml
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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
[project]
name = "pyjobshop"
version = "0.0.3a0"
description = "Solving scheduling problems with constraint programming."
authors = [
{ name = "Leon Lan", email = "[email protected]"},
]
license = { text = "MIT License" }
readme = "README.md"
keywords = [
"scheduling",
"constraint programming",
"job shop problem",
]
classifiers = [
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Development Status :: 5 - Production/Stable",
"Topic :: Software Development",
"Topic :: Scientific/Engineering",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
requires-python = ">=3.9,<3.13"
dependencies = [
"ortools>=9.10.4067,<10",
"matplotlib>=3.9.2",
"fjsplib",
"psplib>=0.1.0",
"tqdm>=4.66.5",
"tomli>=2.0.1",
]
[project.urls]
Homepage = "https://pyjobshop.org"
Documentation = "https://pyjobshop.org"
Repository = "https://github.com/PyJobShop/PyJobShop"
Issues = "https://github.com/PyJobShop/PyJobShop/issues"
[project.scripts]
pyjobshop = 'pyjobshop:cli.main'
[project.optional-dependencies]
docplex = [
"docplex>=2.28.240",
]
cplex = [
"cplex>=22.1.1.2",
]
[dependency-groups]
dev = [
"pre-commit>=3.8.0",
"pytest>=8.3.2",
"pytest-cov>=5.0.0",
"pytest-describe>=2.2.0",
"codecov>=2.1.13",
]
docs = [
"sphinx>=7.4.7",
"nbsphinx>=0.9.5",
"numpydoc>=1.8.0",
"sphinx-immaterial>=0.12.2",
]
examples = [
"jupyter>=1.0.0",
]
[tool.uv]
default-groups = ["dev"]
[tool.uv.sources]
fjsplib = { git = "https://github.com/PyJobShop/FJSPLIB.git", rev = "75b2d18" }
[tool.mypy]
ignore_missing_imports = true
[tool.black]
line-length = 79
[tool.ruff]
line-length = 79
extend-include = ["*.ipynb"]
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"C", # flake8-comprehensions
"B", # flake8-bugbear
]
ignore = [
"E741", # ambiguous variable name, needed for indexing
"C901", # too complex
]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"] # ignore unused module imports
[tool.ruff.lint.isort]
known-first-party = ["pyjobshop", "tests"]
known-third-party = ["ortools"]
[tool.pytest.ini_options]
addopts = "--cov=. --cov-report=xml"
testpaths = ["tests"]
[tool.coverage.run]
omit = [
"docs/*",
"tests/*",
"setup.py",
"cpo_config.py",
"conftest.py",
"pyjobshop/solvers/*",
"pyjobshop/cli.py",
"pyjobshop/show_versions.py"
]
[build-system]
requires = ["setuptools >= 61.0"]
build-backend = "setuptools.build_meta"