Add CLAUDE.md defining the Palladium master notebook conventions and Red Panda Approval criteria, plus a review-notebook slash command for LLM-driven notebook review. Expand .gitignore to block client/engagement documents and generated exports, keeping masters client-clean while allowing text/image sources. Normalize slider widget numeric values from floats to integers in notebook JSON.
50 lines
1.1 KiB
TOML
50 lines
1.1 KiB
TOML
[build-system]
|
|
requires = ["setuptools>=68"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "palladium"
|
|
version = "0.1.0"
|
|
description = "TEI (Total Economic Impact) Calculator — Palladium"
|
|
readme = "README.md"
|
|
requires-python = ">=3.11"
|
|
license = {file = "LICENSE"}
|
|
authors = [{name = "NTT Data"}]
|
|
dependencies = [
|
|
"requests>=2.31",
|
|
"python-dotenv>=1.0",
|
|
"pandas>=2.0",
|
|
"plotly>=5.18",
|
|
"numpy>=1.26",
|
|
"nbformat>=5.9",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
notebooks = ["jupyter>=1.0", "ipython>=8.0"]
|
|
dev = ["pytest>=7.4", "ruff>=0.1"]
|
|
|
|
[project.scripts]
|
|
palladium = "core.cli.main:main"
|
|
|
|
[tool.setuptools.packages.find]
|
|
include = ["core*", "palladium*"]
|
|
exclude = ["tests*", "studies*", "assessments*", "docs*"]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
python_files = ["test_*.py"]
|
|
addopts = "-q"
|
|
|
|
[tool.ruff]
|
|
line-length = 100
|
|
target-version = "py311"
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "I", "B", "UP", "W"]
|
|
ignore = ["E501"] # line length handled by formatter
|
|
|
|
[tool.ruff.lint.per-file-ignores]
|
|
"studies/*/notebooks/*.ipynb" = ["E402"]
|
|
"assessments/*/notebooks/*.ipynb" = ["E402"]
|
|
"tests/*" = ["F401"]
|