-
Notifications
You must be signed in to change notification settings - Fork 34
/
Copy pathpants.toml
41 lines (33 loc) · 888 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
[GLOBAL]
pants_version = "2.18.0"
backend_packages = [
"pants.backend.python",
"pants.backend.python.lint.flake8",
"pants.backend.python.typecheck.mypy",
"pants.backend.python.lint.docformatter",
"pants.backend.python.lint.isort",
"pants.backend.python.lint.black",
"pants.backend.python.lint.pyupgrade",
]
[python]
interpreter_constraints = ["CPython>=3.8,<4"]
enable_resolves = true
[flake8]
config = ".flake8"
[pytest]
args = ["--no-header", "-vv"]
install_from_resolve = "pytest"
requirements = ["//jsf/3rdparty/python:pytest"]
[test]
use_coverage = true
[coverage-py]
report = ["xml", "html"]
[mypy]
install_from_resolve = "mypy"
requirements = ["//jsf/3rdparty/python:mypy"]
[python.resolves]
python-default = "jsf/3rdparty/python/user_reqs.lock"
pytest = "jsf/3rdparty/python/pytest.lock"
mypy = "jsf/3rdparty/python/mypy.lock"
[anonymous-telemetry]
enabled = false