Add black to pre-commit (#3192)

This commit is contained in:
Jonathan Plasse 2023-02-23 22:24:23 +01:00 committed by GitHub
parent bda2a0007a
commit a688a237d7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 14 additions and 3 deletions

View file

@ -95,7 +95,7 @@ mod tests {
with (ROOT_DIR / "crates/ruff/src/codes.rs").open("r") as fp:
while (line := next(fp)).strip() != "// ruff":
text += line
text += " "*8 + f"// {plugin}\n"
text += " " * 8 + f"// {plugin}\n"
text += line
text += fp.read()