-
Notifications
You must be signed in to change notification settings - Fork 166
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
Global declaration in extracted method #392
Conversation
@lieryan Can you tell me why task is failing? Thanks |
It shouldn't fail. That's a new Github Actions I added recently to enforce that all task list must be checked before merging. Your PR doesn't contain any task list, so it should not have failed; it seemed to be failing because of an unrelated issue because the task list don't have permission to access your fork or something like that. I'll try and see if there's other different task list plugins that doesn't fail in such situations. |
Same here #391 |
Hi @climbus, I made some changes to Github Actions that should hopefully resolve the task-completed-checker issue. Can you check if this issue is still there after you pull the latest master into this branch? |
! [remote rejected] global_declaration -> global_declaration (refusing to allow a Personal Access Token to create or update workflow |
Hi thanks for trying that out. Can you try rebasing this branch on top of the latest
|
The task-completed-checker-action seems to be complaining of "Error: Resource not accessible by integration" whenever it ran from a forked repository. This *should* allow the task-completed-checker-action to run on a forked branch without causing that error.
Unfortunately still errors ! [remote rejected] master -> master (refusing to allow a Personal Access Token to create or update workflow |
Can you try if making a new pull request from the rebased branch works? |
rope/refactor/extract.py
Outdated
|
||
def _Global(self, node): | ||
for name in node.names: | ||
self.globals_.add(name) |
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.
Would doing self.globals_.add(*node.names)
like the other _Global
work here as well?
After rebase I can't push any commit in any branch on my fork. When I remove task check file, I can push again. |
Ok forget it. I had wrong permissions on token. Now it works fine. Thanks for help. |
Hi @climbus, great work on this one as usual 💯 |
316
Added support for global expression.