-
Notifications
You must be signed in to change notification settings - Fork 5
/
MODULE.bazel
40 lines (35 loc) · 931 Bytes
/
MODULE.bazel
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
module(
name = "rules_testing",
version = "0.0.1",
compatibility_level = 1,
)
bazel_dep(name = "platforms", version = "0.0.6")
bazel_dep(name = "bazel_skylib", version = "1.3.0")
bazel_dep(name = "rules_license", version = "0.0.4")
# ===== The rest of these are development dependencies =====
bazel_dep(
name = "stardoc",
version = "0.7.1",
dev_dependency = True,
repo_name = "io_bazel_stardoc",
)
bazel_dep(name = "rules_python", version = "0.37.2", dev_dependency = True)
python = use_extension(
"@rules_python//python/extensions:python.bzl",
"python",
dev_dependency = True,
)
python.toolchain(
python_version = "3.11",
)
pip = use_extension(
"@rules_python//python/extensions:pip.bzl",
"pip",
dev_dependency = True,
)
pip.parse(
hub_name = "docs-pypi",
python_version = "3.11",
requirements_lock = "//docs:requirements.txt",
)
use_repo(pip, "docs-pypi")