forked from artefactory/choice-learn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
109 lines (97 loc) · 2.35 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
[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", "ANN202", "ANN201", "ANN206", "ANN003", "PTH100", "PTH118", "PTH123"]
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.ruff.lint]
[tool.bandit.assert_used]
exclude_dirs = ["tests/"]
[tool.pytest.ini_options]
pythonpath = ["./"]
[tool.poetry]
name = "choice-learn"
version = "0.0.5"
description = "Large-scale choice modeling through the lens of machine learning."
authors = [
"artefactory <vincent.auriau@artefact.com>",
"VincentAuriau <vincent.auriau.dev@gmail.com>"
]
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.0"
numpy = "^1.24.3"
pandas = "^1.5.3"
tensorflow = "^2.14.0"
tensorflow-probability = "^0.22.1"
tqdm = "^4.0.0"
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"
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.7.5"
python-markdown-math = "^0.8"
bandit = "^1.7.5"
nbstripout = "^0.7"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"