Repository navigation
feat(move): graph-aware move of a module-level definition (#1534) #2907
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
Open
vitali87
wants to merge
26
commits into
pr-split/split-1912-change-signature/pr-9
from
claude/project-thread-anwupy
Open
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
fddc17c
test(signature): acceptance, transaction and MCP tests for change_sig…
vitali87 4d5f2a9
test(signature): mapping tests for change_signature (#1533, 7/9)
vitali87 0305c5c
test(signature): definition and renamed-parameter tests for change_si…
vitali87 3b31d9d
test(signature): hierarchy, receiver and default guards for change_si…
vitali87 26a4ddb
feat(move): move edit operation, rebuilt on the change_signature stac…
vitali87 738df69
fix(move): keep a move that leaves its old module holding only constants
vitali87 084e527
fix(move): refuse when a file changed between planning and staging
vitali87 427ed41
fix(move): keep imports and constants bound where the module bound them
vitali87 7738ae5
fix(move): refuse when a copied import would rebind a destination name
vitali87 1d3b7de
fix(move): keep JavaScript exports working at both paths
vitali87 b541051
fix(move): cut only the definition when other code shares its lines
vitali87 38b6b7a
fix(move): carry TYPE_CHECKING-only imports under the guard
vitali87 9342e98
fix(move): remove only the export statement when code shares its line
vitali87 04daff1
fix(move): respell relative imports inside the moved definition
vitali87 bc8981b
fix(move): refuse when the move would split module state in two
vitali87 660e820
fix(move): refuse when a wildcard importer would lose the moved name
vitali87 271438f
test(move): split assertions and single-call raises blocks SonarCloud…
vitali87 4ed4b48
refactor(move): extract planning phases and helpers to keep move.py u…
vitali87 6ce93a8
fix(move): refuse star-provided names and annotation-future mismatche…
vitali87 a552de2
fix(move): keep postponed annotations for exec'd code; flag a from-im…
vitali87 640e946
fix(move): only builtins.compile counts as dynamic code, not re.compile
vitali87 b9f403b
fix(move): resolve builtins aliases when detecting dynamic code
vitali87 9d9ed51
build(deps): bump pydantic-ai-slim to 2.53.0 (GHSA-6fqq-452j-qhrp, GH…
vitali87 8301041
fix(move): restore structural_delta.import_cycles, which move calls
vitali87 eda1e3c
build: keep the base's uv.lock, since move changes no dependency
vitali87 11ec792
fix(move): find a module-qualified call whose site starts at its name
claude File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.