Add partial_stub metadata field (#10157)

This commit is contained in:
Avasam
2023-05-10 11:04:18 -04:00
committed by GitHub
parent ff700e1b95
commit db0149859c
51 changed files with 68 additions and 1 deletions

View File

@@ -193,6 +193,10 @@ supported:
* `upload` (optional): This field is set to `false` to prevent automatic
uploads to PyPI. This should only used in special cases, e.g. when the stubs
break the upload.
* `partial_stub` (optional): This field marks the type stub package as
[partial](https://peps.python.org/pep-0561/#partial-stub-packages). This is for
3rd-party stubs that don't cover the entirety of the package's public API.
In most cases, this field is identical to `ignore_missing_stub`.
In addition, we specify configuration for stubtest in the `tool.stubtest` table.
This has the following keys: