Skip to content

Commit 60739e5

Browse files
Add test case for manual stub files
1 parent 274fcaa commit 60739e5

File tree

3 files changed

+16
-0
lines changed

3 files changed

+16
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
load("@rules_python//python:py_library.bzl", "py_library")
2+
3+
py_library(
4+
name = "lib",
5+
srcs = glob(["lib/**/*.py"]),
6+
deps = [":foo"],
7+
)
8+
9+
py_library(
10+
name = "foo",
11+
imports = ["."],
12+
pyi_srcs = glob(["foo/**/*.pyi"]),
13+
)
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
class Foo:
2+
pass
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
from foo import Foo

0 commit comments

Comments
 (0)