Skip to content

Commit

Permalink
Fix hardcoded_tmp_directory_extend example
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarrmondragon committed Jan 5, 2023
1 parent 0607199 commit f8023ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -2395,7 +2395,7 @@ These directories are added to the list in
```toml
[tool.ruff.flake8-bandit]
extend_hardcoded_tmp_directory = ["/foo/bar"]
hardcoded_tmp_directory_extend = ["/foo/bar"]
```
---
Expand Down
2 changes: 1 addition & 1 deletion src/flake8_bandit/settings.rs
Expand Up @@ -29,7 +29,7 @@ pub struct Options {
#[option(
default = "[]",
value_type = "Vec<String>",
example = "extend_hardcoded_tmp_directory = [\"/foo/bar\"]"
example = "hardcoded_tmp_directory_extend = [\"/foo/bar\"]"
)]
/// List of directories that are considered temporary.
/// These directories are added to the list in
Expand Down

0 comments on commit f8023ff

Please sign in to comment.