Files
atm/pyproject.toml
Claude Agent 6cf4b7a570 chore: fix pyright type errors; add pyright config
- Cast res.color to DotColor in run_live loop.
- Add [tool.pyright] extraPaths to pyproject.toml for IDE resolution.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-15 22:26:57 +00:00

44 lines
808 B
TOML

[build-system]
requires = ["setuptools>=68", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "atm"
version = "0.1.0"
description = "M2D Trading Monitor — TradeStation chart watcher, Discord/Telegram notifier"
requires-python = ">=3.11"
dependencies = [
"numpy>=1.26",
"opencv-python>=4.9",
"pillow>=10.0",
"requests>=2.31",
"rich>=13.0",
]
[project.optional-dependencies]
windows = [
"mss>=9.0",
"pygetwindow>=0.0.9",
"pywin32>=306",
]
dev = [
"pytest>=8.0",
"pytest-cov>=5.0",
]
[project.scripts]
atm = "atm.main:main"
[tool.setuptools.packages.find]
where = ["src"]
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["src"]
[tool.pyright]
include = ["src"]
extraPaths = ["src"]
pythonVersion = "3.11"
reportMissingImports = true