sunga25's picture
Create pyproject.toml
3a78ef9 verified
raw
history blame
677 Bytes
[tool.poetry]
name = "python-template"
version = "0.1.0"
description = ""
authors = ["Your Name <you@example.com>"]
[tool.poetry.dependencies]
python = ">=3.10.0,<3.12"
numpy = "^2.1.1"
pandas = "^2.2.2"
scikit-learn = "^1.5.1"
torch = "^2.4.0"
matplotlib = "^3.9.2"
optuna = "^4.0.0"
h5py = "^3.11.0"
[tool.pyright]
# https://github.com/microsoft/pyright/blob/main/docs/configuration.md
useLibraryCodeForTypes = true
exclude = [".cache"]
[tool.ruff]
# https://beta.ruff.rs/docs/configuration/
select = ['E', 'W', 'F', 'I', 'B', 'C4', 'ARG', 'SIM']
ignore = ['W291', 'W292', 'W293']
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"