-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpants.toml
83 lines (68 loc) · 2.06 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
[GLOBAL]
pants_version = "2.19.0"
backend_packages = [
"pants.backend.awslambda.python",
"pants.backend.build_files.fmt.black",
"pants.backend.docker",
"pants.backend.docker.lint.hadolint",
"pants.backend.experimental.terraform",
"pants.backend.experimental.tools.yamllint",
"pants.backend.plugin_development",
"pants.backend.python",
"pants.backend.python.lint.bandit",
"pants.backend.python.lint.black",
"pants.backend.python.lint.docformatter",
"pants.backend.python.lint.flake8",
"pants.backend.python.lint.isort",
"pants.backend.python.typecheck.mypy",
"pants.backend.shell",
"tflint"
]
pythonpath = ["%(buildroot)s/pants-plugins"]
pants_ignore.add = ["!.tflint.hcl"]
[bandit]
install_from_resolve = "python-default"
requirements = ["bandit"]
config = "bandit.yaml"
[black]
install_from_resolve = "python-default"
requirements = ["black"]
[docker]
default_repository = "agoblet/polyglot_pants_example_{name}"
env_vars = ["DOCKER_CONFIG=%(homedir)s/.docker"]
build_args = ["GIT_COMMIT"]
[dockerfile-parser]
install_from_resolve = "python-default"
requirements = ["dockerfile"]
[docformatter]
install_from_resolve = "python-default"
requirements = ["docformatter"]
[download-terraform]
version = "1.7.3"
extra_env_vars = ["AWS_REGION", "AWS_PROFILE", "PATH"]
known_versions = ["1.7.3|macos_arm64|85cddfd303c45989f0948a70ae03bb30f66c6e6106383697fe85ccd739137ca6|25892413"]
[environments-preview.names]
docker_python = "//:docker_python"
[flake8]
install_from_resolve = "python-default"
requirements = ["flake8", "flake8-bugbear"]
[isort]
install_from_resolve = "python-default"
requirements = ["isort"]
[mypy]
install_from_resolve = "python-default"
requirements = ["mypy","pandas-stubs"]
[pytest]
install_from_resolve = "python-default"
requirements = ["pytest"]
[python]
interpreter_constraints = ["==3.9.*"]
enable_resolves = true
[source]
root_patterns = ["pants-plugins", "src/python"]
[terraform-hcl2-parser]
install_from_resolve = "python-default"
requirements = ["python-hcl2"]
[yamllint]
install_from_resolve = "python-default"
requirements = ["yamllint"]