-
Notifications
You must be signed in to change notification settings - Fork 0
/
pants.toml
51 lines (42 loc) · 992 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
[GLOBAL]
pants_version = "2.15.1"
colors = true
backend_packages = [
"pants.backend.python",
"pants.backend.docker",
"pants.backend.python.lint.docformatter",
"pants.backend.python.lint.black",
"pants.backend.python.typecheck.mypy",
]
[source]
root_patterns = ["/"]
[docker]
build_args = ["SHORT_SHA"]
env_vars = ["DOCKER_CONFIG=%(env.HOME)s/.docker", "HOME", "USER", "PATH"]
[python]
interpreter_constraints = ["==3.9.*"]
enable_resolves = true
default_resolve = "mnist"
[python.resolves]
mnist = "mnist/mnist.lock"
[test]
output = "all"
report = false
use_coverage = true
[coverage-py]
global_report = true
[pytest]
args = ["-vv", "-s", "-W ignore::DeprecationWarning", "--no-header"]
[mypy]
args = [
"--ignore-missing-imports",
"--local-partial-types",
"--pretty",
"--color-output",
"--error-summary",
"--show-error-codes",
"--show-error-context",
]
# Do not send usage data to Pants developers
[anonymous-telemetry]
enabled = false