-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpyproject.toml
60 lines (50 loc) · 1.29 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
[tool.poetry]
name = "sddip"
version = "0.1.0"
description = "Stochastic Dual Dynamic Integer Programming"
authors = ["Leo Schleier <[email protected]>"]
license = "MIT"
readme = "docs/README.md"
keywords = ["sddip"]
homepage = "https://github.com/leoschleier/sddip"
# See: https://pypi.org/classifiers/
classifiers = [
"Programming Language :: Python :: 3.12",
]
[tool.poetry.dependencies]
python = "~3.12"
pandas = "^2.2.3"
gurobipy = "^12.0.0"
scipy = "^1.14.1"
matplotlib = "^3.10.0"
numpy = "^2.2.1"
[tool.poetry.group.dev.dependencies]
ruff = "^0.7.4"
pyright = "^1.1.391"
pytest = "^8.3.4"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.pyright]
venvPath = "."
venv = ".venv"
typeCheckingMode = "basic"
pythonVersion = "3.12"
[tool.ruff]
line-length = 79
target-version = "py312"
[tool.ruff.lint]
select = ["ALL"]
ignore = [
"ANN401", # Use of typing.Any
"COM812", # Missing trailing comma (formatter)
"ISC001", # Single line implicit string concatenation (formatter)
]
fixable = ["ALL"]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["E401"] # Unused import
"tests/*" = ["S101"] # Use of assert detected
[tool.ruff.lint.pycodestyle]
max-doc-length = 72
[tool.ruff.lint.pydocstyle]
convention = "google"