Remove experimental formatter warning (#8148)

Co-authored-by: Micha Reiser <micha@reiser.io>
This commit is contained in:
Charlie Marsh 2023-10-23 18:26:29 -07:00 committed by GitHub
parent 2f32a57cf4
commit 7f4ea6690d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 1 additions and 16 deletions

View file

@ -437,7 +437,7 @@ pub(crate) enum FormatResult {
/// The file was unchanged, as the formatted contents matched the existing contents.
Unchanged,
/// Skipped formatting because its an unformatted file format
/// Skipped formatting because its an unsupported file format
Skipped,
}

View file

@ -172,8 +172,6 @@ pub fn run(
}
fn format(args: FormatCommand, log_level: LogLevel) -> Result<ExitStatus> {
warn_user_once!("`ruff format` is not yet stable, and subject to change in future versions.");
let (cli, overrides) = args.partition();
if is_stdin(&cli.files, cli.stdin_filename.as_deref()) {