-
Notifications
You must be signed in to change notification settings - Fork 2
/
pants.toml
39 lines (31 loc) · 951 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
[GLOBAL]
pants_version = "2.18.0"
backend_packages.add = [
"pants.backend.build_files.fmt.black",
"pants.backend.python",
"pants.backend.python.lint.docformatter",
"pants.backend.python.lint.black",
"pants.backend.python.lint.flake8",
"pants.backend.python.lint.isort",
"pants.backend.python.typecheck.mypy",
]
[generate-lockfiles]
diff = true
[anonymous-telemetry]
enabled = true
repo_id = "a888d69447a54a889jhgtz2cd1ea2aceeredfdfg"
[source]
# The Python source root is the repo root. See https://www.pantsbuild.org/docs/source-roots.
root_patterns = ["/"]
[python]
interpreter_constraints = [">=3.8"]
resolves = { python-default = "python-default.lock", flake8 = "flake8.lock", mypy = "mypy.lock"}
enable_resolves = true
[python-bootstrap]
search_path = ["<PATH>", "<PYENV>"]
[flake8]
install_from_resolve = "flake8"
[mypy]
install_from_resolve = "mypy"
[docformatter]
args = ["--wrap-summaries=120", "--wrap-descriptions=120"]