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: remove comparison between Keybinding and string #137

Closed
wants to merge 0 commits into from

Conversation

tlambert03
Copy link
Member

@tlambert03 tlambert03 commented Oct 31, 2023

closes #108
@Carreau, if you could review/confirm that this is what you wanted in #108 I'd appreciate it!

(looks like napari tests pass fine with this change)

@tlambert03 tlambert03 changed the title refactor: remove comparison with string refactor: remove comparison between Keybinding and string Oct 31, 2023
Copy link

codecov bot commented Oct 31, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (b7a5262) 100.00% compared to head (2b60589) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #137   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           31        31           
  Lines         1760      1758    -2     
=========================================
- Hits          1760      1758    -2     
Files Coverage Δ
src/app_model/types/_keys/_keybindings.py 100.00% <100.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Carreau
Copy link

Carreau commented Nov 1, 2023

Thanks, that looks great ! I'll try to find some time to test it with napari to see if it changes anything in the UI.

@tlambert03
Copy link
Member Author

i don't know how this got closed! and now seem unable to reopen. lemme figure it out

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Keybinding comparing itself to str is really weird.
2 participants