Skip to content

Commit

Permalink
docs: note direct_pyi_files/transitive_pyi_files are usually build-ti…
Browse files Browse the repository at this point in the history
…me only (#2555)

The pyi_srcs and pyi_deps attributes have this disclaimer already. The
provider should, too, so behavior is better specified.
  • Loading branch information
rickeylev authored Jan 11, 2025
1 parent eae0985 commit 4db0d91
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions python/private/py_info.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,9 @@ Type definition files (usually `.pyi` files) for the Python modules provided by
this target. Usually they describe the source files listed in
`direct_original_sources`. This field is primarily for static analysis tools.
These files are _usually_ build-time only and not included as part of a runnable
program.
:::{note}
This may contain implementation-specific file types specific to a particular
type checker.
Expand Down Expand Up @@ -190,6 +193,9 @@ Python modules for this target and its transitive dependencies. this target.
Usually they describe the source files listed in `transitive_original_sources`.
This field is primarily for static analysis tools.
These files are _usually_ build-time only and not included as part of a runnable
program.
:::{note}
This may contain implementation-specific file types specific to a particular
type checker.
Expand Down

0 comments on commit 4db0d91

Please sign in to comment.