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

PR: Clean imports and fix pylint complaints #583

Merged
merged 5 commits into from Dec 10, 2022
Merged

PR: Clean imports and fix pylint complaints #583

merged 5 commits into from Dec 10, 2022

Conversation

edreamleo
Copy link
Contributor

@edreamleo edreamleo commented Dec 10, 2022

Cherry pick the following commits from PR #580:

  • d643366 Add comments about difficult imports in pynames.py
  • a75ed27 Clean up/alphabetize imports
  • 849891c Fix three pylint complaints. All tests still pass.
  • 8999531 Fix/suppress more pylint warnings

Merging these commits into master will:

  • Reduce the size of PR 580.
  • Allow PR 580 to be closed without losing any useful work.

@edreamleo edreamleo marked this pull request as draft December 10, 2022 05:54
@edreamleo edreamleo changed the title PR: Clean imports PR: Clean imports and fix pylint complaints Dec 10, 2022
@edreamleo edreamleo marked this pull request as ready for review December 10, 2022 06:18
@lieryan lieryan merged commit cafdc69 into python-rope:master Dec 10, 2022
@lieryan
Copy link
Member

lieryan commented Dec 10, 2022

LGTM. Thanks @edreamleo

It might also be the right time to set up isort to handle this kind of import management going forwards.

@edreamleo
Copy link
Contributor Author

@lieryan Thanks for merging this PR :-)

@edreamleo edreamleo deleted the ekr-clean-imports branch December 10, 2022 14:04
@edreamleo
Copy link
Contributor Author

@lieryan This is the first I've heard about isort. Seems like a good idea.

@lieryan lieryan added this to the 1.6.0 milestone Dec 14, 2022
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

2 participants