Skip to content

gh-107614: Normalise Argument Clinic error messages - #107615

Merged
erlend-aasland merged 10 commits into
python:mainfrom
erlend-aasland:clinic/normalise-error-messages
Aug 4, 2023
Merged

gh-107614: Normalise Argument Clinic error messages#107615
erlend-aasland merged 10 commits into
python:mainfrom
erlend-aasland:clinic/normalise-error-messages

Conversation

@erlend-aasland

@erlend-aaslanderlend-aasland commented Aug 4, 2023

Copy link
Copy Markdown
Contributor
  • always wrap the offending line, token, or name in quotes
  • always put the entire error message on one line

- always wrap the offending line, token, or name in quotes
- always put the entire error message on one line
@erlend-aasland

erlend-aasland commented Aug 4, 2023

Copy link
Copy Markdown
ContributorAuthor

Depends on gh-107611 (or the other way around; either way, we'll have conflicts)

Comment threadLib/test/test_clinic.py
Comment threadLib/test/test_clinic.py
Comment threadLib/test/test_clinic.py
Comment threadLib/test/test_clinic.py Outdated
Comment threadTools/clinic/clinic.py Outdated
Comment threadTools/clinic/clinic.py Outdated
Comment threadTools/clinic/clinic.py Outdated
Comment threadTools/clinic/clinic.py Outdated

@AlexWaygoodAlexWaygood left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some suggestions to keep line lengths below 90, where reasonable:

Comment threadTools/clinic/clinic.py Outdated
Comment threadTools/clinic/clinic.py Outdated
Comment threadTools/clinic/clinic.py Outdated
Comment threadTools/clinic/clinic.py Outdated
Comment threadTools/clinic/clinic.py Outdated
Comment threadTools/clinic/clinic.py Outdated
Comment threadTools/clinic/clinic.py Outdated
Comment threadTools/clinic/clinic.py Outdated
Comment threadTools/clinic/clinic.py Outdated
Comment threadTools/clinic/clinic.py Outdated
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
@erlend-aasland

Copy link
Copy Markdown
ContributorAuthor

Some suggestions to keep line lengths below 90, where reasonable:

Thanks; applied!

Comment threadLib/test/test_clinic.py
Comment threadTools/clinic/clinic.py Outdated
Comment threadTools/clinic/clinic.py Outdated
Comment threadTools/clinic/clinic.py Outdated
Comment threadTools/clinic/clinic.py Outdated
erlend-aaslandand others added 2 commits August 4, 2023 13:23
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>

@AlexWaygoodAlexWaygood left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, thank you!

@erlend-aasland

Copy link
Copy Markdown
ContributorAuthor

Looks great, thank you!

Thanks for the helpful review and suggestions!

@erlend-aasland
erlend-aasland enabled auto-merge (squash) August 4, 2023 11:33
@erlend-aasland
erlend-aasland merged commit ac7605e into python:mainAug 4, 2023
@erlend-aasland
erlend-aasland deleted the clinic/normalise-error-messages branch August 4, 2023 12:29
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.

3 participants

@erlend-aasland@AlexWaygood@bedevere-bot