[pylint] Restore the fix safety docs for PLW0133 (#22211)

Summary
--

Noticed while responding to #22201 that the last sentence here just ends
abruptly. It turns out that I missed this change when reviewing #21382.

Test Plan
--

CI
This commit is contained in:
Brent Westbrook
2025-12-26 11:45:15 -05:00
committed by GitHub
parent c842de5c4c
commit 95a532f9fd

View File

@@ -36,6 +36,7 @@ use ruff_python_ast::PythonVersion;
///
/// ## Fix safety
/// This rule's fix is marked as unsafe, as converting a useless exception
/// statement to a `raise` statement will change the program's behavior.
///
/// [preview]: https://docs.astral.sh/ruff/preview/
#[derive(ViolationMetadata)]