mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-19 10:01:15 +00:00
Add missing traceback line in f-string-in-exception
docstring. (#12508)
## Summary Add missing traceback line in `f-string-in-exception` docstring. Solves https://github.com/astral-sh/ruff/issues/12504.
This commit is contained in:
parent
c03f257ed7
commit
175e5d7b88
1 changed files with 1 additions and 0 deletions
|
@ -97,6 +97,7 @@ impl Violation for RawStringInException {
|
|||
///
|
||||
/// Which will produce a traceback like:
|
||||
/// ```console
|
||||
/// Traceback (most recent call last):
|
||||
/// File "tmp.py", line 3, in <module>
|
||||
/// raise RuntimeError(msg)
|
||||
/// RuntimeError: 'Some value' is incorrect
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue