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:
Uriya Harpeness 2024-07-25 17:22:05 +03:00 committed by GitHub
parent c03f257ed7
commit 175e5d7b88
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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