mirror of
https://github.com/astral-sh/ruff.git
synced 2025-12-04 01:36:46 +00:00
Add black to pre-commit (#3192)
This commit is contained in:
parent
bda2a0007a
commit
a688a237d7
4 changed files with 14 additions and 3 deletions
|
|
@ -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()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue