Skip to content

Commit

Permalink
chore: dogfood our rules rather than rules_python
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeagle committed Oct 3, 2023
1 parent b2953cc commit 553c08c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/rules.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions examples/pytest/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
load("@rules_python//python:defs.bzl", "py_test")
load("@//py:defs.bzl", "py_pytest_main")
load("@aspect_rules_py//py:defs.bzl", "py_pytest_main", "py_test")

py_pytest_main(
name = "__test__",
Expand Down
2 changes: 1 addition & 1 deletion py/private/py_pytest_main.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"""py_test entrypoint generation.
"""

load("@rules_python//python:defs.bzl", default_py_library = "py_library")
load(":py_library.bzl", default_py_library = "py_library")

def _py_pytest_main_impl(ctx):
substitutions = {
Expand Down

0 comments on commit 553c08c

Please sign in to comment.