-
Notifications
You must be signed in to change notification settings - Fork 0
Detect local arguments and functions used in a function #164
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
+389
−325
Merged
Changes from all commits
Commits
Show all changes
46 commits
Select commit
Hold shift + click to select a range
cede0a1
Current state
samwaseda 9386d7e
Merge branch 'resolve' into args
samwaseda 87604aa
Refactor items
samwaseda 995b9ef
Rename some stuff
samwaseda f0b255c
Move get_dependencies
samwaseda bb5d7a5
safe guard for inline access to members
samwaseda 0862a51
Add tests and black
samwaseda c6c0fa1
future annotation
samwaseda c1c7978
mypy
samwaseda a646a44
Merge remote-tracking branch 'origin' into args
samwaseda 690c213
Merge remote-tracking branch 'origin' into args
samwaseda 740aa51
Create find_undefined_variables
samwaseda ef0169a
Merge remote-tracking branch 'origin' into args
samwaseda ea31b27
Do not distinguish between functions and variables
samwaseda 50503f6
go recursive only if there is no version
samwaseda 9e6ee43
black
samwaseda ee1c5ce
Add one more test
samwaseda e2b19d5
[dependabot skip] Update env file
pyiron-runner 8e1a845
Merge remote-tracking branch 'origin' into args
samwaseda fa1d666
Resolve conflict
samwaseda 923e300
Align code
samwaseda 0663d05
ruff
samwaseda 0f301b7
Remove try except and add tests
samwaseda 09df6fd
Merge remote-tracking branch 'origin' into args
samwaseda 777a558
Potential fix for pull request finding
samwaseda 56aa4f2
Potential fix for pull request finding
samwaseda 3de03c5
Potential fix for pull request finding
samwaseda dcd510b
Potential fix for pull request finding
samwaseda 2d48634
Remove tests for now
samwaseda bc0accd
Initial plan
Copilot dbb1188
Rewrite UndefinedVariableVisitor to forbid local function definitions
Copilot 1e893de
Merge pull request #190 from pyiron/copilot/sub-pr-164
samwaseda 87dbcf7
Merge main
liamhuber d62ecc8
Fix module path in patch calls
liamhuber 6581e93
Merge pull request #211 from pyiron/merge-main-args
liamhuber 69ac4e3
Include imports
samwaseda 94ffe70
Restructure find_undefined_raviables
samwaseda c7ad06e
Merge remote-tracking branch 'origin' into args
samwaseda 4bc617c
Remove tests to make copilot write it
samwaseda 9243624
ruff-check
samwaseda 1e85c8b
Fix mypy type annotation issues in dependency_parser.py
Copilot 5cfaab2
ruff check
samwaseda 9f326f8
Add unit tests for UndefinedVariableVisitor, find_undefined_variables…
Copilot 641fbaf
Cover SyntaxError branch in find_undefined_variables for 100% line co…
Copilot c30d99f
Remove accidental coverage artifacts and update .gitignore
Copilot d2073d2
black and remove mysterious lines added by copilot
samwaseda 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
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.
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.
smells like AI newline docstring 😝