Files

135 lines
2.7 KiB
TOML
Raw Permalink Normal View History

[build-system]
build-backend = "setuptools.build_meta"
requires = [
"setuptools",
"setuptools-scm",
]
[project]
authors = [
{email = "nico@nexquant.io", name = "NexQuant Team"},
]
classifiers = [
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
description = "NexQuant - AI-gestützter Quantitative Trading Agent für EUR/USD"
dynamic = [
"dependencies",
"optional-dependencies",
2024-08-08 00:14:15 +08:00
"version",
]
keywords = [
"Quantitative Trading",
"Autonomous Agents",
"Large Language Models",
"EUR/USD",
"Forex",
]
name = "nexquant"
readme = "README.md"
2024-08-02 12:57:34 +08:00
requires-python = ">=3.10"
2024-08-08 17:10:37 +08:00
[project.scripts]
rdagent = "rdagent.app.cli:app"
[project.urls]
homepage = "https://github.com/NexQuantAI/nexquant/"
issue = "https://github.com/NexQuantAI/nexquant/issues"
[tool.coverage.report]
fail_under = 80
[tool.coverage.run]
source = [
"rdagent",
]
[tool.isort]
color_output = true
profile = "black"
[tool.mypy]
check_untyped_defs = true
disallow_any_unimported = true
disallow_untyped_defs = true
enable_error_code = [
"ignore-without-code",
]
explicit_package_bases = true
warn_return_any = true
warn_unused_ignores = true
[[tool.mypy.overrides]]
ignore_missing_imports = true
module = "llama"
[tool.pytest.ini_options]
addopts = "-l -s --durations=0 -m 'not slow'"
log_cli = true
log_cli_level = "info"
log_date_format = "%Y-%m-%d %H:%M:%S"
log_format = "%(asctime)s %(levelname)s %(message)s"
markers = [
"offline: tests that do not require external API calls",
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
"integration: marks tests as integration tests",
]
minversion = "6.0"
norecursedirs = [
"workspace",
]
[tool.ruff]
2024-06-07 00:23:11 +08:00
fix = true
2024-05-30 10:33:07 +08:00
line-length = 120
src = ["rdagent"]
[tool.ruff.lint]
ignore = [
# https://docs.astral.sh/ruff/rules/#pydocstyle-d
"ANN401",
"D",
"ERA001",
2025-02-13 22:20:17 +08:00
"EXE002",
2024-05-30 10:33:07 +08:00
"FIX",
"INP001",
"PGH",
"PLR0913",
"S101",
2024-06-12 15:12:11 +08:00
"S301",
2024-05-30 10:33:07 +08:00
"T20",
2025-04-04 11:20:33 +08:00
"TC003",
2024-05-30 10:33:07 +08:00
"TD",
]
select = ["ALL"]
2024-05-30 10:33:07 +08:00
[tool.ruff.lint.per-file-ignores]
"docs/conf.py" = ["INP001"]
"test/*" = ["S101"]
[tool.setuptools]
2024-06-05 15:36:15 +08:00
packages = ["rdagent"]
[tool.setuptools.dynamic]
dependencies = {file = ["requirements.txt"]}
[tool.setuptools.dynamic.optional-dependencies]
docs = {file = ["requirements/docs.txt"]}
lint = {file = ["requirements/lint.txt"]}
package = {file = ["requirements/package.txt"]}
test = {file = ["requirements/test.txt"]}
2025-09-03 16:37:33 +08:00
torch = {file = ["requirements/torch.txt"]} # some agent algorithms need torch. pip install rdagent[torch]
[tool.setuptools_scm]
2024-08-08 00:14:15 +08:00
local_scheme = "no-local-version"
version_scheme = "guess-next-dev"
[tool.tomlsort]
all = true
in_place = true
trailing_comma_inline_array = true