- New Settings screen (press 'x') for configuring app settings - Settings stored in data/settings.yaml (user-editable) - Editable fields: team abbrev, season, API URL, API key (masked), theme - Team validation against database before saving - Read-only team info display from database (name, sWAR cap, ID) - Load order: defaults -> .env -> settings.yaml - Added pyyaml dependency
33 lines
675 B
TOML
33 lines
675 B
TOML
[project]
|
|
name = "sba-scout"
|
|
version = "0.1.0"
|
|
description = "TUI application for SBA fantasy baseball scouting and team management"
|
|
readme = "README.md"
|
|
requires-python = ">=3.12"
|
|
dependencies = [
|
|
"aiosqlite>=0.22.1",
|
|
"httpx>=0.28.1",
|
|
"pydantic>=2.12.5",
|
|
"pydantic-settings>=2.12.0",
|
|
"pyyaml>=6.0",
|
|
"sqlalchemy>=2.0.46",
|
|
"textual>=7.3.0",
|
|
]
|
|
|
|
[project.scripts]
|
|
sba-scout = "sba_scout.app:main"
|
|
|
|
[tool.ruff]
|
|
line-length = 100
|
|
target-version = "py312"
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "I", "N", "W", "UP"]
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src/sba_scout"]
|