Skip to content

[docs] fix typo#8013

Merged
charliermarsh merged 3 commits intoastral-sh:mainfrom
eikowagenknecht:eikowagenknecht-patch-1
Oct 17, 2023
Merged

[docs] fix typo#8013
charliermarsh merged 3 commits intoastral-sh:mainfrom
eikowagenknecht:eikowagenknecht-patch-1

Conversation

@eikowagenknecht
Copy link
Contributor

Summary

Fix a typo in the docs for quote style.

a = "a string without any quotes"
b = "It's monday morning"
Ruff will change a to use single quotes when using quote-style = "single". However, a will be unchanged, as converting to single quotes would require the inner ' to be escaped, which leads to less readable code: 'It's monday morning'.

It should read "However, b will be unchanged".

Test Plan

N/A.

@charliermarsh charliermarsh added the documentation Improvements or additions to documentation label Oct 17, 2023
Copy link
Member

@charliermarsh charliermarsh left a comment

Choose a reason for hiding this comment

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

Thank you!

@charliermarsh charliermarsh enabled auto-merge (squash) October 17, 2023 13:56
@charliermarsh charliermarsh merged commit 88c0106 into astral-sh:main Oct 17, 2023
@github-actions
Copy link
Contributor

PR Check Results

Ecosystem

✅ ecosystem check detected no changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants