-
Notifications
You must be signed in to change notification settings - Fork 0
/
pants.toml
72 lines (61 loc) · 1.74 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
[GLOBAL]
pants_version = "2.23.0"
pythonpath = ["%(buildroot)s/pants-plugins"]
backend_packages.add = [
"pants.backend.build_files.fmt.ruff",
"pants.backend.docker",
"pants.backend.docker.lint.hadolint",
"pants.backend.plugin_development",
"pants.backend.python",
"pants.backend.python.mixed_interpreter_constraints",
"pants.backend.python.lint.bandit",
"pants.backend.python.lint.docformatter",
"pants.backend.python.lint.flake8",
"pants.backend.python.lint.isort",
"pants.backend.python.lint.pyupgrade",
"pants.backend.python.typecheck.mypy",
"pants.backend.shell",
"pants.backend.shell.lint.shellcheck",
"pants.backend.shell.lint.shfmt",
"pants.backend.tools.taplo",
# Expiremental backends
"pants.backend.experimental.python",
"pants.backend.experimental.python.framework.django",
"pants.backend.experimental.python.lint.ruff.check",
"pants.backend.experimental.python.lint.ruff.format",
"pants.backend.experimental.tools.yamllint",
# In-repo plugins
"internal_plugins.versioned_setup",
]
[anonymous-telemetry]
enabled = false
[source]
root_patterns = [
"/dj-cmd/py",
"/twoops_tracker/docker",
"/twoops_tracker/py",
"/pants-plugins",
"/pesacheck_meedan_bridge/py",
"/pesacheck_meedan_bridge/docker",
]
[python]
enable_resolves = false
interpreter_constraints = ["==3.11.*"]
[python-repos]
find_links = ["https://wheels.pantsbuild.org/simple"]
[generate-lockfiles]
diff = true
[bandit]
args = ["--quiet"]
[mypy]
requirements = ["django-stubs"]
interpreter_constraints = ["==3.11.*"]
[pyupgrade]
args = ["--py36-plus"]
[docker]
build_args = ["VERSION"]
default_repository = "codeforafrica/{name}"
[environments-preview.names]
linux = "//:local_linux"
linux_docker = "//:docker_bookworm"
macos = "//:local_macos"