mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-27 04:19:18 +00:00
[pydocstyle
] add fix safety section (D200
) (#17502)
The PR add the fix safety section for rule `D200` (#15584 )
This commit is contained in:
parent
4bcf1778fa
commit
45d0634b01
1 changed files with 5 additions and 0 deletions
|
@ -27,6 +27,11 @@ use crate::docstrings::Docstring;
|
||||||
/// """Return the mean of the given values."""
|
/// """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
|
/// ## References
|
||||||
/// - [PEP 257 – Docstring Conventions](https://peps.python.org/pep-0257/)
|
/// - [PEP 257 – Docstring Conventions](https://peps.python.org/pep-0257/)
|
||||||
///
|
///
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue