mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-02 06:42:02 +00:00
Remove experimental formatter warning (#8148)
Co-authored-by: Micha Reiser <micha@reiser.io>
This commit is contained in:
parent
2f32a57cf4
commit
7f4ea6690d
4 changed files with 1 additions and 16 deletions
|
@ -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,
|
||||
}
|
||||
|
||||
|
|
|
@ -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()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue