mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-03 10:22:24 +00:00
fix: add_rule.py for --linter ruff
This commit is contained in:
parent
4758ee6ac4
commit
1beedf20f9
3 changed files with 3 additions and 3 deletions
|
@ -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")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue