generated from joaomcteixeira/python-project-skeleton
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pants.toml
48 lines (39 loc) · 844 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
[GLOBAL]
pants_version = "2.22.0"
# needed to make in-repo plugins work
pythonpath = ["%(buildroot)s/devtools"]
backend_packages = [
"pants.backend.python",
"pants.backend.python.lint.isort",
"pants.backend.python.lint.flake8",
"pants.backend.python.lint.autoflake",
"pants.backend.experimental.adhoc",
"radon.cc",
"radon.mi",
"prreqs",
]
[source]
root_patterns = [
"src/",
"/",
]
[python]
interpreter_constraints = ["CPython>=3.9"]
pip_version = "24.0"
enable_resolves = true
[python.resolves]
python-default = "devtools/python-default.lock"
flake8 = "devtools/flake8.lock"
radon = "devtools/radon.lock"
[isort]
[flake8]
install_from_resolve = "flake8"
[test]
extra_env_vars = [
"DOCKER_HOST",
"TESTCONTAINERS_RYUK_DISABLED=true",
]
use_coverage=true
attempts_default = 3
[coverage-py]
report = ["xml", "html", "console"]