-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
124 lines (107 loc) · 3.05 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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
[project]
name = "Auto-Sklong"
description = "A package for automated machine learning based on scikit-learn and sklong to tackle the longitudinal machine learning classificationt tasks."
readme = "README.md"
version = "0.0.4"
authors = [
{ name = "Pieter Gijsbers", email = "[email protected]" },
{ name = "Provost Simon", email = "[email protected]" },
]
license = { text = "MIT" }
classifiers = [
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
]
requires-python = ">=3.9,<3.10"
dependencies = [
"numpy==1.23.3",
"scipy>=1.5.0",
"pandas<2.0.0,>=1.5.3",
"stopit>=1.1.2",
"liac-arff>=2.2.2",
"category-encoders>=1.2.8",
"black>=23.10.1",
"psutil",
"configspace<1.0.0,>=0.7.1",
"smac==2.1.0",
"Scikit-longitudinal>=0.0.7",
"urllib3==1.26.6",
]
[dependency-groups]
test = [
"pre-commit==3.2.2",
"pytest>=4.4.0",
"pytest-mock",
"pytest-xdist",
"codecov",
"pytest-cov",
]
experiments = [
"seaborn==0.13.2",
]
doc = [
"mkdocs==1.6.0",
"mkdocs-get-deps==0.2.0",
"mkdocs-material==9.5.27",
"mkdocs-material[imaging]",
"mkdocs-material-extensions==1.3.1",
"mkdocs-minify-plugin==0.8.0"
]
[urls]
github = "https://github.com/simonprovost/Auto-Sklong"
documentation = "https://simonprovost.github.io/Auto-Sklong/"
"bug tracker" = "https://github.com/simonprovost/Auto-Sklong/issues"
[project.scripts]
gama = "gama.utilities.cli:main"
[tool.uv]
default-groups = []
package = true
override-dependencies = [
"scikit-learn ; sys_platform == 'never'",
]
[tool.setuptools]
py-modules = []
license-files = []
[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"]
"bayesian_optimisation.py" = ["E501"]
[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
# 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
######
#
# SCRIPTS CANNOT BE RUN IN UV
# THEREFORE, THE SCRIPTS SECTION IS COMMENTED OUT
#
#####
# uv run pytest -sv tests/unit
# uv run pytest -sv tests/system
# uv run pre-commit run --all-files
# uv run mkdocs serve