ruff/crates/ruff_linter/src/docstrings
Auguste Lalande 64ab79e572
Add missing docstring sections to the numpy list (#20931)
<!--
Thank you for contributing to Ruff/ty! To help us out with reviewing,
please consider the following:

- Does this pull request include a summary of the change? (See below.)
- Does this pull request include a descriptive title? (Please prefix
with `[ty]` for ty pull
  requests.)
- Does this pull request include references to any relevant issues?
-->

## Summary

Add docstring sections which were missing from the numpy list as pointed
out here #20923. For now these are only the official sections as
documented
[here](https://numpydoc.readthedocs.io/en/latest/format.html#sections).

## Test Plan

Added a test case for DOC102
2025-10-24 17:19:30 -04:00
..
extraction.rs [ty] AST garbage collection (#18482) 2025-06-13 08:40:11 -04:00
google.rs Add missing docstring sections to the numpy list (#20931) 2025-10-24 17:19:30 -04:00
mod.rs Update Rust toolchain to 1.89 (#19807) 2025-08-07 18:21:50 +02:00
numpy.rs Add missing docstring sections to the numpy list (#20931) 2025-10-24 17:19:30 -04:00
sections.rs Add missing docstring sections to the numpy list (#20931) 2025-10-24 17:19:30 -04:00
styles.rs [`pydocstyle`] Improve heuristics for detecting Google-style docstrings (#13142) 2024-08-29 16:33:18 +01:00