Skip to content
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

[BUGFIX] Alter Checker.handleNodeLoad() signature #54

Merged
merged 3 commits into from Mar 23, 2023
Merged

Conversation

lmmx
Copy link
Owner

@lmmx lmmx commented Mar 23, 2023

to accomodate pyflakes PR 745 (which introduced a parent arg)

This was causing Python 3.11 builds to fail (but may just be the new environment I created to test it in come to think of it)

before: https://github.com/PyCQA/pyflakes/blob/853cce91634cbddff01cc16313b5467be1e95c54/pyflakes/checker.py#L1073-L1094

after: https://github.com/PyCQA/pyflakes/blob/e19886e583637a7e2eec428cc036094b9630f2d0/pyflakes/checker.py#L1051-L1072

Relevant to

def handleNodeLoad(self, node):

I also updated the one other change in this 'parallel' region:

scope[name].used = True

to match the change introduced in PyCQA/pyflakes@e19886e

@lmmx lmmx merged commit 1761af8 into master Mar 23, 2023
4 checks passed
@lmmx lmmx deleted the handlenodeload-sig branch March 23, 2023 23:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant