-
Notifications
You must be signed in to change notification settings - Fork 7
/
pyproject.toml
92 lines (84 loc) · 2.18 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
[tool.poetry]
name = "skgrf"
version = "0.3.0"
description = "python bindings for C++ generalized random forests (grf)"
authors = ["flynn <[email protected]>"]
build = "build.py"
license = "GPL-3.0-or-later"
readme = "README.rst"
homepage = "https://github.com/crflynn/skgrf"
repository = "https://github.com/crflynn/skgrf"
documentation = "https://github.com/crflynn/skgrf"
include = [
{ path="skgrf/grf/**/*" },
{ path="CHANGELOG.rst", format="sdist" },
{ path="LICENSE.txt", format="sdist" },
{ path="README.rst", format="sdist" },
]
keywords = ["generalized", "random", "forest", "machine", "learning"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Programming Language :: C++",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering",
]
[tool.poetry.dependencies]
python = "^3.8"
scikit-learn = "^1.0"
[tool.poetry.dev-dependencies]
pytest = "^6.1.2"
Sphinx = "^3.3.1"
Cython = "^3.0a5"
pytest-cov = "^2.10.1"
sphinx-rtd-theme = "^0.5.1"
pandas = "^1.0.3"
pytest-xdist = "^2.2.1"
shap = {version = "^0.40.0", python = "<3.9"} # llvm/numba doesnt work on 3.9
matplotlib = {version = "^3.4.2", python = ">=3.7,<4.0.0"}
black = "^22.3.0"
isort = "^5.10.1"
cibuildwheel = "^2.5.0"
[build-system]
requires = ["poetry-core", "setuptools", "cython", "oldest-supported-numpy"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 88
target-version = ['py38']
include = '\.pyi?$'
exclude = '''
(
/(
\.eggs
| \.circleci
| \.git
| \.github
| \.hg
| \.mypy_cache
| \.pytest_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
)
'''
[tool.isort]
force_single_line = true
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
line_length = 88
[tool.pytest.ini_options]
filterwarnings = [
"ignore:divide by zero encountered in log:RuntimeWarning",
"ignore:Skipping check_sample_weights_invariance:sklearn.exceptions.SkipTestWarning",
]
[tool.cibuildwheel]
build = ["cp38-*"]
archs = ["auto"]