Skip to content

Commit

Permalink
chore: fix script indent (astral-sh#2213)
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrugman authored Jan 26, 2023
1 parent 50c85fd commit bab8691
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/add_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def main(*, plugin: str, url: str, prefix_code: str) -> None:
fp.write("\n")

elif line.strip() == "/// Ruff-specific rules":
fp.write(f"/// [{plugin}]({url})\n")
fp.write(f"{indent}/// [{plugin}]({url})\n")
fp.write(f'{indent}#[prefix = "{prefix_code}"]\n')
fp.write(f"{indent}{pascal_case(plugin)},")
fp.write("\n")
Expand Down

0 comments on commit bab8691

Please sign in to comment.