Skip to content

Commit

Permalink
Bump pyright from 1.1.368 to 1.1.369 in /.github (#396)
Browse files Browse the repository at this point in the history
Bumps
[pyright](https://github.com/Microsoft/pyright/tree/HEAD/packages/pyright)
from 1.1.368 to 1.1.369.
<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.369</h2>
<p>Behavior Changes:</p>
<ul>
<li>Improved consistency of unreachable code. Previously, unreachable
code was not supported for <code>if</code> or <code>else</code> suites
when the condition type was narrowed to <code>Never</code>.</li>
<li>Changed hover provider output for type aliases to conform more
closely with the new Python 3.12 <code>type</code> syntax.</li>
</ul>
<p>Enhancements:</p>
<ul>
<li>Added support for detecting mismatched property types in base
classes used for multiple inheritance.</li>
<li>Improved <code>reportUninitializedInstanceVariable</code> check to
handle dataclass variables that are initialized implicitly by the
synthesized <code>__init__</code> method.</li>
<li>Added support for walrus (assignment) operator within set literal
expressions if the python version is &gt;= 3.10. The grammar was changed
in 3.10 to support this.</li>
</ul>
<p>Bug Fixes:</p>
<ul>
<li>Fixed recent regression in
<code>reportUninitializedInstanceVariable</code> check relating to
<code>NamedTuple</code> instance variables.</li>
<li>Fixed bug that leads to a false negative when a subscript object
used in an index expression supports <code>__index__</code> but the
indexed object specifies that it requires <code>int</code>.</li>
<li>Fixed recent regression that results in a runtime assert (and
therefore a crash) in certain circumstances when computing the MRO for a
class.</li>
<li>Fixed bug that results in an incorrect overload implementation
diagnostic when using <code>tuple[()]</code> in overloads.</li>
<li>Improved diagnostic messages for type errors detected during
<code>__set__</code> and <code>__delete__</code> calls to a descriptor
object.</li>
<li>Fixed bug that results in a false positive error when using a
callback protocol with a function-scoped type variable.</li>
<li>Fixed bug that incorrectly evaluates a constructor call to a
constructor that infers a class-scoped ParamSpec when the passed
function is generic.</li>
<li>Fixed bug that leads to a spurious &quot;unbound variable&quot;
diagnostic when a variable is assigned a value using a walrus operator
and is later used in a <code>**</code> call argument.</li>
<li>Fixed bug that results in incorrect type narrowing in the negative
(fall-through) case of a match expression when the subject expression is
an unbounded tuple.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/microsoft/pyright/commit/a5cbd4725a8715cc4faa9d0265d1d72485e970a5"><code>a5cbd47</code></a>
Published 1.1.369</li>
<li>See full diff in <a
href="https://github.com/Microsoft/pyright/commits/1.1.369/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.368&new-version=1.1.369)](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 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)


</details>
  • Loading branch information
github-actions[bot] authored Jul 1, 2024
2 parents d91867b + 6b6b188 commit 78f9258
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"devDependencies": {
"pyright": "1.1.368"
"pyright": "1.1.369"
}
}

0 comments on commit 78f9258

Please sign in to comment.