ruff/crates/ruff_linter
Dylan b0905c4b04
[pycodestyle] Handle each cell separately for too-many-newlines-at-end-of-file (W391) (#15308)
Jupyter notebooks are converted into source files by joining with
newlines, which confuses the check [too-many-newlines-at-end-of-file
(W391)](https://docs.astral.sh/ruff/rules/too-many-newlines-at-end-of-file/#too-many-newlines-at-end-of-file-w391).
This PR introduces logic to apply the check cell-wise (and, in
particular, correctly handles empty cells.)

Closes #13763
2025-01-09 10:50:39 -06:00
..
resources [pycodestyle] Handle each cell separately for too-many-newlines-at-end-of-file (W391) (#15308) 2025-01-09 10:50:39 -06:00
src [pycodestyle] Handle each cell separately for too-many-newlines-at-end-of-file (W391) (#15308) 2025-01-09 10:50:39 -06:00
Cargo.toml Release 0.9.0 (#15371) 2025-01-09 14:53:08 +01:00