Skip to content

space_around_operator: use same before/after numbers#10640

Merged
charliermarsh merged 1 commit intoastral-sh:mainfrom
pjonsson:e242-docs
Mar 27, 2024
Merged

space_around_operator: use same before/after numbers#10640
charliermarsh merged 1 commit intoastral-sh:mainfrom
pjonsson:e242-docs

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.

@github-actions
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
@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.

2 participants