Fix `logger-objects` documentation (#6238)

Closes https://github.com/astral-sh/ruff/issues/6234.
This commit is contained in:
Charlie Marsh 2023-08-01 08:57:56 -04:00 committed by GitHub
parent f45e8645d7
commit 29fb655e04
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 7 deletions

View File

@ -323,13 +323,6 @@ pub struct Options {
)]
/// The tabulation size to calculate line length.
pub tab_size: Option<TabSize>,
#[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<Vec<String>>,
#[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).