-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
56 lines (50 loc) · 1.16 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
[project]
name = "scheduling"
version = "0.1.0"
description = "Online scheduling for stochastic cooperative jobs"
authors = [
{name = "Jan Behrens", email = "[email protected]"},
{name = "Marina Ionova", email = "[email protected]"},
]
dependencies = [
"numpy>=1.24.1",
"ortools>=9.5.2237",
"networkx>=3.0",
"matplotlib>=3.6.2",
"pandas>=1.5.3",
"streamlit>=1.26.0",
"altair>=4.2.2",
"graphviz",
"pytest",
"pydantic<2",
"tqdm",
"scipy",
"hypothesis",
"dask[complete]"
]
requires-python = ">=3.10"
readme = "README.md"
license = {text = "MIT"}
[tool.pdm.dev-dependencies]
test = [
"pytest>=7.4.3",
"coverage>=7.3.2",
"hypothesis>=6.98.1",
]
lint = [
"black>=23.10.1",
"ruff>=0.1.3",
]
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[tool.pdm]
distribution = true
[tool.pdm.scripts]
test = "pytest -v tests/"
coverage = "coverage run --source src -m pytest tests/"
post_coverage = "coverage xml"
ruff = "ruff check src tests examples"
black = "black --check --diff --verbose src tests"
format = "black src tests examples"
lint = { composite = ["ruff", "black"] }