mirror of
https://github.com/astral-sh/ruff
synced 2026-01-07 22:54:28 -05:00
fix: add_rule.py for --linter ruff
This commit is contained in:
committed by
Charlie Marsh
parent
4758ee6ac4
commit
1beedf20f9
@@ -80,7 +80,7 @@ mod tests {
|
||||
for line in content.splitlines():
|
||||
indent = get_indent(line)
|
||||
|
||||
if line.strip() == "// Ruff":
|
||||
if line.strip() == "// ruff":
|
||||
fp.write(f"{indent}// {plugin}")
|
||||
fp.write("\n")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user