Skip to content

Commit

Permalink
Update generate.py comment (astral-sh#5809)
Browse files Browse the repository at this point in the history
## Summary

The generated comment is different from the generate files current
comment.

## Test Plan

None
  • Loading branch information
cnpryer authored Jul 16, 2023
1 parent d692ed0 commit 1dd52ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/ruff_python_formatter/generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def to_camel_case(node: str) -> str:
# %%
# Generate `FormatRule`, `AsFormat` and `IntoFormat`

generated = """//! This is a generated file. Don't modify it by hand! Run `scripts/generate.py` to re-generate the file.
generated = """//! This is a generated file. Don't modify it by hand! Run `crates/ruff_python_formatter/generate.py` to re-generate the file.
use crate::context::PyFormatContext;
use crate::{AsFormat, FormatNodeRule, IntoFormat};
use ruff_formatter::formatter::Formatter;
Expand Down

0 comments on commit 1dd52ad

Please sign in to comment.