Merged
Conversation
Poolitzer
reviewed
Dec 17, 2020
Member
Poolitzer
left a comment
There was a problem hiding this comment.
okay, looks good now. are we doing it like this?
Member
Author
|
Here is a (hopefully complete) list of all TG classes with shortcuts. Put your name behind it, when you start working on it. that way we can keep track of who does what. Don't forget to update the tests ;P
|
Member
Author
|
TimeOut-failures seem unrelated and I think I got all the shortcuts. Ready for review. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
First POC for #2238. It's probably good to discuss it first, before applying the changes to all the other shortcuts.
Some notes:
get_shortcut_kwargs, which can be used in combination with pythons built-inlocals()method. It will probably have to get a argumentlocal_vars_to_ignorefor some of the shortcuts, but we'll see.conftest.pyto reduce code duplication in the testsMessage._new_quoteinstead of editingMessage._quotefor now, so the test won't fail immediately …when ready, closes #2238