- Replace default JSON output with styled TUI tables and ANSI colors. - Add -a/--agent global flag: small payloads → JSON, large → pipe-delimited compact. - Update README to reflect new output behavior and remove JSON-first references. - Bump version to 2.0.2. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
58 lines
1.1 KiB
TOML
58 lines
1.1 KiB
TOML
[build-system]
|
|
requires = ["setuptools>=68", "wheel"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "coinhunter"
|
|
version = "2.0.2"
|
|
description = "Binance-first trading CLI for balances, market data, opportunity scanning, and execution."
|
|
readme = "README.md"
|
|
license = {text = "MIT"}
|
|
requires-python = ">=3.10"
|
|
dependencies = [
|
|
"binance-connector>=3.9.0",
|
|
"binance-futures-connector>=4.1.0",
|
|
"tomli>=2.0.1; python_version < '3.11'",
|
|
]
|
|
authors = [
|
|
{name = "Tacit Lab", email = "ouyangcarlos@gmail.com"}
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest>=8.0",
|
|
"ruff>=0.5.0",
|
|
"mypy>=1.10.0",
|
|
]
|
|
|
|
[project.scripts]
|
|
coinhunter = "coinhunter.cli:main"
|
|
|
|
[tool.setuptools]
|
|
package-dir = {"" = "src"}
|
|
|
|
[tool.setuptools.packages.find]
|
|
where = ["src"]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
|
|
[tool.ruff]
|
|
target-version = "py310"
|
|
line-length = 120
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "I", "UP", "W"]
|
|
ignore = ["E501"]
|
|
|
|
[tool.ruff.lint.pydocstyle]
|
|
convention = "google"
|
|
|
|
[tool.mypy]
|
|
python_version = "3.10"
|
|
warn_return_any = true
|
|
warn_unused_configs = true
|
|
disallow_untyped_defs = true
|
|
ignore_missing_imports = true
|
|
exclude = [".venv", "build"]
|