-
Notifications
You must be signed in to change notification settings - Fork 55
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 F841 flake8 errors #923
Conversation
looks like data needs to be loaded twice from the clipboard modified: pyface/ui/qt4/clipboard.py
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Just a few questions /comments. I searched the relevant files for things being removed and I believe these should be safe
## if previous_non_empty_group is not None and group.separator: | ||
## tool_bar.AddSeparator() | ||
## | ||
## previous_non_empty_group = group | ||
## previous_non_empty_group = group |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why not just delete the commented code?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't have a very good reason here. It just looked like meaningful code and that there might be some value in keeping it.
modified: pyface/ui/qt4/clipboard.py
modified: pyface/ui/wx/grid/tests/test_simple_grid_model.py
modified: pyface/ui/null/action/action_item.py
This PR fixes the F841 flake8 errors - "local variable is assigned but never used".