Skip to content

Add !r to error messages for improved clarity on file paths #6819

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

jjkochan-metro
Copy link

If leading and/or trailing spaces are included in the file path, they are clearly shown in the error messages because the file path is shown within quotes. If the file path is not shown within quotes, it may be difficult to identify that leading and/or trailing spaces are the cause of the problem.

@sigmavirus24 sigmavirus24 force-pushed the add-repr-to-error-message branch from f7c0dd1 to 24281bb Compare June 10, 2025 02:26
@sigmavirus24
Copy link
Contributor

If you're willing to fix the tests, I think this change makes good sense to me and would be willing to merge it.

@jjkochan-metro
Copy link
Author

I think I fixed the tests. Please let me know if there is anything else I need to do, as I am very new to contributing to github projects.

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.

3 participants