diff --git a/crates/ruff/src/settings/options.rs b/crates/ruff/src/settings/options.rs index fe4deec94f..4fe3ecf819 100644 --- a/crates/ruff/src/settings/options.rs +++ b/crates/ruff/src/settings/options.rs @@ -323,13 +323,6 @@ pub struct Options { )] /// The tabulation size to calculate line length. pub tab_size: Option, - #[option( - default = "None", - value_type = "str", - example = r#" - required-version = "0.0.193" - "# - )] #[option( default = r#"[]"#, value_type = "list[str]", @@ -354,6 +347,13 @@ pub struct Options { /// `logging_setup.logger` is treated as a `logging.Logger` object when /// imported from other modules (e.g., `from logging_setup import logger`). pub logger_objects: Option>, + #[option( + default = "None", + value_type = "str", + example = r#" + required-version = "0.0.193" + "# + )] /// Require a specific version of Ruff to be running (useful for unifying /// results across many environments, e.g., with a `pyproject.toml` /// file).