Skip to content
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

Use !r formatter for error messages with filenames. #844

Merged
merged 1 commit into from
Oct 21, 2024

Conversation

Carreau
Copy link
Contributor

@Carreau Carreau commented Oct 21, 2024

Because I've been tracking an empty filename for some time, and it took me a while to realise it was just here in my logs invisible.

So adding !r everywhere, so that at least there is a pair of quotes.

Because I've been tracking an empty filename for some time,
and it took me a while to realise it was just here in my logs invisible.

So adding !r everywhere, so that at least there is a pair of quotes.
@brettcannon brettcannon merged commit 6c338a8 into pypa:main Oct 21, 2024
32 checks passed
@brettcannon
Copy link
Member

Thanks!

@Carreau
Copy link
Contributor Author

Carreau commented Oct 21, 2024

Much ❤️ for your work and the speed at which you merge PRs.

@ewdurbin ewdurbin mentioned this pull request Oct 24, 2024
ewdurbin added a commit to pypi/warehouse that referenced this pull request Nov 8, 2024
ewdurbin added a commit to pypi/warehouse that referenced this pull request Nov 8, 2024
* chore(deps): bump packaging from 24.1 to 24.2

Bumps [packaging](https://github.com/pypa/packaging) from 24.1 to 24.2.
- [Release notes](https://github.com/pypa/packaging/releases)
- [Changelog](https://github.com/pypa/packaging/blob/main/CHANGELOG.rst)
- [Commits](pypa/packaging@24.1...24.2)

---
updated-dependencies:
- dependency-name: packaging
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* fix tests to handle new !r formatting in packaging

ref: pypa/packaging#844
ref: pypa/packaging#848

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ee Durbin <[email protected]>
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.

2 participants