-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Expand file tree
/
Copy pathpants.toml
More file actions
58 lines (53 loc) · 1.41 KB
/
pants.toml
File metadata and controls
58 lines (53 loc) · 1.41 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
# Pants configuration for OctoBot
[GLOBAL]
pants_version = "2.30.0"
backend_packages = [
"pants.backend.python",
"pants.backend.docker",
"pants.backend.shell",
"python_plugins",
]
pants_ignore_use_gitignore = false
pants_ignore = ["venv/"]
pantsd = true
pantsd_max_memory_usage = "6GiB"
pythonpath = ["%(buildroot)s/pants-plugins"]
[source]
# Configure source roots for packages directory
# Each package folder is a source root (octobot_commons, octobot_trading, etc.)
# /packages for tentacles package which needs to be imported as 'tentacles.Evaluator.X'
# / - for root level sources like octobot
root_patterns = [
"/packages/agents",
"/packages/async_channel",
"/packages/backtesting",
"/packages/binary",
"/packages/commons",
"/packages/evaluators",
"/packages/node",
"/packages/flow",
"/packages/services",
"/packages/sync",
"/packages/tentacles_manager",
"/packages/trading",
"/packages/trading_backend",
"pants-plugins",
"/",
]
[python]
# Python interpreter compatibility
interpreter_constraints = [">=3.12"]
# Module mappings for packages with different import names
[python.resolves_to_interpreter_constraints]
python-default = ["==3.13"]
[python-infer]
# Enable dependency inference
imports = true
conftests = true
[docker]
use_buildx = true
default_repository = "drakkarsoftware/octobot"
build_verbose = true
env_vars.add = [
"DOCKER_BUILDKIT=1",
]