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

Bytes string formatting #6064

Closed
Tracked by #6069 ...
konstin opened this issue Jul 25, 2023 · 0 comments · Fixed by #6166
Closed
Tracked by #6069 ...

Bytes string formatting #6064

konstin opened this issue Jul 25, 2023 · 0 comments · Fixed by #6166
Labels
formatter Related to the formatter

Comments

@konstin
Copy link
Member

konstin commented Jul 25, 2023

Format byte strings such as b"hello"

@konstin konstin changed the title Bytes constant formatting Bytes string formatting Jul 25, 2023
@konstin konstin added the formatter Related to the formatter label Jul 25, 2023
konstin pushed a commit that referenced this issue Jul 31, 2023
<!--
Thank you for contributing to Ruff! To help us out with reviewing,
please consider the following:

- Does this pull request include a summary of the change? (See below.)
- Does this pull request include a descriptive title?
- Does this pull request include references to any relevant issues?
-->

## Summary

Format bytes string

Closes #6064

## Test Plan

Added a fixture based on string's one
@MichaReiser MichaReiser added this to the Formatter: Alpha milestone Aug 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
formatter Related to the formatter
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants