-
-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(deps): update dependency libcst to v1.6.0 #1255
Conversation
Reviewer's Guide by SourceryThis PR updates the Sequence diagram for improved rename functionality in LibCST 1.6.0sequenceDiagram
participant C as Client Code
participant R as Rename System
participant S as State Storage
participant I as Import Handler
C->>R: Request rename operation
R->>S: Store state in scratch
R->>I: Process imports
I->>I: Handle parent module imports
I->>I: Process aliased imports
I->>R: Return processed imports
R->>R: Handle trailing commas
R->>R: Process toplevel names
R->>C: Return transformed code
Class diagram showing new codemods in LibCST 1.6.0classDiagram
class UnionToOrCodemod {
+transform_module()
+transform_union_annotation()
}
note for UnionToOrCodemod "New codemod to convert typing.Union to |"
class VariadicCallableCodemod {
+transform_module()
+fix_callable_annotation()
}
note for VariadicCallableCodemod "New codemod to fix variadic callable annotations"
class TypeAliasRenameCodemod {
+transform_module()
+rename_builtin_aliases()
}
note for TypeAliasRenameCodemod "New codemod to rename typing aliases of builtins"
class BaseCodemod {
+transform_module()*
}
BaseCodemod <|-- UnionToOrCodemod
BaseCodemod <|-- VariadicCallableCodemod
BaseCodemod <|-- TypeAliasRenameCodemod
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have skipped reviewing this pull request. It seems to have been created by a bot (hey, renovate[bot]!). We assume it knows what it's doing!
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1255 +/- ##
=======================================
Coverage 98.73% 98.73%
=======================================
Files 30 30
Lines 1026 1026
Branches 125 125
=======================================
Hits 1013 1013
Partials 13 13 ☔ View full report in Codecov by Sentry. |
This PR contains the following updates:
==1.5.1
->==1.6.0
Release Notes
Instagram/LibCST (libcst)
v1.6.0
Compare Source
Fixed
Added
typing.Union
to|
by @yangdanny97 in https://github.com/Instagram/LibCST/pull/1270Updated
New Contributors
Full Changelog: Instagram/LibCST@v1.5.1...v1.6.0
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 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.
Summary by Sourcery
Update LibCST to v1.6.0.
New Features:
Enhancements:
Tests: