-
Notifications
You must be signed in to change notification settings - Fork 86
/
Copy pathpyproject.toml
85 lines (78 loc) · 1.91 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
[build-system]
requires = ["setuptools>=65", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "DoubleML"
version = "0.10.dev0"
description = "Double Machine Learning in Python"
readme = {file = "README.md", content-type = "text/markdown"}
authors = [
{name = "Bach, P., Chernozhukov, V., Klaassen, S., Kurz, M. S., and Spindler, M."}
]
maintainers = [
{name = "Sven Klaassen", email = "[email protected]"}
]
requires-python = ">=3.9"
dependencies = [
"joblib",
"numpy",
"pandas",
"scipy",
"scikit-learn>=1.4.0",
"statsmodels",
"matplotlib",
"plotly"
]
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent"
]
[project.optional-dependencies]
rdd = [
"rdrobust>=1.3.0"
]
dev = [
"pytest>=8.3.0",
"pytest-cov>=6.0.0",
"xgboost",
"lightgbm",
"black>=24.3.0",
"ruff>=0.5.1",
"pre-commit>=4.0.1",
]
[tool.black]
line-length = 127
target-version = ['py39', 'py310', 'py311']
preview = true
exclude = '''
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.mypy_cache
| \.vscode
| build
| dist
| doc/_build
)/
'''
[tool.ruff]
# max line length for black
line-length = 127
target-version = "py39"
[tool.ruff.lint]
# all rules can be found here: https://beta.ruff.rs/docs/rules/
select = ["E", "F", "W", "I"]
ignore = [
# Use `is` and `is not` for type comparisons, or `isinstance()` for
# isinstance checks
"E721",
]
[project.urls]
Documentation = "https://docs.doubleml.org"
Source = "https://github.com/DoubleML/doubleml-for-py"
"Bug Tracker" = "https://github.com/DoubleML/doubleml-for-py/issues"