-
Notifications
You must be signed in to change notification settings - Fork 30
/
pyproject.toml
100 lines (83 loc) · 2.55 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
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "gama"
description = "A package for automated machine learning based on scikit-learn."
readme = "README.md"
authors= [{name = "Pieter Gijsbers", email="[email protected]"}]
license = {text = "MIT"}
#keywords = ..
classifiers = [
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
]
dynamic = ["version"]
requires-python = ">=3.9"
dependencies = [
"numpy>=1.20.0",
"scipy>=1.0.0",
"scikit-learn>=1.1.0,<1.3",
"pandas>=1.0",
"stopit>=1.1.1",
"liac-arff>=2.2.2",
"category-encoders>=1.2.8",
"black==24.3.0",
"psutil",
]
[project.optional-dependencies]
doc = ["sphinx", "sphinx_rtd_theme"]
test = [
"pre-commit==3.2.2",
"pytest>=4.4.0",
"pytest-mock",
"pytest-xdist",
"codecov",
"pytest-cov",
]
[urls]
github = "https://github.com/openml-labs/GAMA"
documentation = "https://openml-labs.github.io/gama/"
"bug tracker" = "https://github.com/openml-labs/gama/issues"
[project.scripts]
gama = "gama.utilities.cli:main"
[tool.setuptools.dynamic]
version = {attr = "gama.__version__.__version__"}
[tool.setuptools.packages.find]
include = ["gama*"] # package names should match these glob patterns (["*"] by default)
[tool.pytest.ini_options]
filterwarnings = [
"error",
"ignore::sklearn.exceptions.ConvergenceWarning",
"ignore::RuntimeWarning",
# Block a warning coming from scikit-learn internals about scipy.mode
"ignore:.*mode.*:FutureWarning",
# We have a CRON job checking for deprecation/future warnings,
# but we dont fail on them by default as they should not interfere with most PRs.
# We still print to ensure new warnings are not introduced by the change.
"default::PendingDeprecationWarning",
"default::DeprecationWarning",
"default::FutureWarning",
# We will (probably) get rid of category_encoders in 22.1+
"ignore:::category_encoders.target_encoder",
]
[tool.ruff]
[tool.ruff.per-file-ignores]
"__init__.py" = ["F401"]
[tool.mypy]
# See # https://mypy.readthedocs.io/en/latest/config_file.html
python_version=3.10
show_column_numbers = true
warn_redundant_casts = true
warn_unused_ignores = true
# warn_return_any=True
# warn_unreachable=True
#disallow_incomplete_defs=True
#disallow_untyped_defs=True
# Reports any config lines that are not recognized
warn_unused_configs = true
# Probably want to turn back on later:
#no_implicit_optional
ignore_missing_imports = true
# Following configuration are default, but made explicit:
warn_no_return = true