[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", "pydantic>=2.0", ] [project.optional-dependencies] # Инструменты разработки: `pip install -e ".[dev]"`. # ruff зафиксирован точной версией — вывод `ruff format` зависит от версии, # иначе CI-гейт `ruff format --check .` может «поплыть» после обновления. dev = [ "pytest>=8.0", "ruff==0.17.2", "coverage>=7.0", ] [project.scripts] cf = "infrastructure.cli.app: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"] addopts = "-ra --strict-markers" [tool.coverage.run] branch = true source = ["application", "domain", "infrastructure"] omit = ["*/tests/*"] [tool.coverage.report] show_missing = true skip_covered = true