-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathpyproject.toml
More file actions
53 lines (44 loc) · 1.08 KB
/
Copy pathpyproject.toml
File metadata and controls
53 lines (44 loc) · 1.08 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
[build-system]
requires = ["setuptools>=68", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "dualip"
version = "5.0.1"
description = "Extreme-scale linear programming with a first-order projected dual-ascent solver and a modular API for problem-specific components."
readme = { file = "README.md", content-type = "text/markdown" }
license = { file = "LICENSE" }
requires-python = ">=3.10"
dependencies = [
"torch>=2.6.0",
"mlflow"
]
[project.optional-dependencies]
dev = [
"flake8",
"black",
"isort",
"pytest",
"pre-commit",
]
[project.urls]
Repository = "https://github.com/linkedin/DuaLip"
[tool.setuptools]
package-dir = { "" = "src" }
[tool.setuptools.packages.find]
where = ["src"]
include = ["dualip*"]
[tool.pytest.ini_options]
# Keep src layout honest; no pythonpath hacks.
testpaths = ["tests"]
addopts = ["-ra"]
log_cli = true
log_cli_level = "INFO"
[tool.black]
line-length = 120
[tool.isort]
profile = "black"
line_length = 120
[tool.flake8]
max-line-length = 120
extend-ignore = ["E203","W503"] # matches Black
exclude = [".git", "__pycache__"]