Skip to content

Commit

Permalink
Fix RUF200 doc to have name and email in single object (#15099)
Browse files Browse the repository at this point in the history
## Summary
Closes #14975 by modifying the docstring of the InvalidPyprojectToml
rule. Previously the docs were incorrectly stating that author name and
emails must be individual items in the authors list, rather than part of
a single object for each respective author.

## Test Plan
This was a docstring change, no tests needed.
  • Loading branch information
guptaarnav authored Dec 23, 2024
1 parent da8acab commit b6c8f5d
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ use ruff_macros::{derive_message_formats, ViolationMetadata};
/// name = "crab"
/// version = "1.0.0"
/// authors = [
/// { email = "ferris@example.org" },
/// { name = "Ferris the Crab"}
/// { name = "Ferris the Crab", email = "ferris@example.org" }
/// ]
/// ```
///
Expand Down

0 comments on commit b6c8f5d

Please sign in to comment.