mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-26 11:59:10 +00:00
Use one line between top-level items if formatting a stub file (#6501)
Co-authored-by: Micha Reiser <micha@reiser.io>
This commit is contained in:
parent
455db84a59
commit
84d178a219
7 changed files with 451 additions and 2 deletions
|
@ -161,7 +161,11 @@ fn format() {
|
|||
});
|
||||
};
|
||||
|
||||
insta::glob!("../resources", "test/fixtures/ruff/**/*.py", test_file);
|
||||
insta::glob!(
|
||||
"../resources",
|
||||
"test/fixtures/ruff/**/*.{py,pyi}",
|
||||
test_file
|
||||
);
|
||||
}
|
||||
|
||||
/// Format another time and make sure that there are no changes anymore
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue