mirror of https://github.com/astral-sh/ruff
## Summary The `commented-out-code` rule (ERA001) from `eradicate` is currently flagging a very common idiom that marks Python strings as another language, to help with syntax highlighting:  This PR adds this idiom to the list of allowed exceptions to the rule. ## Test Plan I've added some additional test cases. |
||
|---|---|---|
| .. | ||
| resources | ||
| src | ||
| Cargo.toml | ||
| __init__.py | ||