@@ -436,28 +436,24 @@ following criteria is met:
436436* the upstream package was declared or appears to be unmaintained, and
437437 retaining the stubs causes maintenance issues in typeshed.
438438
439- If a package ships its own ` py.typed ` file, please follow these steps:
439+ Case 1: If a package ships its own ` py.typed ` file, please follow these steps:
440440
441- 1 . Open an issue with the earliest month of removal in the subject.
442- 2 . A maintainer will add the
443- [ "stubs: removal" label] ( https://github.com/python/typeshed/labels/%22stubs%3A%20removal%22 ) .
444- 3 . Open a PR that sets the ` obsolete_since ` field in the ` METADATA.toml `
445- file to the first version of the package that shipped ` py.typed ` .
446- 4 . After at least six months, open a PR to remove the stubs.
441+ 1 . Make sure ** stubsabot** open a PR that sets the ` obsolete_since ` field in the
442+ ` METADATA.toml ` file to the first version of the package that shipped ` py.typed ` .
443+ 2 . After at least six months, make sure ** stubsabot** open a PR to remove the stubs.
447444
448- If third-party stubs should be removed for other reasons, please follow these
449- steps:
445+ Case 2: If third-party stubs should be removed for other reasons, please follow
446+ these steps:
450447
4514481 . Open an issue explaining why the stubs should be removed.
4524492 . A maintainer will add the
453450 [ "stubs: removal" label] ( https://github.com/python/typeshed/labels/%22stubs%3A%20removal%22 ) .
4544513 . Open a PR that sets the ` no_longer_updated ` field in the ` METADATA.toml `
455452 file to ` true ` .
456- 4 . When a new version of the package was automatically uploaded to PyPI
457- (which can take up to a day), open a PR to remove the stubs.
453+ 4 . When a new version of the package was automatically uploaded to PyPI (which
454+ can take up to a day), make sure ** stubsabot ** open a PR to remove the stubs.
458455
459- Don't forget to make sure the library is not in the [ ` pyrightconfig.stricter.json ` ] ( ./pyrightconfig.stricter.json )
460- exclusion list. If feeling kindly, please update [ mypy] ( https://github.com/python/mypy/blob/master/mypy/stubinfo.py )
456+ If feeling kindly, please update [ mypy] ( https://github.com/python/mypy/blob/master/mypy/stubinfo.py )
461457for any stub obsoletions or removals.
462458
463459### Marking PRs as "deferred"
0 commit comments