Files
ArtStudies/pyproject.toml
Arthur DANJOU b4c5eb9d19 Refactor code for improved readability and consistency across notebooks
- Standardized spacing around operators and function arguments in TP7_Kmeans.ipynb and neural_network.ipynb.
- Enhanced the formatting of model building and training code in neural_network.ipynb for better clarity.
- Updated the pyproject.toml to remove a specific TensorFlow version and added linting configuration for Ruff.
- Improved comments and organization in the code to facilitate easier understanding and maintenance.
2025-07-01 20:46:08 +02:00

73 lines
1.3 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",
"matplotlib>=3.10.1",
"numpy>=2.2.5",
"opencv-python>=4.11.0.86",
"pandas>=2.2.3",
"scikit-learn>=1.6.1",
]
[dependency-groups]
dev = [
"ipykernel>=6.29.5",
"uv>=0.6.16",
]
[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
]
# Longueur de ligne
line-length = 88
# 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"]