Skip to content

Commit 0945973

Browse files
authored
chore: dogfood our rules rather than rules_python (#204)
### Type of change - Refactor (a code change that neither fixes a bug or adds a new feature) ### Test plan - Covered by existing test cases
1 parent b2953cc commit 0945973

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

docs/rules.md

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/pytest/BUILD.bazel

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
load("@rules_python//python:defs.bzl", "py_test")
2-
load("@//py:defs.bzl", "py_pytest_main")
1+
load("@aspect_rules_py//py:defs.bzl", "py_pytest_main", "py_test")
32

43
py_pytest_main(
54
name = "__test__",

py/private/py_pytest_main.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"""py_test entrypoint generation.
1616
"""
1717

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

2020
def _py_pytest_main_impl(ctx):
2121
substitutions = {

0 commit comments

Comments
 (0)