Skip to content

Commit 4db0d91

Browse files
authored
docs: note direct_pyi_files/transitive_pyi_files are usually build-time only (#2555)
The pyi_srcs and pyi_deps attributes have this disclaimer already. The provider should, too, so behavior is better specified.
1 parent eae0985 commit 4db0d91

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

python/private/py_info.bzl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,9 @@ Type definition files (usually `.pyi` files) for the Python modules provided by
112112
this target. Usually they describe the source files listed in
113113
`direct_original_sources`. This field is primarily for static analysis tools.
114114
115+
These files are _usually_ build-time only and not included as part of a runnable
116+
program.
117+
115118
:::{note}
116119
This may contain implementation-specific file types specific to a particular
117120
type checker.
@@ -190,6 +193,9 @@ Python modules for this target and its transitive dependencies. this target.
190193
Usually they describe the source files listed in `transitive_original_sources`.
191194
This field is primarily for static analysis tools.
192195
196+
These files are _usually_ build-time only and not included as part of a runnable
197+
program.
198+
193199
:::{note}
194200
This may contain implementation-specific file types specific to a particular
195201
type checker.

0 commit comments

Comments
 (0)