mirror of
https://github.com/ArthurDanjou/ArtStudies.git
synced 2026-01-14 18:59:59 +01:00
83 lines
1.5 KiB
TOML
83 lines
1.5 KiB
TOML
[project]
|
|
name = "studies"
|
|
version = "0.1.0"
|
|
description = "A curated collection of mathematics and data science projects developed during my academic journey."
|
|
readme = "README.md"
|
|
requires-python = ">=3.12"
|
|
dependencies = [
|
|
"ipykernel>=6.29.5",
|
|
"keras>=3.11.3",
|
|
"matplotlib>=3.10.1",
|
|
"nbformat>=5.10.4",
|
|
"numpy>=2.2.5",
|
|
"opencv-python>=4.11.0.86",
|
|
"pandas>=2.2.3",
|
|
"plotly>=6.3.0",
|
|
"scikit-learn>=1.6.1",
|
|
"scipy>=1.15.2",
|
|
"seaborn>=0.13.2",
|
|
"tensorflow>=2.20.0",
|
|
]
|
|
|
|
[dependency-groups]
|
|
dev = [
|
|
"ipykernel>=6.29.5",
|
|
"uv>=0.6.16",
|
|
]
|
|
|
|
[tool.ty.rules]
|
|
index-out-of-bounds = "ignore"
|
|
|
|
[tool.ruff]
|
|
extend-include = ["*.ipynb"]
|
|
line-length = 88
|
|
|
|
[tool.ruff.lint]
|
|
# Activer les règles de linting courantes
|
|
select = [
|
|
"E", # pycodestyle errors
|
|
"W", # pycodestyle warnings
|
|
"F", # Pyflakes
|
|
"I", # isort
|
|
"B", # flake8-bugbear
|
|
"C4", # flake8-comprehensions
|
|
"UP", # pyupgrade
|
|
]
|
|
|
|
# Désactiver certaines règles
|
|
ignore = [
|
|
"E501", # line too long, géré par le formatter
|
|
]
|
|
|
|
# Exclure certains fichiers ou répertoires
|
|
exclude = [
|
|
".bzr",
|
|
".direnv",
|
|
".eggs",
|
|
".git",
|
|
".hg",
|
|
".mypy_cache",
|
|
".nox",
|
|
".pants.d",
|
|
".pytype",
|
|
".ruff_cache",
|
|
".svn",
|
|
".tox",
|
|
".venv",
|
|
"__pypackages__",
|
|
"_build",
|
|
"buck-out",
|
|
"build",
|
|
"dist",
|
|
"node_modules",
|
|
"venv",
|
|
]
|
|
|
|
# Permettre à Ruff de corriger automatiquement certaines erreurs
|
|
fixable = ["ALL"]
|
|
unfixable = []
|
|
|
|
# Formatage des imports
|
|
[isort]
|
|
known-third-party = ["pydantic", "django"]
|