File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
crates/ruff_linter/src/rules/flake8_bandit/rules Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,9 @@ use crate::rules::flake8_bandit::helpers::is_untyped_exception;
3838/// logging.exception("Error occurred")
3939/// ```
4040///
41+ /// ## Options
42+ /// - `lint.flake8-bandit.check-typed-exception`
43+ ///
4144/// ## References
4245/// - [Common Weakness Enumeration: CWE-703](https://cwe.mitre.org/data/definitions/703.html)
4346/// - [Python documentation: `logging`](https://docs.python.org/3/library/logging.html)
Original file line number Diff line number Diff line change @@ -34,6 +34,9 @@ use crate::rules::flake8_bandit::helpers::is_untyped_exception;
3434/// logging.exception("Exception occurred")
3535/// ```
3636///
37+ /// ## Options
38+ /// - `lint.flake8-bandit.check-typed-exception`
39+ ///
3740/// ## References
3841/// - [Common Weakness Enumeration: CWE-703](https://cwe.mitre.org/data/definitions/703.html)
3942/// - [Python documentation: `logging`](https://docs.python.org/3/library/logging.html)
You can’t perform that action at this time.
0 commit comments