Qcodes
Qcodes copied to clipboard
Bump pyright from 1.1.384 to 1.1.385 in /.github
Bumps pyright from 1.1.384 to 1.1.385.
Release notes
Sourced from pyright's releases.
Published 1.1.385
Bug Fixes:
- Fixed bug that leads to a false positive error when using
Literal[]in a value expression (not a type expression) with an unpack operator.- Fixed a recent regression that results in a false positive in cases where a dataclass field has a default value where the expression requires bidirectional type inference for proper type evaluation.
- Fixed recent regression that results in a false negative when calling a constructor for a class with a custom metaclass with a
__call__method that has an unannotated return type if the arguments passed to the constructor are incorrect.- Fixed bug that results in a false positive when a NamedTuple field uses
...as a default value in a stub file.- Fixed recent regression that leads to a false positive error when assigning a generic method within a class body.
- Fixed recent regression that results in a false negative when calling a function with an
*argsparameter annotated with an unpackedtuple.- Fixed bug that results in false positive error when a dataclass field is annotated with a class-scoped type variable and includes a default value whose type require bidirectional type inference.
- Fixed bug that results in incorrect type evaluation and a false negative when accessing an attribute through a TypeVar with an upper bound.
- Fixed bug that results in false positive error regarding a
__bool__method for a value used in an operand for anororandoperator.Enhancements:
- Added check for
aliaskeyword argument in adataclass_transformfield definition call to ensure that it's a valid Python identifier.
Commits
7f8764cPublished 1.1.385- See full diff in compare view
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 commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 69.33%. Comparing base (
ef66ccc) to head (f7c0013).
Additional details and impacted files
@@ Coverage Diff @@
## main #6536 +/- ##
=======================================
Coverage 69.33% 69.33%
=======================================
Files 340 340
Lines 31261 31261
=======================================
Hits 21676 21676
Misses 9585 9585
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Superseded by #6555.