- Move cashflow_model/ -> domain/ - Move engine/ -> application/ - Move cli/, sync/, ai/ -> infrastructure/ - Update all imports across codebase and tests - Add version=1 to FinancialModel.to_dict() with migration hook in from_dict - Update pyproject.toml: cf entry point and packages.find Tests: 63/63 pass.
31 lines
665 B
TOML
31 lines
665 B
TOML
[build-system]
|
|
requires = ["setuptools>=68.0"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "cashflow-forecast"
|
|
version = "0.1.0"
|
|
description = "Личная финансовая модель с прогнозом денежных потоков"
|
|
requires-python = ">=3.11"
|
|
dependencies = [
|
|
"openpyxl>=3.1",
|
|
"typer>=0.9",
|
|
"rich>=13.0",
|
|
]
|
|
|
|
[project.scripts]
|
|
cf = "infrastructure.cli.main:app"
|
|
|
|
[tool.setuptools.packages.find]
|
|
include = ["domain*", "application*", "infrastructure*"]
|
|
|
|
[tool.ruff]
|
|
target-version = "py311"
|
|
line-length = 120
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "I", "N", "W"]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|