Skip to content

Commit 45d0634

Browse files
authored
[pydocstyle] add fix safety section (D200) (#17502)
The PR add the fix safety section for rule `D200` (#15584 )
1 parent 4bcf177 commit 45d0634

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

crates/ruff_linter/src/rules/pydocstyle/rules/one_liner.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ use crate::docstrings::Docstring;
2727
/// """Return the mean of the given values."""
2828
/// ```
2929
///
30+
/// ## Fix safety
31+
/// The fix is marked as unsafe because it could affect tools that parse docstrings,
32+
/// documentation generators, or custom introspection utilities that rely on
33+
/// specific docstring formatting.
34+
///
3035
/// ## References
3136
/// - [PEP 257 – Docstring Conventions](https://peps.python.org/pep-0257/)
3237
///

0 commit comments

Comments
 (0)