Skip to content

Commit

Permalink
Bump pyright from 1.1.369 to 1.1.370 in /.github (#400)
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.369 to 1.1.370.
<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.370</h2>
<p>Bug Fixes:</p>
<ul>
<li>Fixed bug that resulted in a false negative when assigning to type
<code>tuple[Never]</code>.</li>
<li>Fixed bug that results in incorrect type <code>isinstance</code> or
<code>issubclass</code> type narrowing when using a type variable with
an upper bound that includes a promotion type.</li>
<li>Fixed recent regression that results in an assertion failure (and
therefore a crash) when <code>type()</code> is called with dynamic base
classes.</li>
<li>Fixed bug that results in a false positive when a protocol includes
a method implementation that conditionally raises
<code>NotImplementedError</code>.</li>
<li>Fixed bug that results in false positive
<code>reportInconsistentOverload</code> and
<code>reportNoOverloadImplementation</code> errors when an overloaded
decorator is applied to a non-overloaded function or method.</li>
<li>Fixed recent regression that results in false positive when a inner
function with an inferred return type is a coroutine (async) and is
referenced within the function body in which it's declared.</li>
<li>(from Pylance) Fixed recent regression that results in
diagnosticSeverityOverrides to be ignored if a pyproject.toml file is
present, even if there is no <code>[tools.pyright]</code> section in
it.</li>
<li>Fixed bug that results in incorrect type evaluation of a function
that accepts a Callable[P, T] and is passed a class object whose
constructor needs to be converted to a callable.</li>
<li>Fixed bug that results in a spurious error when evaluating a quoted
(forward reference) type expression that includes an index expression
within a <code>TypeAlias</code> definition.</li>
<li>Fixed a bug in the type narrowing for the &quot;x is <!-- raw HTML
omitted -->&quot; type guard pattern when <code>&lt;class&gt;</code> is
a specific class T, as opposed to a variable of type
<code>type[T]</code>.</li>
<li>Fixed bug that resulted in a false positive error when an abstract
class is used for a <code>NewType</code> and the new type is
constructed.</li>
<li>Fixed bug that results in the incorrect default value of a variadic
type variable when the type argument is not provided. It should default
to <code>*tuple[Any, ...]</code>, not <code>*tuple[Any]</code>.</li>
<li>Fixed bug that results in a false negative when passing an extra
keyword argument to a callable that is parameterized with a
ParamSpec.</li>
<li>Fixed bug that results in a false positive
reportUntypedFunctionDecorator error under certain circumstances.</li>
</ul>
<p>Enhancements:</p>
<ul>
<li>Updated typeshed stubs to the latest version.</li>
<li>Improved analysis performance for complex code flow graphs by adding
a cache for reachability.</li>
<li>Implemented optimization in the protocol matching cache.</li>
<li>Improved handling of special forms, including TypeAliasType
instances, when used in value expressions.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/microsoft/pyright/commit/93ac52f0b20d96b20501a0eb208c88d81a0b40f5"><code>93ac52f</code></a>
Published 1.1.370</li>
<li>See full diff in <a
href="https://github.com/Microsoft/pyright/commits/1.1.370/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.369&new-version=1.1.370)](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 8, 2024
2 parents 0b78685 + 6375ecc commit 4cc740b
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.369"
"pyright": "1.1.370"
}
}

0 comments on commit 4cc740b

Please sign in to comment.