-
Notifications
You must be signed in to change notification settings - Fork 2
/
pants.toml
32 lines (28 loc) · 924 Bytes
/
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
[GLOBAL]
pants_version = "2.23.0"
backend_packages.add = [
"pants.backend.shell",
"pants.backend.experimental.adhoc",
"pants.backend.docker",
]
pants_ignore = [
# Ignore Bazel's output directories.
"bazel-jvm/bazel-*/**"
]
build_ignore = [
# Ignore Bazel's BUILD files in the Bazel project.
"bazel-jvm/BUILD*",
"bazel-jvm/**/BUILD*",
]
[source]
root_patterns = ["/"]
[anonymous-telemetry]
enabled = false
[environments-preview.names]
workspace = "//:workspace"
# Note: Pants required this `interpreter_constraints` config for some reason even though Python
# is not configured in this repository. Ordinarilly, you would pin a specific minor release of Python,
# (e.g., `==3.9.*`) but since this repository is intended as a general example, this config accepts
# any Python above v3.9 you may have in the interest of not forcing a specific Python version on you.
[python]
interpreter_constraints = ">=3.9"