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

space_around_operator: use same before/after numbers #10640

Merged
merged 1 commit into from Mar 27, 2024

Conversation

pjonsson
Copy link
Contributor

Summary

The example for tab-after-comma (E242):

a = 4,\t5

Use instead:

a = 4, 3

is confusing since both the whitespace and the numbers are changed.

Change so the examples use the same numbers before/after.

Test Plan

Untested.

Copy link
Contributor

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

✅ ecosystem check detected no linter changes.

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.

Thanks, not sure how this happened!

@charliermarsh charliermarsh added the documentation Improvements or additions to documentation label Mar 27, 2024
@charliermarsh charliermarsh merged commit fc7fa59 into astral-sh:main Mar 27, 2024
17 checks passed
@pjonsson pjonsson deleted the e242-docs branch March 28, 2024 07:37
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.

None yet

2 participants