-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpants.toml
executable file
·103 lines (84 loc) · 2.26 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
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
[GLOBAL]
pants_version = "2.22.0"
build_file_prelude_globs = ["examples/macros.py"]
pythonpath = [
"%(buildroot)s/pants-plugins/kustomize",
"%(buildroot)s/pants-plugins/oci",
"%(buildroot)s/pants-plugins/k8s",
"%(buildroot)s/pants-plugins/mdbook",
"%(buildroot)s/pants-plugins/bitwarden",
"%(buildroot)s/pants-plugins/secrets",
]
backend_packages = [
"pants.backend.python",
"pants.backend.experimental.python",
"pants.backend.python.lint.black",
"pants.backend.python.lint.isort",
"pants.backend.python.lint.flake8",
"pants.backend.plugin_development",
"pants_backend_mdbook",
"pants_backend_kustomize",
"pants_backend_k8s",
"pants_backend_oci",
"pants_backend_bitwarden",
"pants_backend_secrets",
"pants.backend.shell",
"pants.backend.experimental.python.lint.ruff",
"pants.backend.experimental.adhoc"
]
pants_ignore = [
".*/",
"/dist/",
"__pycache__",
"**/pdm_build.py",
]
[source]
root_patterns = [
'/',
'/pants-plugins',
'/examples/oci',
]
marker_filenames = ["pyproject.toml"]
[anonymous-telemetry]
enabled = true
repo_id = "e32e6905-7a7d-405f-82b1-86d2723b0c4d"
[python]
tailor_pex_binary_targets = true
interpreter_constraints = ["==3.9.*"]
enable_resolves = true
default_resolve = "pants-plugins"
pip_version = "23.0.1"
[python.resolves]
pants-plugins = "pants-plugins/pants.lock"
pants-previous = "pants-plugins/previous.lock"
pants-current = "pants-plugins/current.lock"
pants-next = "pants-plugins/next.lock"
example-1 = "locks/example-1.lock"
pytest = "locks/tools/pytest.lock"
isort = "locks/tools/isort.lock"
ipython = "locks/tools/ipython.lock"
black = "locks/tools/black.lock"
[python.resolves_to_interpreter_constraints]
pants-plugins = ["==3.9.*"]
pants-previous = ["==3.9.*"]
pants-current = ["==3.9.*"]
pants-next = ["==3.9.*"]
pytest = ["==3.9.*"]
black = [">=3.9,<3.10"]
example-1 = [">=3.11,<3.12"]
[python-infer]
use_rust_parser = true
[black]
install_from_resolve = "black"
interpreter_constraints = ["==3.9.*"]
[ipython]
install_from_resolve = "ipython"
[isort]
install_from_resolve = "isort"
args = '--resolve-all-configs'
interpreter_constraints = ["==3.9.*"]
config = "['pyproject.toml']"
[pytest]
args = ["--no-header"]
execution_slot_var = "TEST_EXECUTION_SLOT"
install_from_resolve = "pytest"