-
Notifications
You must be signed in to change notification settings - Fork 4
/
pyproject.toml
110 lines (99 loc) · 2.47 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
[project]
requires-python = ">=3.9"
[tool.ruff]
select = [
"E",
"W",
"F",
"I",
"N",
"D",
"ANN",
"Q",
"RET",
"ARG",
"PTH",
"PD",
] # See: https://beta.ruff.rs/docs/rules/
ignore = ["D203", "D213", "ANN101", "ANN102", "ANN204", "ANN001", "ANN002", "ANN202", "ANN201", "ANN206", "ANN003", "PTH100", "PTH110", "PTH118", "PTH123","PTH113", "PTH104"]
line-length = 100
exclude = [
".bzr",
".direnv",
".eggs",
".git",
".ruff_cache",
".svn",
".tox",
".venv",
"__pypackages__",
"_build",
"buck-out",
"build",
"dist",
"node_modules",
"venv",
]
[tool.ruff.pydocstyle]
convention = "numpy"
[tool.ruff.format]
quote-style = "double"
[tool.ruff.isort]
known-first-party = ["choice_learn", "config", "tests"]
[tool.bandit.assert_used]
exclude_dirs = ["tests/"]
[tool.pytest.ini_options]
pythonpath = ["./"]
testpaths = ["tests/"]
[tool.poetry]
name = "choice-learn"
version = "1.1.0"
description = "Large-scale choice modeling through the lens of machine learning."
authors = [
"artefactory <[email protected]>",
"VincentAuriau <[email protected]>"
]
homepage = "https://github.com/artefactory/choice-learn"
documentation = "https://artefactory.github.io/choice-learn"
license = "MIT"
readme = "README.md"
keywords = ["discrete", "choice", "model", "machine", "learning", "assortment", "pricing", "retail", "supermarket"]
packages = [{include = "choice_learn"}]
classifiers = [
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Mathematics",
"Topic :: Software Development"
]
[tool.poetry.dependencies]
python = ">=3.9, <3.13"
numpy = ">=1.24"
pandas = ">= 1.5.3"
tensorflow = ">=2.14, <2.17.0"
tensorflow-probability = ">=0.22"
tqdm = ">=4.0.0"
tf_keras = "<3"
ortools = { version = ">=9.6", optional = true }
gurobipy = { version = ">=11.0", optional = true }
[tool.poetry.group.dev.dependencies]
pytest = ">=7.3.2"
pre-commit = ">=3.3"
ipykernel = ">=6.9"
nbstripout = ">=0.7"
ruff = ">=0.1.2"
pytest-cov = ">=4.1"
pytest-xdist = ">=3.6"
codespell = ">=2.2"
python-markdown-math = ">=0.8"
[tool.poetry.group.docs.dependencies]
mkdocs = ">=1.5"
mkdocs-material = {extras = ["pygments"], version = ">=9.5.3"}
mkdocs-nbconvert = ">=0.2.1"
mkdocstrings-python = ">=1.10.8"
python-markdown-math = ">=0.8"
bandit = ">=1.7.5"
nbstripout = ">=0.7"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"