-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
75 lines (63 loc) · 1.71 KB
/
pyproject.toml
File metadata and controls
75 lines (63 loc) · 1.71 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
[build-system]
requires = ["setuptools>=68", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "onlinecml"
version = "1.1.0"
description = "Online Causal Machine Learning in Python"
readme = "README.md"
license = "MIT"
requires-python = ">=3.10"
keywords = [
"causal inference", "online learning", "streaming",
"treatment effects", "uplift modeling", "machine learning"
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dependencies = [
"river>=0.23",
"numpy>=2.0",
"scipy>=1.10",
"matplotlib>=3.7",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0",
"pytest-cov",
"pytest-benchmark",
"ruff",
"mypy",
"hypothesis",
]
docs = [
"mkdocs-material",
"mkdocstrings[python]",
]
[project.urls]
Homepage = "https://onlinecml.org"
Documentation = "https://docs.onlinecml.org"
Repository = "https://github.com/athammad/onlinecml"
Issues = "https://github.com/athammad/onlinecml/issues"
[tool.setuptools.packages.find]
where = ["."]
include = ["onlinecml*"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "--cov=onlinecml --cov-report=term-missing --cov-fail-under=90"
[tool.ruff]
line-length = 100
[tool.ruff.lint]
select = ["E", "F", "I", "B", "N"]
ignore = ["N803", "N806"] # allow uppercase X, W, Y (causal inference convention)
[tool.coverage.run]
omit = ["onlinecml/datasets/real_world.py"]
[tool.mypy]
python_version = "3.12"
disallow_untyped_defs = true
ignore_missing_imports = true