mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-03 10:22:24 +00:00
Fix RUF200
doc to have name and email in single object (#15099)
## 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.
This commit is contained in:
parent
da8acabc55
commit
b6c8f5d79e
1 changed files with 1 additions and 2 deletions
|
@ -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" }
|
||||
/// ]
|
||||
/// ```
|
||||
///
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue