Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix type checking issue with service_ports
This worked in Pyright 1.1.314, but not in 1.1.315 or 1.1.316. The type of service_ports is List[Tuple[str, Literal[3000], Literal[3000]]], which doesn't type check as List[Tuple[str, int, int]] -- which is very unintuitive, but oh well. I believe this is by design, see microsoft/pyright#5366 and https://microsoft.github.io/pyright/#/type-inference?id=tuple-expressions The Pyright fixes were probably one of microsoft/pyright#5321 or microsoft/pyright#5323
- Loading branch information