Skip to content

Commit

Permalink
Change hardcoded-tmp-directory-extend example to follow the schema (#…
Browse files Browse the repository at this point in the history
…11275)

## Summary
Change `hardcoded-tmp-directory-extend` example to follow the schema:

https://github.com/astral-sh/ruff/blob/1e91a0991828382f24e9306894ca23a186ed9635/ruff.schema.json#L896-L901
<!-- What's the purpose of the change? What does it do, and why? -->
  • Loading branch information
carloshbcabral committed May 4, 2024
1 parent 1e91a09 commit 5f0c189
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/ruff_workspace/src/options.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1024,7 +1024,7 @@ pub struct Flake8BanditOptions {
#[option(
default = "[]",
value_type = "list[str]",
example = "extend-hardcoded-tmp-directory = [\"/foo/bar\"]"
example = "hardcoded-tmp-directory-extend = [\"/foo/bar\"]"
)]
pub hardcoded_tmp_directory_extend: Option<Vec<String>>,

Expand Down

0 comments on commit 5f0c189

Please sign in to comment.