Skip to content

Update traitsui.api imports#561

Merged
rahulporuri merged 1 commit into
masterfrom
cln/update-traitsui-api-usage
Feb 2, 2021
Merged

Update traitsui.api imports#561
rahulporuri merged 1 commit into
masterfrom
cln/update-traitsui-api-usage

Conversation

@rahulporuri

Copy link
Copy Markdown
Contributor

This PR fixes a weird usage of the traitsui api module where traitsui.api was being imported as tui - and users were then doing
tui.View or tui.Group - instead of simply importing Group from traitsui.api.

This commit fixes a weird usage of traitsui api module where
traitsui.api was being imported as tui - and users were then doing
tui.View or tui.Group - instead of simply importing Group from
traitsui.api

	modified:   enable/savage/compliance/comparator.py
	modified:   enable/savage/compliance/sike.py
	modified:   enable/savage/compliance/xml_view.py

@jwiggins jwiggins left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@rahulporuri rahulporuri merged commit b838db2 into master Feb 2, 2021
@rahulporuri rahulporuri deleted the cln/update-traitsui-api-usage branch February 2, 2021 17:09
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.

2 participants