PEP 561: 'py.typed' with 'partial\n' is a requirement for partial stub package. (#773)
This commit is contained in:
parent
e7e2d43069
commit
67ce71c11c
|
@ -203,8 +203,8 @@ typeshed folder and type checking the combined directory structure. Thus type
|
|||
checkers MUST maintain the normal resolution order of checking ``*.pyi`` before
|
||||
``*.py`` files.
|
||||
|
||||
Stub packages can opt into declaring themselves as partial by including
|
||||
``partial\n`` in the package's ``py.typed`` file.
|
||||
If a stub package is partial it MUST include ``partial\n`` in a top level
|
||||
``py.typed`` file.
|
||||
|
||||
|
||||
Implementation
|
||||
|
|
Loading…
Reference in New Issue