mirror of
https://github.com/astral-sh/ruff
synced 2026-01-07 14:44:17 -05:00
Add black to pre-commit (#3192)
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user