ruff/crates/ruff_python_formatter/tests
Charlie Marsh cc278c24e2
Allow up to two empty lines after top-level imports (#6777)
## Summary

For imports, we enforce that there's _at least_ one empty line after an
import (assuming the next statement is _not_ an import), but allow up to
two at the module level.

Closes https://github.com/astral-sh/ruff/issues/6760.

## Test Plan

`cargo test`
2023-08-22 12:27:40 -04:00
..
snapshots Allow up to two empty lines after top-level imports (#6777) 2023-08-22 12:27:40 -04:00
fixtures.rs Use one line between top-level items if formatting a stub file (#6501) 2023-08-15 09:33:57 +02:00