Fixed a bug that results in a false positive when a class is defined within a generic function and uses type parameters from that function.
Fixed a bug that results in unexpected constraint solver results in certain cases involving arguments with lambda expressions.
Fixed bug that results in false positive under certain circumstances involving classes parameterized with a contravariant type variable.
Fixed bug that results in incorrect evaluation of class variables assigned in an __init_subclass__ or __class_getitem__ method. These methods are implicitly class methods even though they are not decorated with @classmethod.
Removed recent check for illegal identifiers used in alias for dataclass_transform field. This isn't an illegal condition, so the resulting error was a false positive. Instead, changed completion provider to not suggest the illegal identifier as a valid keyword argument.
Enhancements:
Enhanced the special-case logic for functools.partial so it handles the case where the function has a **kwargs parameter typed with an unpacked TypedDict.
Improved the synthesized type of the keys, values and items methods on a closed TypedDict to provide a more precise (narrower) type for the key values.
Improved the handling of a TypeVar whose definition involves a circular definition.
Added check for __slots__ initialization when the __slots__ list is empty and the class is marked @final.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Following are the schema changes in the new version. Make sure that those are reflected in LSP-pyright.sublime-settings and sublime-package.json files.
Bumps pyright from 1.1.387 to 1.1.388.
Release notes
Sourced from pyright's releases.
Commits
0e5eb7a
Published 1.1.388Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show