-
Notifications
You must be signed in to change notification settings - Fork 5
/
pants.toml
56 lines (46 loc) · 1.31 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
[anonymous-telemetry]
enabled = true
repo_id = "a8cdb096-9b8c-4e8c-934a-4f582c591f04"
[GLOBAL]
pants_version = "2.17.0"
backend_packages.add = [
"pants.backend.python",
"pants.backend.python.lint.pylint",
"pants.backend.python.lint.black",
"pants.backend.python.typecheck.mypy",
]
[source]
root_patterns = ["python", "notebooks", "contrib"]
[python]
interpreter_constraints = [">=3.8,<3.10"]
enable_resolves = true
[python.resolves]
# liga
spark_3_2_1 = "3rdparty/python/spark_3_2_1.lock"
spark_3_3_1 = "3rdparty/python/spark_3_3_1.lock"
# liga-sklearn
sklearn = "3rdparty/python/sklearn.lock"
# liga-mlflow
mlflow = "3rdparty/python/mlflow.lock"
# ligavision
vision_dsl = "3rdparty/python/vision_dsl.lock"
vision_dsl_test = "3rdparty/python/vision_dsl_test.lock"
ligavision = "3rdparty/python/ligavision.lock"
ligavision_test = "3rdparty/python/ligavision_test.lock"
[black]
version = "black==22.1.0"
extra_requirements.add = ["click<8.1"]
lockfile = "3rdparty/python/black.lock"
[pylint]
version = "pylint==2.15.9"
lockfile = "3rdparty/python/pylint.lock"
[mypy]
version = "mypy==0.910"
lockfile = "3rdparty/python/mypy.lock"
[pytest]
version = "pytest==7.0.1"
extra_requirements.add = [
"pytest-timeout",
"requests-mock",
]
lockfile = "3rdparty/python/pytest.lock"