forked from robofit/arcor2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pants.toml
77 lines (61 loc) · 1.84 KB
/
pants.toml
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
[GLOBAL]
pants_version = "2.22.0"
colors = true
process_execution_local_parallelism = 4
plugins = [
"packaging==21.3",
]
backend_packages.add = [
"pants.backend.python",
"pants.backend.python.lint.black",
"pants.backend.python.lint.flake8",
"pants.backend.python.typecheck.mypy",
"pants.backend.python.lint.isort",
"pants.backend.python.lint.docformatter",
"setup_kwargs_plugin",
"pants.backend.docker",
"pants.backend.docker.lint.hadolint",
"pants.backend.shell",
"pants.backend.shell.lint.shfmt",
"pants.backend.shell.lint.shellcheck",
]
build_file_prelude_globs = [
"pants-plugins/macros.py",
]
pythonpath = ["%(buildroot)s/pants-plugins"]
[source]
root_patterns = [
'/src/python',
'/3rdparty' # not sure why, but all 3rdparty deps depends on requirements.txt (see ./pants dependees 3rdparty/requirements.txt)
]
[python]
interpreter_constraints = [">=3.11,<3.13"]
enable_resolves = true
[python.resolves]
python-default = "3rdparty/constraints.txt"
flake8 = "3rdparty/flake8_lockfile.txt"
mypy = "3rdparty/mypy_lockfile.txt"
pytest = "3rdparty/pytest_lockfile.txt"
setuptools = "3rdparty/setuptools_lockfile.txt"
[python-bootstrap]
search_path = ["<PATH>", "/usr/bin/python3.11"]
[flake8]
install_from_resolve = "flake8"
[mypy]
install_from_resolve = "mypy"
[pytest]
install_from_resolve = "pytest"
# args = ["--count=3 -x"]
[setuptools]
install_from_resolve = "setuptools"
[test]
use_coverage = false
extra_env_vars = ["PYTHONDEVMODE=1", "LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/ros/jazzy/lib/x86_64-linux-gnu:/opt/ros/jazzy/lib", "HOME=/tmp"] # "PYTHONWARNINGS=error" not useable due to DeprecationWarning in networkx-2.2
timeout_default = 600
[python-infer]
imports = true
[setup-py-generation]
first_party_dependency_version_scheme = "compatible"
[anonymous-telemetry]
enabled = true
repo_id = "394a3b7c-1c30-4047-b53e-90e5df3d84a9"