Skip to content

Fix auto formatting to be called only once.#12336

Merged
Carreau merged 1 commit into
ipython:masterfrom
Carreau:black_formatting
May 26, 2020
Merged

Fix auto formatting to be called only once.#12336
Carreau merged 1 commit into
ipython:masterfrom
Carreau:black_formatting

Conversation

@Carreau
Copy link
Copy Markdown
Member

@Carreau Carreau commented May 25, 2020

There seem to be a small race-condition when trying to reformat the text
twice in a short amount of time where some of the non-changed test
diapear. For example

async def b():pass

Lead to two reformatting where one does not see the async keyword
anymore., and would thus dedent the def by 1 space.

There seem to be a small race-condition when trying to reformat the text
twice in a short amount of time where some of the non-changed test
diapear. For example

    async def b():pass

Lead to two reformatting where one does not see the `async` keyword
anymore., and would thus dedent the def by 1 space.
@Carreau Carreau added this to the 7.15 milestone May 25, 2020
@Carreau Carreau merged commit 3546aed into ipython:master May 26, 2020
@Carreau Carreau deleted the black_formatting branch May 26, 2020 02:54
meeseeksmachine pushed a commit to meeseeksmachine/ipython that referenced this pull request May 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant