-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
134 lines (117 loc) · 2.71 KB
/
pyproject.toml
File metadata and controls
134 lines (117 loc) · 2.71 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
[build-system]
build-backend = "setuptools.build_meta"
requires = [
"setuptools",
"setuptools-scm",
]
[project]
authors = [
{email = "nico@predix.io", name = "Predix 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 = "Predix - AI-gestützter Quantitative Trading Agent für EUR/USD"
dynamic = [
"dependencies",
"optional-dependencies",
"version",
]
keywords = [
"Quantitative Trading",
"Autonomous Agents",
"Large Language Models",
"EUR/USD",
"Forex",
]
name = "predix"
readme = "README.md"
requires-python = ">=3.10"
[project.scripts]
rdagent = "rdagent.app.cli:app"
[project.urls]
homepage = "https://github.com/PredixAI/predix/"
issue = "https://github.com/PredixAI/predix/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"
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]
fix = true
line-length = 120
src = ["rdagent"]
[tool.ruff.lint]
ignore = [
# https://docs.astral.sh/ruff/rules/#pydocstyle-d
"ANN401",
"D",
"ERA001",
"EXE002",
"FIX",
"INP001",
"PGH",
"PLR0913",
"S101",
"S301",
"T20",
"TC003",
"TD",
]
select = ["ALL"]
[tool.ruff.lint.per-file-ignores]
"docs/conf.py" = ["INP001"]
"test/*" = ["S101"]
[tool.setuptools]
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"]}
torch = {file = ["requirements/torch.txt"]} # some agent algorithms need torch. pip install rdagent[torch]
[tool.setuptools_scm]
local_scheme = "no-local-version"
version_scheme = "guess-next-dev"
[tool.tomlsort]
all = true
in_place = true
trailing_comma_inline_array = true