mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-03 08:23:47 +08:00
Resolve stubtest allowlist entries for ldap3 (#9532)
This commit is contained in:
1 parent
85792bca71
commit
0e36622c72
4 files changed
+8
-2
No files matched your search
@@ -191,7 +191,7 @@ def check_metadata() -> None:
|
||||
assert key in tk, f"Unrecognised {tool} key {key} for {distribution}"
|
||||
|
||||
tool_stubtest = data.get("tool", {}).get("stubtest", {})
|
||||
specified_stubtest_platforms = set(tool_stubtest.get("platforms", []))
|
||||
specified_stubtest_platforms = set(tool_stubtest.get("platforms", ["linux"]))
|
||||
assert (
|
||||
specified_stubtest_platforms <= supported_stubtest_platforms
|
||||
), f"Unrecognised platforms specified: {supported_stubtest_platforms - specified_stubtest_platforms} for {distribution}"
|
||||
|
||||
Reference in new issue
Block a user