[project] name = "trading-platform" version = "0.1.0" description = "US stock trading platform" requires-python = ">=3.12" [tool.pytest.ini_options] asyncio_mode = "auto" testpaths = ["shared/tests", "services", "cli/tests", "tests"] addopts = "--import-mode=importlib" [tool.ruff] target-version = "py312" line-length = 100 [tool.ruff.lint] select = ["E", "W", "F", "I", "B", "UP", "ASYNC", "PERF", "C4", "RUF"] ignore = ["E501", "RUF012", "B008", "ASYNC240"] [tool.ruff.lint.per-file-ignores] "tests/*" = ["F841"] "*/tests/*" = ["F841"] [tool.ruff.lint.isort] known-first-party = ["shared"] [tool.coverage.run] branch = true source = ["shared/src", "services"] omit = ["*/tests/*", "*/alembic/*"] [tool.coverage.report] fail_under = 60 show_missing = true exclude_lines = [ "pragma: no cover", "if __name__", "if TYPE_CHECKING", ]