ruff/crates/ruff_linter
Charlie Marsh e54b591ec7
Use section name range for all section-related docstring diagnostics (#10740)
## Summary

We may not have had access to this in the past, but in short, if the
diagnostic is related to a specific section of a docstring, it seems
better to highlight the section (via the header) than the _entire_
docstring.

This should be completely compatible with existing `# noqa` since it's
always inside of a multi-line string anyway, and in such cases the `#
noqa` is always placed at the end of the multiline string.

Closes https://github.com/astral-sh/ruff/issues/10736.
2024-04-02 22:10:04 -04:00
..
resources [`flake8-return`] Ignore assignments to annotated variables in `unnecessary-assign` (#10741) 2024-04-02 16:18:05 -04:00
src Use section name range for all section-related docstring diagnostics (#10740) 2024-04-02 22:10:04 -04:00
Cargo.toml Bump version to v0.3.5 (#10717) 2024-04-01 13:15:32 -04:00
__init__.py [`pylint`] (Re-)Implement `import-private-name` (`C2701`) (#9553) 2024-01-16 14:03:11 -05:00