Skip to content

Commit

Permalink
build(deps-dev): bump pyright from 1.1.355 to 1.1.365 (#461)
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.355 to 1.1.365.
<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.365</h2>
<p>Bug Fixes:</p>
<ul>
<li>Fixed regression that results in the incorrect type evaluation for
the <code>value</code> attribute of a <code>StrEnum</code> or
<code>IntEnum</code> class.</li>
<li>Fixed a bug that results in incorrect type compatibility checks for
a callable that uses <code>*args: *tuple[T, *tuple[S, ...]]</code>.</li>
<li>Fixed a bug that results in an unsolved TypeVar when calling
<code>list(tuple())</code>.</li>
<li>Fixed bug that leads to inconsistent narrowing-on-assignment
behavior when a <code>tuple</code> instance with unknown type arguments
is assigned to a target symbol with a declared <code>tuple</code>
type.</li>
<li>Fixed bug that results in a false negative when a <code>Final</code>
class variable is assigned a value in the class body and reassigned a
value in the <code>__init__</code> method.</li>
</ul>
<p>Behavior Changes:</p>
<ul>
<li>Changed tuple expression inference behavior to not preserve literal
entry types if the tuple expression is embedded within another tuple,
set, list, or dictionary expression.</li>
<li>[Contribution by <a
href="https://github.com/ujan-r"><code>@​ujan-r</code></a>] Use typeshed
version info for stdlib module list.</li>
</ul>
<p>Enhancements:</p>
<ul>
<li>Improved diagnostic messages for parameter mismatch.</li>
<li>Added support for configuration inheritance through an
&quot;extends&quot; configuration option.</li>
<li>Added support for custom &quot;.toml&quot; files specified via the
<code>-p</code> option on the command line.</li>
</ul>
<h2>Published 1.1.364</h2>
<p>Bug Fixes:</p>
<ul>
<li>Fixed bug that results in a false negative syntax error when a
PEP-695 type alias uses a keyword as a name.</li>
<li>Fixed a bug that leads to a false positive error when first argument
to <code>super</code> call is an instance of a metaclass.</li>
<li>Fixed recent regression that results in a false positive when
accessing an enum member from an instance of an enum class.</li>
<li>Fixed bug that results in a false negative when determining if a
callable type is compatible with another callable type and the first has
a <code>*args</code> parameter and the second has a single
positional+keyword parameter.</li>
<li>Fixed a bug in the code flow engine that results in incorrect type
evaluation in certain cases involving codependent variables in a
loop.</li>
<li>Fixed a bug that results in incorrect type narrowing for a type
guard function that uses <code>TypeIs[type[T]]</code>.</li>
<li>Fixed regression related to &quot;converter&quot; field parameter
for dataclasses when the converter refers to a generic class
constructor.</li>
<li>Fixed a bug that results in a false negative when a generic function
has a parameter with a generic type and a default argument value. This
could lead to a typing hole when considering subtyping rules for
callables.</li>
<li>Fixed a bug in the dataclass &quot;converter&quot; support that
resulted in an error if the converter is <code>tuple</code>.</li>
<li>Fixed regression that results in incorrect type evaluation for
annotations that involve nested protocols (such as
<code>P[P[T]]</code>).</li>
<li>Fixed a bug that resulted in an infinite loop when a function that
uses an <code>*args: *Ts</code> parameter is passed as an argument to
itself.</li>
<li>Fixed bug that leads to a false negative when calling a callback
function that returns a callable with a generic parameter type.</li>
</ul>
<p>Behavior Changes:</p>
<ul>
<li>Changed the handling of <code>Enum</code> subclasses that explicitly
override <code>value</code> or <code>name</code> to avoid using the
special-case logic for computing these types. This is done regardless of
whether the class uses a custom metaclass.</li>
<li>Changed support for dataclass &quot;converter&quot; field parameter
to be off by default. The &quot;enableExperimentalFeatures&quot; must
now be enabled to use this feature. If and when PEP 712 is approved, it
will be moved out of experimental.</li>
<li>Added support for using <code>Literal</code> and various other
special forms in a value expression.</li>
</ul>
<p>Enhancements:</p>
<ul>
<li>Added support for recent addendum to typing spec that provides a
special case for dataclasses so <code>ClassVar</code> and
<code>Final</code> can be used together to distinguish between a regular
<code>Final</code> instance variable and a <code>ClassVar</code> that is
also <code>Final</code>.</li>
<li>Updated typeshed stubs to the latest version.</li>
<li>Improved type printer (the component that converts an internal type
to textual format for diagnostic messages) so it better handles special
forms like <code>Literal</code> or unions when used in a value
expression.</li>
</ul>
<h2>Published 1.1.363</h2>
<p>Bug Fixes:</p>
<ul>
<li>Updated manifest to reflect the correct default value for
<code>reportInvalidTypeForm</code>.</li>
<li>Fixed bug that resulted in diagnostics associated with the
<code>reportUnnecessaryTypeIgnoreComment</code> check to not include the
error code.</li>
<li>Fixed bug that causes a false positive
<code>reportPrivateUsage</code> error when a global or nonlocal binding
is used within a class to access an outer-scoped variable.</li>
<li>Fixed bug that results in a false positive
<code>reportUnnecessaryComparison</code> when a variable is used in a
conditional expression and its type is a union that includes a
<code>Coroutine</code> and a non-coroutine.</li>
<li>Fixed false positive <code>deprecatedTypingAliases</code>
deprecation for <code>collections.abc.AbstractSet</code> due to a recent
change in typeshed stubs.</li>
<li>Fixed recent regression that results in <code>assert_type</code>
failure when a class is parameterized by a ParamSpec with a default
value.</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/microsoft/pyright/commit/66101ee0c5eccb433feff4e6518d39e975a17c97"><code>66101ee</code></a>
Published 1.1.365</li>
<li><a
href="https://github.com/microsoft/pyright/commit/a18387f1c44913515cea5d0ee45de6d7bb5f824c"><code>a18387f</code></a>
Published 1.1.364</li>
<li><a
href="https://github.com/microsoft/pyright/commit/7ccf956b0f0187a4b9fdd6a9eefd4f23a7c09338"><code>7ccf956</code></a>
Published 1.1.363</li>
<li><a
href="https://github.com/microsoft/pyright/commit/3af2bbc1f8087286343a349cebfd7ef0beea18a7"><code>3af2bbc</code></a>
Published 1.1.362</li>
<li><a
href="https://github.com/microsoft/pyright/commit/ab84d414f0ef4614616986f634e827edddfdb754"><code>ab84d41</code></a>
Published 1.1.361</li>
<li><a
href="https://github.com/microsoft/pyright/commit/f4afe405cdf8d6a95abe67a459e8ea84af4162b5"><code>f4afe40</code></a>
Published 1.1.360</li>
<li><a
href="https://github.com/microsoft/pyright/commit/cc3467fda403d8aee6f876481c1431bc9805c4e0"><code>cc3467f</code></a>
Published 1.1.359</li>
<li><a
href="https://github.com/microsoft/pyright/commit/989ee29c0b110c70b8719651d016cad0a0064bc6"><code>989ee29</code></a>
Published 1.1.358</li>
<li><a
href="https://github.com/microsoft/pyright/commit/8752be7a73570ef53a954fac929c16dd4a1d0313"><code>8752be7</code></a>
Published 1.1.357</li>
<li><a
href="https://github.com/microsoft/pyright/commit/4106a090017c506589cb11871e4a0e78f128600b"><code>4106a09</code></a>
Share heap usage numbers to support cache cleanup in VS code (<a
href="https://github.com/Microsoft/pyright/tree/HEAD/packages/pyright/issues/7605">#7605</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/Microsoft/pyright/commits/1.1.365/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.355&new-version=1.1.365)](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>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] committed Jun 2, 2024
1 parent 6236458 commit 7bfc7ea
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.355"
"pyright": "1.1.365"
}
}

0 comments on commit 7bfc7ea

Please sign in to comment.