Skip to content

refactor: remove comparison between Keybinding and string#137

Closed
tlambert03 wants to merge 0 commit intopyapp-kit:mainfrom
tlambert03:main
Closed

refactor: remove comparison between Keybinding and string#137
tlambert03 wants to merge 0 commit intopyapp-kit:mainfrom
tlambert03:main

Conversation

@tlambert03
Copy link
Copy Markdown
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
@codecov
Copy link
Copy Markdown

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
Copy Markdown

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
Copy Markdown
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