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

erlend-aasland merged 10 commits into
python:mainfrom
erlend-aasland:clinic/normalise-error-messages

Conversation

@erlend-aasland

@erlend-aasland erlend-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
Contributor Author

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

Comment thread Lib/test/test_clinic.py Resolved
Comment thread Lib/test/test_clinic.py Resolved
Comment thread Lib/test/test_clinic.py Resolved
Comment thread Lib/test/test_clinic.py Resolved
Comment thread Tools/clinic/clinic.py Resolved
Comment thread Tools/clinic/clinic.py Resolved
Comment thread Tools/clinic/clinic.py Resolved
Comment thread Tools/clinic/clinic.py Resolved

@AlexWaygood AlexWaygood 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 thread Tools/clinic/clinic.py Resolved
Comment thread Tools/clinic/clinic.py Resolved
Comment thread Tools/clinic/clinic.py Resolved
Comment thread Tools/clinic/clinic.py Resolved
Comment thread Tools/clinic/clinic.py Resolved
Comment thread Tools/clinic/clinic.py Resolved
Comment thread Tools/clinic/clinic.py Resolved
Comment thread Tools/clinic/clinic.py Resolved
Comment thread Tools/clinic/clinic.py Resolved
Comment thread Tools/clinic/clinic.py Resolved
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
@erlend-aasland

Copy link
Copy Markdown
Contributor Author

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

Thanks; applied!

Comment thread Lib/test/test_clinic.py Resolved
Comment thread Tools/clinic/clinic.py Resolved
Comment thread Tools/clinic/clinic.py Resolved
Comment thread Tools/clinic/clinic.py Resolved
Comment thread Tools/clinic/clinic.py Resolved
erlend-aasland and others added 2 commits August 4, 2023 13:23
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>

@AlexWaygood AlexWaygood 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
Contributor Author

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:main Aug 4, 2023
@erlend-aasland
erlend-aasland deleted the clinic/normalise-error-messages branch August 4, 2023 12:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

3 participants