Update generate.py comment (#5809)

## Summary

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

## Test Plan

None
This commit is contained in:
Chris Pryer 2023-07-16 11:51:30 -04:00 committed by GitHub
parent d692ed0896
commit 1dd52ad139
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -105,7 +105,7 @@ for group, group_nodes in nodes_grouped.items():
# %%
# 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;