|
|
[build-system] |
|
|
requires = ["flit_core >=3.2,<4"] |
|
|
build-backend = "flit_core.buildapi" |
|
|
|
|
|
[project] |
|
|
name = "projet_05" |
|
|
version = "1.1.1" |
|
|
description = "D\u00e9ployez un mod\u00e8le de Machine Learning" |
|
|
authors = [ |
|
|
{ name = "St\u00e9phane Manet" }, |
|
|
] |
|
|
license = { file = "LICENSE" } |
|
|
readme = "README.md" |
|
|
classifiers = [ |
|
|
"Programming Language :: Python :: 3", |
|
|
"License :: OSI Approved :: MIT License" |
|
|
] |
|
|
dependencies = [ |
|
|
"loguru", |
|
|
"mkdocs", |
|
|
"pip", |
|
|
"pytest", |
|
|
"pytest-cov", |
|
|
"python-dotenv", |
|
|
"ruff", |
|
|
"tqdm", |
|
|
"typer", |
|
|
"imbalanced-learn (>=0.14.0,<0.15.0)", |
|
|
"scikit-learn (>=1.4.2,<2.0.0)", |
|
|
"matplotlib (>=3.10.7,<4.0.0)", |
|
|
"numpy (>=2.3.4,<3.0.0)", |
|
|
"pandas (>=2.3.3,<3.0.0)", |
|
|
"pyyaml (>=6.0.3,<7.0.0)", |
|
|
"scipy (>=1.16.3,<2.0.0)", |
|
|
"seaborn (>=0.13.2,<0.14.0)", |
|
|
"shap (>=0.49.1,<0.50.0)", |
|
|
"gradio (>=5.49.1,<6.0.0)", |
|
|
"joblib (>=1.4.2,<2.0.0)", |
|
|
"mkdocstrings[python] (>=0.30.1,<0.31.0)", |
|
|
"sqlalchemy (>=2.0.0,<3.0.0)", |
|
|
"psycopg[binary] (>=3.1.8,<4.0.0)" |
|
|
] |
|
|
|
|
|
requires-python = ">=3.11,<3.13" |
|
|
|
|
|
|
|
|
[tool.ruff] |
|
|
line-length = 99 |
|
|
src = ["projet_05"] |
|
|
include = ["pyproject.toml", "projet_05/**/*.py"] |
|
|
|
|
|
[tool.ruff.lint] |
|
|
extend-select = ["I"] |
|
|
|
|
|
[tool.ruff.lint.isort] |
|
|
known-first-party = ["projet_05"] |
|
|
force-sort-within-sections = true |
|
|
|
|
|
[tool.pytest.ini_options] |
|
|
addopts = "--cov=projet_05 --cov=scripts --cov-report=term-missing --cov-report=xml" |
|
|
testpaths = [ |
|
|
"tests", |
|
|
] |
|
|
|