mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-28 10:50:26 +00:00
## Summary Fixes #19385. Based on [unnecessary-placeholder (PIE790)](https://docs.astral.sh/ruff/rules/unnecessary-placeholder/) behavior, [ellipsis-in-non-empty-class-body (PYI013)](https://docs.astral.sh/ruff/rules/ellipsis-in-non-empty-class-body/) now safely preserve inline comment on ellipsis removal. ## Test Plan A new test class was added: ```python class NonEmptyChildWithInlineComment: value: int ... # preserve me ``` with the following expected fix: ```python class NonEmptyChildWithInlineComment: value: int # preserve me ``` |
||
|---|---|---|
| .. | ||
| resources | ||
| src | ||
| Cargo.toml | ||