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

Refactor: distinguish variable responsibilities #1963

Merged
merged 14 commits into from Feb 20, 2021
Merged

Refactor: distinguish variable responsibilities #1963

merged 14 commits into from Feb 20, 2021

Conversation

jayaddison
Copy link
Contributor

This is largely an investigation aid for #1958. Separating the concerns of different variables may help discover the cause of the underlying problem(s).

NB: It's not ideal that the line.magic_trailing_comma variable name here shadows the mode.magic_trailing_comma variable name. They do have different types however.

@ambv ambv merged commit 0cbe19c into psf:master Feb 20, 2021
@ambv
Copy link
Collaborator

ambv commented Feb 20, 2021

Thanks! ✨ 🍰 ✨

@jayaddison
Copy link
Contributor Author

No worries! I hope this is all fairly safe; there are definitely some small logical differences introduced here, and the scope for potential future impact from any change does worry me a bit. I'll watch out for any resulting problems, anyway.

@jayaddison jayaddison deleted the refactor/distinguished-variable-responsibilities branch February 20, 2021 19:08
@TBBle
Copy link
Contributor

TBBle commented Feb 22, 2021

Per #1897 (comment), it looks like this PR missed updating /docs/reference/reference_functions.rst which broke the doc-gen job (which is annoyingly not run as part of CI for PRs).

@jayaddison
Copy link
Contributor Author

D'oh, thanks @TBBle - I'll look into fixing that up.

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

3 participants