Update dependency pyright to ^1.1.392 #2661
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^1.1.388->^1.1.392Release Notes
Microsoft/pyright (pyright)
v1.1.392: Published 1.1.392Compare Source
Bug Fixes:
ConcatenateandParamSpec.extraPathsconfiguration option within an execution extending rather than overriding theextraPathsprovided in the top-level config.__getitem__,__setitem__and__delitem__magic method modeling to handle descriptor objects.Self.__new__and__init__with differing bidirectional type inference contexts.Behavior Changes:
list,dictandtyperather than their deprecated uppercase counterparts now that Python 3.8 is EOL'ed.issubclassin the negative ("else") case when the subject type istypeorAny.Enhancements:
castcall.__aexit__is awaitable and improved error messages for the case where__enter__, etc. are present but have incorrect signatures.v1.1.391: Published 1.1.391Compare Source
Bug Fixes:
Selfis errantly specialized.ClassVarandFinalqualifier are both used on the same dataclass attribute.--verifytypesis used and a subclass overrides an attribute that is generic in the base class.__add__is implemented with a descriptor object.--verifytypeswhile targeting a submodule within a package and that submodule is a single-file module.isinstancetype narrowing logic that affects the case where the filter type is a metaclass.Enhancements:
exceptclause.reportUnnecessaryComparisonrule for simple wildcard patterns in acaseclause.v1.1.390: Published 1.1.390Compare Source
Bug Fixes:
x in ypattern whereyis a container type whose element type isUnknownorAny.Callable[..., T]form.__getitem__is set to a callable object.--verifytypescommand.Enhancements:
\uand\Nescapes within bytes literals, which are illegal.Finalannotation in a dataclass entry that has a default value assigned to it.Finalvariable from another module and then attempting to overwrite it.Finalvariable declared by the builtins module or some other chained file.sliceclass type arguments for slice expressions.ClassVarqualifier within aNamedTupleorTypedDictattribute annotation.Behavior Changes:
ExceptionGrouprather thanBaseExceptionGroup.v1.1.389: Published 1.1.389Compare Source
Bug Fixes:
|union operator creates a union of generic types. These types should be specialized with default type arguments.None.matchstatement uses a pattern with a target expression that overwrites the subject expression.reportUnknownArgumentTypeerror if the argument is an expression involving an__init__parameter in an unannotated (pseudo-generic) class.type(A)as a base class or a metaclass in a class definition.TypeAliasTypecall to create a public symbol in a "py.typed" library.Enhancements:
except*clause to report invalid usage that is flagged as a syntax error at runtime.awaitkeyword in a lambda.awaitandasyncwithin list, set and dictionary comprehensions within a non-async function.xis a TypeVar.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.