deps: Update dependency pyrefly to >=0.63.0,<0.64#727
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
>=0.62.0,<0.63→>=0.63.0,<0.640.64.1(+2)Release Notes
facebook/pyrefly (pyrefly)
v0.63.0: Pyrefly v0.63.0Compare Source
Status : BETA
Release date: April 27, 2026
Pyrefly v0.63.0 bundles 129 commits from 26 contributors.
✨ New & Improved
EnumMeta, reducing noise in projects using custom metaclasses with enums.- Constrained
TypeVars no longer get pinned to a specific constraint when matched againstAny, preventing false positives.- Self/cls annotations on all methods and classmethods are validated to ensure they reference the defining class or a superclass, catching more annotation errors.
unused-ignorediagnostics when configured to do so, helping you clean up stale suppression comments.- Completions for attribute override definitions are available in class bodies, surfacing base-class members filtered by fuzzy match.
- The LSP server no longer crashes on Jupyter notebook cell URIs (
vscode-notebook-cell:), with full support for resolving notebook cell paths and position offsets.- Workspace symbol search uses the correct location for re-exported symbols, preventing panics on multi-byte UTF-8 characters.
- Inlay hints are clickable for built-in types like
tuple,dict, andstr, enabling go-to-definition directly from hint overlays.unnecessary-type-conversionlint warns whenstr(),int(), orfloat()is called on an argument that is already of that exact type.pyrefly report --public-only, using cross-module tracing to report only public symbols.pyrefly initsupports--dry-runfor safe previews without writing files, and--print-configfor machine-readable TOML output.🐛 bug fixes
We closed 9 bug issues this release 👏
pyrefly reportby incorrectly counting their trivial-> Nonereturn types.pyrefly reportwere not deduplicated, causing parameters and callable signatures to be counted multiple times and inflate coverage metrics.*) for directTypeVarTuplearguments, causingShapeto render bare instead of*Shape.bad-assignmentandbad-returnerrors.pyrefly reportby being counted as typable entities.unnecessary-type-conversionlint that warns whenstr(),int(), orfloat()is called on an argument that is already of that exact type, making the conversion redundant.pyrefly reportwhen@no_type_checkdecorator was used, caused by a missing key lookup for skipped parameter annotations.awaitexpression already hasawaitbut produces a coroutine due to an incorrect return type annotation on the function definition.Thank-you to all our contributors who found these bugs and reported them! Did you know this is one of the most helpful contributions you can make to an open-source project? If you find any bugs in Pyrefly we want to know about them! Please open a bug report issue here
📦 Upgrade
How to safely upgrade your codebase
Upgrading the version of Pyrefly you're using or a third-party library you depend on can reveal new type errors in your code. Fixing them all at once is often unrealistic. We've written scripts to help you temporarily silence them. After upgrading, follow these steps:
1.
pyrefly check --suppress-errors2. run your code formatter of choice
3.
pyrefly check --remove-unused-ignores4. Repeat until you achieve a clean formatting run and a clean type check.
This will add
# pyrefly: ignorecomments to your code, enabling you to silence errors and return to fix them later. This can make the process of upgrading a large codebase much more manageable.Read more about error suppressions in the Pyrefly documentation
🖊️ Contributors this release
@rchen152, @migeed-z, @avikchaudhuri, @grievejia, @kinto0, @jorenham, @jvansch1, generatedunixname2066905484085733, @stroxler, @tejasreddyvepala, David Tolnay, @fangyi-zhou, @asukaminato0721, @lolpack, @NathanTempest, @connernilsen, @zbowling, @rubmary, @rexledesma, Anass Al-Wohoush, @javabster, @ABohra3, generatedunixname89002005232357, @tkaleas, @knQzx, generatedunixname89002005307016
Please note: These release notes summarize major updates and features. For brevity, not all individual commits are listed. Highlights from patch release changes that were shipped after the previous minor release are incorporated here as well.
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.