Skip to content

gh-104683: Argument Clinic: refactor format_docstring() - #107623

Merged
erlend-aasland merged 9 commits into
python:mainfrom
erlend-aasland:clinic/refactor-format-docstring
Aug 8, 2023
Merged

gh-104683: Argument Clinic: refactor format_docstring()#107623
erlend-aasland merged 9 commits into
python:mainfrom
erlend-aasland:clinic/refactor-format-docstring

Conversation

@erlend-aasland

@erlend-aaslanderlend-aasland commented Aug 4, 2023

Copy link
Copy Markdown
Contributor

Extract helper methods for formatting the signature and parameter
sections, and clean up the remaining function body.

Extract helper methods for formatting the signature and parameter
sections, and clean up the remaining function body.
Comment threadTools/clinic/clinic.py Outdated
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
@AlexWaygood

Copy link
Copy Markdown
Member

Looks like there's a bug somewhere -- CI is failing

@erlend-aasland

Copy link
Copy Markdown
ContributorAuthor

Looks like there's a bug somewhere -- CI is failing

Yes, splitlines() is not quite the same as the old comprehension :(

@erlend-aasland

Copy link
Copy Markdown
ContributorAuthor

I reverted the splitlines change.

Comment threadTools/clinic/clinic.py Outdated
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Comment threadTools/clinic/clinic.py Outdated
erlend-aaslandand others added 3 commits August 8, 2023 08:52
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Comment threadTools/clinic/clinic.py Outdated
@erlend-aasland
erlend-aasland enabled auto-merge (squash) August 8, 2023 20:43
@erlend-aasland

Copy link
Copy Markdown
ContributorAuthor

Thanks for the reviews, Adam and Alex!

@erlend-aasland
erlend-aasland merged commit 7350738 into python:mainAug 8, 2023
@erlend-aasland
erlend-aasland deleted the clinic/refactor-format-docstring branch August 8, 2023 21:18
@erlend-aasland

Copy link
Copy Markdown
ContributorAuthor

That's strange; automerge continued through even though the Windows (x86) CI failed (apparently it failed then succeeded because some of the flakey tests were flakey).

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@erlend-aasland@AlexWaygood@AA-Turner@bedevere-bot