-
Notifications
You must be signed in to change notification settings - Fork 12
/
pants.toml
59 lines (48 loc) · 1.13 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
[GLOBAL]
pythonpath = ["%(buildroot)s/pants-toolshed"]
pants_version = "2.22.0"
backend_packages = [
"pants.backend.python",
"pants.backend.python.lint.docformatter",
"pants.backend.python.lint.flake8",
"pants.backend.python.typecheck.mypy",
"toolshed_distribution",
"toolshed_readme"]
pants_ignore = ["not", "/bazel/"]
build_file_prelude_globs = [
"pants-toolshed/macros.py",
]
plugins = ["jinja2"]
[python]
interpreter_constraints = [">=3.11.0"]
enable_resolves = true
default_resolve = "deps"
[python.resolves]
deps = "deps/deps.lock"
flake8 = "deps/flake8/flake8.lock"
pytest = "deps/pytest/pytest.lock"
mypy = "deps/mypy/mypy.lock"
[test]
use_coverage = true
[pytest]
install_from_resolve = "pytest"
[python-infer]
imports = false
[coverage-py]
report = ["console", "html"]
[anonymous-telemetry]
enabled = false
[source]
marker_filenames = ["setup.cfg"]
root_patterns = ["pants-toolshed"]
[flake8]
install_from_resolve = "flake8"
[mypy]
install_from_resolve = "mypy"
config = "mypy.ini"
args = [
"--explicit-package-bases",
"--namespace-packages",
"--no-warn-no-return"]
[update-build-files]
fmt = false