Dhruv Manilawala
13ad24b13e
Avoid syntax errors for test cases ( #11923 )
...
## Summary
This PR removes most of the syntax errors from the test cases. This
would create noise when https://github.com/astral-sh/ruff/pull/11901 is
complete. These syntax errors are also just noise for the test itself.
## Test Plan
Update the snapshots and verify that they're still the same.
2024-06-18 17:16:27 +05:30
Charlie Marsh
8e9ddee392
Ignore end-of-line comments when determining blank line rules ( #11342 )
...
## Summary
Closes https://github.com/astral-sh/ruff/issues/11331 .
2024-05-08 15:19:27 +00:00
Hoël Bagard
670d66f54c
[`pycodestyle`] Do not trigger `E3` rules on defs following a function/method with a dummy body ( #10704 )
2024-04-15 10:23:49 +02:00
Hoël Bagard
b82e87790e
Fix E301 not triggering on decorated methods. ( #10117 )
...
Co-authored-by: Micha Reiser <micha@reiser.io>
2024-03-01 09:30:53 +00:00
Hoël Bagard
12a91f4e90
Fix `E30X` panics on blank lines with trailing white spaces ( #9907 )
2024-02-09 14:00:26 +00:00
Hoël Bagard
9027169125
[`pycodestyle`] Add blank line(s) rules (`E301`, `E302`, `E303`, `E304`, `E305`, `E306`) ( #9266 )
...
Co-authored-by: Micha Reiser <micha@reiser.io>
2024-02-08 18:35:08 +00:00