[pydocstyle] add fix safety section (D200) (#17502)

The PR add the fix safety section for rule `D200` (#15584 )
This commit is contained in:
Vasco Schiavo 2025-04-26 15:59:05 +02:00 committed by GitHub
parent 4bcf1778fa
commit 45d0634b01
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -27,6 +27,11 @@ use crate::docstrings::Docstring;
/// """Return the mean of the given values."""
/// ```
///
/// ## Fix safety
/// The fix is marked as unsafe because it could affect tools that parse docstrings,
/// documentation generators, or custom introspection utilities that rely on
/// specific docstring formatting.
///
/// ## References
/// - [PEP 257 Docstring Conventions](https://peps.python.org/pep-0257/)
///