Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
wade-arista committed Feb 14, 2024
1 parent 26362d9 commit e7b49e4
Show file tree
Hide file tree
Showing 11 changed files with 2,452 additions and 0 deletions.
7 changes: 7 additions & 0 deletions mod_pytest/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
load("@rules_python//python:pip.bzl", "compile_pip_requirements")

compile_pip_requirements(
name = "requirements",
src = "requirements.in",
requirements_txt = "requirements_lock.txt",
)
15 changes: 15 additions & 0 deletions mod_pytest/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
bazel_dep(name = "rules_python", version = "0.31.0")

pip = use_extension("@rules_python//python/extensions:pip.bzl", "pip")
pip.parse(
hub_name = "pip",
python_version = "3.9",
requirements_lock = "//:requirements_lock.txt",
)
use_repo(pip, "pip")

python = use_extension("@rules_python//python/extensions:python.bzl", "python")
python.toolchain(
configure_coverage_tool = True,
python_version = "3.9",
)
Loading

0 comments on commit e7b49e4

Please sign in to comment.