Skip to content

Commit

Permalink
Fix logger-objects documentation (#6238)
Browse files Browse the repository at this point in the history
Closes #6234.
  • Loading branch information
charliermarsh authored Aug 1, 2023
1 parent f45e864 commit 29fb655
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions crates/ruff/src/settings/options.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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]",
Expand All @@ -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).
Expand Down

0 comments on commit 29fb655

Please sign in to comment.