mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-20 16:48:27 +08:00
Add star to all non-0.1 versions (#6146)
This commit is contained in:
@@ -51,10 +51,8 @@ def run_stubtest(dist: Path) -> None:
|
||||
assert isinstance(dist_version, str)
|
||||
if dist_version == "0.1":
|
||||
dist_req = dist.name
|
||||
elif dist_version.endswith(".*"):
|
||||
dist_req = f"{dist.name}=={dist_version}"
|
||||
else:
|
||||
dist_req = f"{dist.name}=={dist_version}.*"
|
||||
dist_req = f"{dist.name}=={dist_version}"
|
||||
|
||||
# If @tests/requirements-stubtest.txt exists, run "pip install" on it.
|
||||
req_path = dist / "@tests" / "requirements-stubtest.txt"
|
||||
|
||||
Reference in New Issue
Block a user