forked from MAIF/eurybia
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
99 lines (88 loc) · 2.53 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
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "eurybia"
version = "1.3.1"
authors = [
{name = "Nicolas Roux"},
{name = "Thomas Bouché", email = "[email protected]"},
{name = "Johann Martin"},
]
description = "Eurybia monitor model drift over time and securize model deployment with data validation"
readme = "README.md"
requires-python = ">=3.9"
license = {text = "Apache Software License 2.0"}
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 :: Apache Software License",
"Operating System :: OS Independent",
]
dependencies = [
"pandas>=2",
"catboost>=1.0.1",
"panel>=1.4.1",
"ipywidgets>=7.4.2",
"jinja2>=2.11.0",
"scipy>=1.4.0",
"seaborn>=0.10.1",
"shapash>=2.0.0",
"jupyter",
"plotly",
]
[project.optional-dependencies] # Optional
all = ["eurybia[dev, test, mypy, ruff]"]
dev = ["pre-commit", "mypy", "ruff"]
test = ["pytest", "pytest-cov"]
mypy = ["mypy"]
ruff = ["ruff"]
[tool.setuptools]
package-dir = {"" = "."}
[tool.setuptools.packages.find]
where = ["."]
[tool.setuptools.package-data]
"*" = ["*.csv", "*json", "*.yml", "*.css", "*.js", "*.png"]
[tool.pytest.ini_options]
testpaths = ["tests"]
[tool.mypy]
exclude = ["tests", "tutorial"]
ignore_missing_imports = true
[tool.ruff]
line-length = 120
exclude = [
"tests",
"docs",
"tutorial",
]
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"F", # pyflakes
"W", # pycodestyle warnings
"A", # flake8-builtins
"PLC", # pylint conventions
"PLE", # pylint errors
"PLW", # pylint warnings
"UP", # pyupgrade
"S", # flake8-bandit,
"B", # flake8-bugbear
"I", # isort
"D", # pydocstyle
"NPY", # NumPy-specific rules
]
ignore = ["E501", "D2", "D3", "D4", "D104", "D100", "D106", "S311"]
exclude = ["tests/*"]
[tool.ruff.lint.per-file-ignores]
"eurybia/core/smartdrift.py" = ["S301", "B006", "B008", "B904"]
"eurybia/core/smartplotter.py" = ["D107", "B006"]
"eurybia/data/data_loader.py" = ["S310"]
"eurybia/report/common.py" = ["D105", "S301"]
"eurybia/report/generation.py" = ["D103", "PLW2901", "B006"]
"eurybia/report/project_report.py" = ["S701", "B904", "B007"]
"eurybia/utils/io.py" = ["S301"]
"eurybia/utils/statistical_tests.py" = ["A002"]
"eurybia/utils/utils.py" = ["UP031"]