-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathpants.toml
78 lines (64 loc) · 1.58 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
[GLOBAL]
pants_version = "2.19.0"
backend_packages = [
"pants.backend.python",
"pants.backend.python.lint.black",
"pants.backend.python.lint.isort",
"pants.backend.python.lint.flake8",
"pants.backend.experimental.python.typecheck.pyright",
"pants.backend.python.lint.pyupgrade",
"pants.backend.python.lint.docformatter",
"pants.backend.python.lint.bandit",
]
[source]
root_patterns = [
"python-packages/*"
]
[python]
interpreter_constraints = [">=3.12"]
pip_version = "latest"
enable_resolves = true
resolves = { python-default = "python-default.lock" }
default_resolve = "python-default"
[pytest]
install_from_resolve = "python-default"
requirements = [
"pytest-asyncio",
"pytest-cov",
]
args = ['-v']
[test]
output = "all"
use_coverage = true
[black]
install_from_resolve = "python-default"
args = ["-t py312"]
interpreter_constraints = [">=3.12"]
[coverage-py]
install_from_resolve = "python-default"
interpreter_constraints = [">=3.12"]
report = [
"xml",
"html"
]
[pyright]
interpreter_constraints = [">=3.12"]
[flake8]
install_from_resolve = "python-default"
args = "--extend-ignore=W503"
[pyupgrade]
install_from_resolve = "python-default"
args = ["--py312-plus"]
interpreter_constraints = [">=3.12"]
[docformatter]
install_from_resolve = "python-default"
args = ["--wrap-summaries 88", "--wrap-descriptions 88"]
interpreter_constraints = [">=3.12"]
[bandit]
install_from_resolve = "python-default"
args = ["-x tests"]
[isort]
install_from_resolve = "python-default"
interpreter_constraints = [">=3.12"]
[anonymous-telemetry]
enabled = false