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

Fix a broken local import #1034

Merged
merged 1 commit into from
Nov 8, 2021
Merged

Fix a broken local import #1034

merged 1 commit into from
Nov 8, 2021

Conversation

rahulporuri
Copy link
Contributor

fixes #1033

This PR fixes a broken local import in the workbench machinery.

Copy link
Member

@mdickinson mdickinson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Is this an isolated case? Are there tools we could use that would identify this (and other) broken imports?

@rahulporuri
Copy link
Contributor Author

LGTM. Is this an isolated case? Are there tools we could use that would identify this (and other) broken imports?

I don't think this is an isolated case. I'm afraid there might be more such broken imports, which we aren't catching because the testsuite isn't that good and because we arent using the workbench code internally.

I will try to find more such broken imports and see if any useful tools exist (I'd be surprised if i find none)

@rahulporuri
Copy link
Contributor Author

I will try to find more such broken imports

For now, I manually went over the workbench code in pyface and found no other broken imports. I just manually inspected the workbench modules, it didn't take long.

@rahulporuri rahulporuri merged commit 36eed69 into main Nov 8, 2021
@rahulporuri rahulporuri deleted the rahulporuri-patch-1 branch November 8, 2021 10:39
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.

workbench_window.py missing relative path in import
2 participants