mirror of https://github.com/astral-sh/ruff
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
|
|
@ -97,6 +97,7 @@ impl Violation for RawStringInException {
|
||||||
///
|
///
|
||||||
/// Which will produce a traceback like:
|
/// Which will produce a traceback like:
|
||||||
/// ```console
|
/// ```console
|
||||||
|
/// Traceback (most recent call last):
|
||||||
/// File "tmp.py", line 3, in <module>
|
/// File "tmp.py", line 3, in <module>
|
||||||
/// raise RuntimeError(msg)
|
/// raise RuntimeError(msg)
|
||||||
/// RuntimeError: 'Some value' is incorrect
|
/// RuntimeError: 'Some value' is incorrect
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue