Skip to content

Commit

Permalink
Make clippy happy
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaReiser committed Nov 29, 2023
1 parent 7811fbd commit c8a7db5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/ruff_cli/tests/lint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -397,13 +397,13 @@ if __name__ == "__main__":
Ok(())
}

/// Regression test for https://github.com/astral-sh/ruff/issues/8858
/// Regression test for [#8858](https://github.com/astral-sh/ruff/issues/8858)
#[test]
fn parent_configuration_override() -> Result<()> {
let tempdir = TempDir::new()?;
let root_ruff = tempdir.path().join("ruff.toml");
fs::write(
&root_ruff,
root_ruff,
r#"
[lint]
select = ["ALL"]
Expand All @@ -415,7 +415,7 @@ select = ["ALL"]

let subdirectory_ruff = sub_dir.join("ruff.toml");
fs::write(
&subdirectory_ruff,
subdirectory_ruff,
r#"
[lint]
ignore = ["D203", "D212"]
Expand Down

0 comments on commit c8a7db5

Please sign in to comment.