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:
Tom Kuson 2023-08-15 08:33:57 +01:00 committed by GitHub
parent 455db84a59
commit 84d178a219
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 451 additions and 2 deletions

View file

@ -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