-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
94 lines (82 loc) · 2.36 KB
/
pyproject.toml
File metadata and controls
94 lines (82 loc) · 2.36 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
90
91
92
93
94
[project]
name = "solvor"
version = "0.6.0"
description = "Solvor all your optimization needs."
readme = "README.md"
requires-python = ">=3.12"
dependencies = []
authors = [
{ name = "Steven Grond" }
]
license = { text = "Apache-2.0" }
keywords = ["optimization", "solver", "linear-programming", "sat", "metaheuristics", "operations-research"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Scientific/Engineering :: Mathematics",
]
[project.urls]
Website = "https://solvOR.ai"
Repository = "https://github.com/StevenBtw/solvOR"
PyPI = "https://pypi.org/project/solvOR/"
[project.optional-dependencies]
dev = [
"pytest>=9.0.2",
"pytest-cov>=7.0.0",
"ruff>=0.14.14",
"pre-commit>=4.5.1",
"ty>=0.0.14",
"maturin>=1.7,<2.0",
"prek>=0.3.1"
]
docs = [
"mkdocs>=1.6",
"mkdocs-material>=9.5",
"mkdocstrings[python]>=1.0.2",
"mkdocs-git-revision-date-localized-plugin>=1.5.1",
]
[build-system]
requires = ["maturin>=1.7,<2.0"]
build-backend = "maturin"
[tool.maturin]
features = ["pyo3/extension-module"]
python-source = "."
module-name = "solvor._solvor_rust"
manifest-path = "rust/Cargo.toml"
include = ["solvor/**/*.py", "py.typed", "LICENSE"]
[tool.ruff]
line-length = 120
exclude = ["examples"]
[tool.ruff.lint]
select = ["E", "F", "I", "UP"]
[tool.pytest.ini_options]
addopts = "--cov=solvor --cov-report=term-missing --cov-fail-under=88"
testpaths = ["tests"]
markers = [
"docs: documentation build tests (requires docs dependencies)",
"examples: all example integration tests",
"quick_examples: quick example scripts",
"classic: classic optimization examples",
"puzzles: puzzle examples (sudoku, n-queens, etc.)",
"graph_algorithms: graph algorithm examples",
"linear_programming: LP/MILP examples",
"machine_learning: ML examples",
"real_world: real-world application examples",
]
[tool.coverage.run]
source = ["solvor"]
omit = ["*/__init__.py"]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"if TYPE_CHECKING:",
"raise NotImplementedError",
]
[tool.ty.environment]
python-version = "3.14"
[tool.ty.rules]
invalid-argument-type = "ignore"