-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpants.toml
50 lines (42 loc) · 1.14 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
[GLOBAL]
pants_version = "2.15.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",
]
[anonymous-telemetry]
enabled = true
repo_id = "f461a68320534400b902336497cab6d3"
[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"}
enable_resolves = true
[python-bootstrap]
search_path = ["<PATH>", "<PYENV>"]
[flake8]
extra_requirements.add = [
"flake8-tidy-imports",
"flake8-annotations-coverage",
"flake8-pytest-style",
"flake8-bugbear",
"flake8-pantsbuild",
"flake8-absolute-import",
"vulture"
]
lockfile = "flake8.lock"
[mypy]
extra_requirements.add = [
"numpy"
]
version="mypy==1.3.0"
lockfile = "mypy.lock"
[test]
extra_env_vars = ["LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/ros/foxy/lib/x86_64-linux-gnu:/opt/ros/foxy/lib", "HOME=/tmp"]