From 91a58b07cdd807b1d965e04ba85af2adab8bf924 Mon Sep 17 00:00:00 2001 From: Sebastian Rittau Date: Mon, 30 Sep 2024 22:04:29 +0200 Subject: [PATCH] Amend third-party removal policy (#12710) Upstream annotations should have a similar standard as typeshed's. --- CONTRIBUTING.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index e1830ac06..0a1fe77a0 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -631,7 +631,9 @@ if it consisted of several smaller commits. Third-party stubs are generally removed from typeshed when one of the following criteria is met: -* The upstream package ships a `py.typed` file for at least six months, or +* The upstream package ships a `py.typed` file for at least six months, + and the upstream type annotations are of a comparable standard to those in + typeshed, or * the package does not support any of the Python versions supported by typeshed.