ruff/crates/ruff_linter
Dylan 6a5eff6017
[`pydocstyle`] Skip leading whitespace for `D403` (#14963)
This PR introduces three changes to `D403`, which has to do with
capitalizing the first word in a docstring.

1. The diagnostic and fix now skip leading whitespace when determining
what counts as "the first word".
2. The name has been changed to `first-word-uncapitalized` from
`first-line-capitalized`, for both clarity and compliance with our rule
naming policy.
3. The diagnostic message and documentation has been modified slightly
to reflect this.

Closes #14890
2024-12-16 09:09:27 -06:00
..
resources [`pydocstyle`] Skip leading whitespace for `D403` (#14963) 2024-12-16 09:09:27 -06:00
src [`pydocstyle`] Skip leading whitespace for `D403` (#14963) 2024-12-16 09:09:27 -06:00
Cargo.toml Bump version to 0.8.3 (#14937) 2024-12-12 14:13:06 +00:00