ruff/crates/ruff_linter
Fábio D. Batista 2b73a1c039
[eradicate] ignore # language= in commented-out-code rule (ERA001) (#14069)
## 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:


![image](https://github.com/user-attachments/assets/d523e83d-95cb-4668-a793-45f01d162234)

This PR adds this idiom to the list of allowed exceptions to the rule.

## Test Plan

I've added some additional test cases.
2024-11-03 16:50:00 -05:00
..
resources Detect items that hash to same value in duplicate dictionaries (#14065) 2024-11-03 14:16:34 -05:00
src [eradicate] ignore # language= in commented-out-code rule (ERA001) (#14069) 2024-11-03 16:50:00 -05:00
__init__.py [pylint] (Re-)Implement import-private-name (C2701) (#9553) 2024-01-16 14:03:11 -05:00
Cargo.toml Bump version to 0.7.2 (#14039) 2024-11-01 19:09:07 +05:30