chore(deps-dev): bump pyrefly from 0.26.1 to 0.30.0 in /scaleway-core
Type: Pull Request
State: Merged
![dependabot[bot]](https://github.com/dependabot.png)
Association: Contributor
Comments: 2
(29 days ago)
(26 days ago)
(26 days ago)
by Laure-di
dependencies python
⚠️ Dependabot is rebasing this PR ⚠️
Rebasing might not happen immediately, so don't worry if this takes some time.
Note: if you make any changes to this PR yourself, they will take precedence over the rebase.
Bumps pyrefly from 0.26.1 to 0.30.0.
Release notes
Sourced from pyrefly's releases.
Pyrefly v0.30.0
Status : ALPHA
Release date: 25 August 2025pyrefly v0.30.0 bundles 195 commits from 20 contributors 👏
✨ New & Improved
Area What’s new Completions - Enhanced completions for super
with multiple inheritance implemented completion for unions - When the attribute base is a union, suggestions are now combined from every branch of the union. This might lead to errors, but it's more helpful to make the suggestionType System - added a configuration flag to turn off "infer from first use" behavior. Inferring types from first usage is valuable for catching bugs but it can lead to false positives so this new flag allows users to turn it off. Turning it off behaves like pyright, leaving it on behaves like mypy. - implicit attribute definition errors are now turned off by default. These errors were raised when an attribute is only declared in a non-constructor method, but it can be a source of false positives in dynamic code. - When type args are not explicitly set, push the class type params into methods (matches mypy approach, differs from pyright that implicitly instantiates with Any
/default) ensured qualified names are printed for enums as part of unions. - Enable creation of empty enums and named tuples using functional syntax Default excludes now align with Pylance (incl.Node_modules
,__pycache__
and*venv
)🐛 Bug fixes
We closed 11 bug issues this release 👏
- #984 - empty enums incorrectly given type
Never
, rather thanAny
- #865 - completion not working for Pytorch
torch.zeros
module- #514 - issue returning generic
Self
- Other bug fixes: #971, #967, #743, #567, #348, #261, #186, #103
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
pip install --upgrade pyrefly==0.30
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:
pyrefly check --suppress-errors
- run your code formatter of choice
pyrefly check --remove-unused-ignores
- Repeat until you achieve a clean formatting run and a clean type check.
This will add
# pyrefly: ignore
comments 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 Pyefly documentation
🖊️ Contributors this release
@javabster
,@capickett
, Carlos Fernandez,@connernilsen
,@yangdanny97
,@grievejia
,@kinto0
,@arthaud
,@prasannavenkateshgit
,@rchen152
,@rchiodo
,@rubmary
,@samwgoldman
,@SamChou19815
,@sargun
,@stroxler
,@VladimirMakaev
,@migeed-z
,@LycheeBay
Pyrefly v0.29.0
Status : ALPHA Release date: 18 August 2025
... (truncated)
Commits
76a52db
Update pyrefly version]ce5027f
Separate AttributeBase1b371068
Accumulate attr lookup result mutably40fd1ba
Add Self and type[Self] attribute base099d990
Fix completions for super with multiple inheritance39f5f24
Factor out completions_mrob593927
Simplify excludingobject
fields from completions9c660a7
Add override completion test5673a39
Implement completion for unions16979b9
Support converting relative paths to module name- Additional commits viewable 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 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)
Pull Request Statistics
1
2
+12
-12
Package Dependencies
pyrefly
pip
0.26.1 → 0.30.0
Minor
/scaleway-core
Technical Details
ID: | 6461322 |
UUID: | 2790956353 |
Node ID: | PR_kwDOItrFTM6mWp1B |
Host: | GitHub |
Repository: | scaleway/scaleway-sdk-python |
Merge State: | Unknown |