👌 IMPROVE: Support for keeping abbreviations at enclosing values.#491
👌 IMPROVE: Support for keeping abbreviations at enclosing values.#491lartpang wants to merge 1 commit intosciunto-org:mainfrom
Conversation
| ) | ||
| @pytest.mark.parametrize("inplace", [True, False], ids=["inplace", "not_inplace"]) | ||
| def test_addition_of_enclosing_on_entry_with_abbr( | ||
| value: tuple, |
There was a problem hiding this comment.
| value: tuple, | |
| value: tuple[str,bool], |
|
Hi @lartpang Thanks a lot for your PR. This is certainly a feature we want to support. However, there's two major comments to address:
I'll check for minor things after we settled on these, but I don't expect any hickups after that :-) Thanks again |
|
@MiWeiss Thanks for your review.
|
@drakeguan @jagd @mgorny @sjpfenninger
In this commit, I add a new argument
keep_abbr_stringintoAddEnclosingMiddlewareto keep the abbreviation (@string) when enclosing the value and not resolving the string.