Skip to content

Commit 3b47bec

Browse files
Merge pull request #426 from opencivicdata/update_bazel
Update bazel files
2 parents ddf4b28 + 792e845 commit 3b47bec

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed

BUILD

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
load("@rules_python//python:py_test.bzl", "py_test")
2+
13
py_test(
24
name = "compile_test",
35
srcs = ["test/compile_test.py"],

MODULE.bazel

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
bazel_dep(name = "rules_python", version = "1.8.4")
2+
3+
pip = use_extension("@rules_python//python/extensions:pip.bzl", "pip")
4+
pip.parse(
5+
hub_name = "pypi",
6+
python_version = "3.11",
7+
requirements_lock = "//:requirements.txt",
8+
)
9+
use_repo(pip, "pypi")

WORKSPACE

Whitespace-only changes.

0 commit comments

Comments
 (0)