diff --git a/README.md b/README.md index f0e53dc2f420a..202c94ed21bc1 100644 --- a/README.md +++ b/README.md @@ -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"] ``` --- diff --git a/src/flake8_bandit/settings.rs b/src/flake8_bandit/settings.rs index d93816de2a4f9..309ab7cc004e1 100644 --- a/src/flake8_bandit/settings.rs +++ b/src/flake8_bandit/settings.rs @@ -29,7 +29,7 @@ pub struct Options { #[option( default = "[]", value_type = "Vec", - 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