sublimelsp / LSP-pyright

Python support for Sublime's LSP plugin provided through microsoft/pyright.
MIT License
126 stars 13 forks source link

chore(deps): bump pyright from 1.1.354 to 1.1.355 in /language-server #315

Closed dependabot[bot] closed 5 months ago

dependabot[bot] commented 5 months ago

Bumps pyright from 1.1.354 to 1.1.355.

Release notes

Sourced from pyright's releases.

Published 1.1.355

Bug Fixes:

  • Fixed a bug that results in incorrect type evaluation if a list expression includes a generator expression.
  • Fixed bug that results in a false negative when a TypeAliasType object is used in a class pattern.
  • Fixed bug that results in false positive when implicitly specializing a class parameterized by a TypeVarTuple when there is no default.
  • Fixed bug that results in false positive when a list or set expression is evaluated using bidirectional type inference when the expected type is MutableSet or MutableSequence.
  • Fixed bug that results in a false negative when overriding a method that has keyword parameters with a method that has a *args parameter.
  • Fixed a bug that results in a false positive error in certain circumstances involving a TypeVarTuple used within an overload.
  • Fixed bug that results in a false positive error when a base class defines a writable property and a subclass writes to the property.
  • Fixed bug that results in a false positive "overload implementation does not match overloads" diagnostic when positional-only and keyword-only parameters are involved.
  • Fixed a bug that results in a false positive in a complex situation that involves generic protocols, properties, and mix-in classes.
  • Fixed bug that results in false positive error when a __new__ method in a metaclass uses PEP 692 (unpacked TypeDict) to annotate its **kwargs parameter.

Enhancements:

  • Updated typeshed stubs to the latest. This version of typeshed replaces the older-style positional-only parameters with PEP 570 syntax.
  • Improved validation for except and except* statements to catch some previously-undetected invalid cases.
  • Expanded handling of python versions to handle more than just major/minor version numbers. Pyright now handles micro, releaseLevel, and serial numbers as well.
Commits


Dependabot compatibility score

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)
github-actions[bot] commented 5 months ago

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.

No updates done to sublime-package.json.