Skip to content

Commit

Permalink
build(deps-dev): bump the pyright group with 1 update (#450)
Browse files Browse the repository at this point in the history
Bumps the pyright group with 1 update:
[pyright](https://github.com/Microsoft/pyright/tree/HEAD/packages/pyright).

Updates `pyright` from 1.1.345 to 1.1.353
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/Microsoft/pyright/releases">pyright's
releases</a>.</em></p>
<blockquote>
<h2>Published 1.1.353</h2>
<p>Breaking Changes:</p>
<ul>
<li>The CLI and language server versions of pyright now require a
minimum node version of 14. Previously node 12 and 13 were
supported.</li>
</ul>
<p>Enhancements:</p>
<ul>
<li>Enabled PEP 705 and PEP 696 functionality without the use of
enableExperimentalFeatures now that these PEPs are officially
accepted.</li>
<li>Improved support for instance variables whose type is declared in a
metaclass. Pyright now honors this type and enforces type consistency in
derived classes.</li>
</ul>
<p>Bug Fixes:</p>
<ul>
<li>Fixed a bug that results in a false negative when a dundered method
overrides a base class method of the same name and uses different
parameter names along with different types.</li>
<li>Fixed a bug that leads to a false positive error when a
<code>match</code> statement is used in a loop and the subject
expression is potentially narrowed as a result of the <code>match</code>
statement.</li>
<li>Added check for inappropriate use of <code>Annotated</code> passed
as second argument to <code>NewType</code> call.</li>
<li>Fixed a bug that results in a false positive error when expanding
the type arguments to a TypeVarTuple under certain circumstances.</li>
<li>Fixed a bug that results in incorrect type evaluation when an index
expression is assigned a value within a doubly-nested loop under certain
circumstances.</li>
<li>Fixed a regression that caused the signature help provider to not
display the <code>__new__</code> method of a constructor if it is
overloaded.</li>
<li>Fixed hard-coded type information for module attribute
<code>__package__</code>. It should be <code>str | None</code> rather
than <code>str</code>.</li>
<li>Fixed a bug in the <code>isinstance</code> type guard logic. It was
not properly handling tuples that included unions.</li>
<li>Fixed bug in signature help provider so <code>str</code> method
docstrings are showed when called on <code>LiteralString</code>.</li>
<li>Fixed a bug that results in incorrect type narrowing behavior for
member access expressions under certain circumstances.</li>
<li>Fixed bug that resulted in a false negative when a possibly-unbound
variable is captured by an inner scope under certain circumstances.</li>
</ul>
<h2>Published 1.1.352</h2>
<p>Enhancements:</p>
<ul>
<li>Implemented provisional support for PEP 728 (support for extra items
within TypedDicts). You must set enableExperimentalFeatures to true for
now.</li>
<li>Added support for concatenated strings used in a
<code>@deprecated</code> decorator.</li>
<li>Added support for call-site return type inference for class and
instance methods.</li>
<li>Improved handling of <code>enum.nonmember</code> in cases where the
attribute has a declared type.</li>
<li>Added missing check for inappropriate use of <code>InitVar</code>
outside of a dataclass.</li>
</ul>
<p>Behavior Changes:</p>
<ul>
<li>Added special-case handling for 'typing_extensions' module whose
stubs are part of typeshed's stdlib stubs even though it is not part of
stdlib.</li>
<li>Refined the heuristic for when to use bidirectional type inference
for the RHS of <code>and</code> and <code>or</code> operators.</li>
<li>Changed behavior of command-line &quot;--pythonversion&quot; and
&quot;--pythonplatform&quot; options so they now override the same-named
options in the config file.</li>
</ul>
<p>Bug Fixes:</p>
<ul>
<li>Fixed a bug that resulted in a false negative when attempting to use
<code>TypedDict</code> or <code>Protocol</code> as an upper bound when
using PEP 695 syntax.</li>
<li>Fixed a bug that resulted in
&quot;reportUnnecessaryTypeIgnoreComment&quot; diagnostics to be
generated even if the source file was in the &quot;ignore&quot;
list.</li>
<li>Fixed a bug that leads to incorrect type inference for a lambda when
passed to a constructor in certain circumstances.</li>
<li>Fixed a bug that leads to a false positive type violation when
reassigning a value within a loop and the target variable has a declared
type of a constrained type variable.</li>
<li>Fixed a bug that results in a false negative when passing an
unpacked dict of the wrong type to a function that contains a
positional-only parameter marker plus one or more keyword
parameters.</li>
<li>Fixed a bug in the import resolver that resulted in an incorrect
resolution when an import within a <code>__init__.py</code> file uses
the form <code>from .a import a</code>.</li>
<li>Fixed a bug that results in a false positive error when an
<code>await</code> expression is passed as an argument to an overloaded
function.</li>
<li>Fixed a bug that results in an incorrect &quot;Unbound&quot; type
evaluation for a variable assigned within a loop.</li>
</ul>
<h2>Published 1.1.351</h2>
<p>Bug Fixes:</p>
<ul>
<li>Fixed bug that results in a false positive &quot;no overload
implementation&quot; error if an overloaded function is passed through a
decorator that uses a ParamSpec.</li>
<li>Fixed a recent regression that results in a false positive error
when an <code>Enum</code> subclass overrides <code>__new__</code> or
<code>__init__</code> and then a subclass of that class assigns tuple
values when defining enum members</li>
<li>Fixed a bug that results in a false positive error when a method
defined within a named tuple is overridden by a subclass</li>
<li>Fixed a bug that results in a false positive error when a
<code>enum.nonmember</code> value is assigned to a class-scoped variable
with a type annotation in an Enum class.</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/microsoft/pyright/commit/114501e336fc891b6258ae1003839cddb05da932"><code>114501e</code></a>
Published 1.1.353</li>
<li><a
href="https://github.com/microsoft/pyright/commit/ab402404b3eb587baa37f274762d638823e62a1f"><code>ab40240</code></a>
Drop support for node 12 (<a
href="https://github.com/Microsoft/pyright/tree/HEAD/packages/pyright/issues/7375">#7375</a>)</li>
<li><a
href="https://github.com/microsoft/pyright/commit/08397a0db31852105ce3573ae4881f5ba46151bc"><code>08397a0</code></a>
Published 1.1.352</li>
<li><a
href="https://github.com/microsoft/pyright/commit/bc2544c99681942175d3405e7b6f20992e23b618"><code>bc2544c</code></a>
Published 1.1.351</li>
<li><a
href="https://github.com/microsoft/pyright/commit/b1bb82d8f13ee46ae463e570f4937db6607f995b"><code>b1bb82d</code></a>
[PylanceBot] Pull Pylance with Pyright 1.1.350 (<a
href="https://github.com/Microsoft/pyright/tree/HEAD/packages/pyright/issues/7240">#7240</a>)</li>
<li><a
href="https://github.com/microsoft/pyright/commit/df9aa7cb01967725c8ef051b1d8f375ee2d779a5"><code>df9aa7c</code></a>
Published 1.1.350</li>
<li><a
href="https://github.com/microsoft/pyright/commit/419ae4212f38feda0f4194203f9ce3e5fa7a634c"><code>419ae42</code></a>
Published 1.1.349</li>
<li><a
href="https://github.com/microsoft/pyright/commit/a168f42a3e55daafe10fa217544e3414a1b2ec86"><code>a168f42</code></a>
Published 1.1.348</li>
<li><a
href="https://github.com/microsoft/pyright/commit/b7f191c1fada2df1611cef3dca088bb2409d80b0"><code>b7f191c</code></a>
Published 1.1.347</li>
<li><a
href="https://github.com/microsoft/pyright/commit/56fe9e1c817b5937b5ed2259cdba74e46f1ed1e1"><code>56fe9e1</code></a>
Published 1.1.346</li>
<li>See full diff in <a
href="https://github.com/Microsoft/pyright/commits/1.1.353/packages/pyright">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pyright&package-manager=npm_and_yarn&previous-version=1.1.345&new-version=1.1.353)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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 <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] committed Mar 9, 2024
1 parent ea44417 commit dee23d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"devDependencies": {
"pyright": "1.1.345"
"pyright": "1.1.353"
}
}

0 comments on commit dee23d5

Please sign in to comment.