Skip to content

Commit

Permalink
Add PEP reference to D212, D213 docs (#8399)
Browse files Browse the repository at this point in the history
  • Loading branch information
dhruvmanila authored Nov 1, 2023
1 parent 1642f4d commit e9acb99
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ use crate::registry::Rule;
/// ```
///
/// [D213]: https://docs.astral.sh/ruff/rules/multi-line-summary-second-line
/// [PEP 257]: https://peps.python.org/pep-0257
#[violation]
pub struct MultiLineSummaryFirstLine;

Expand Down Expand Up @@ -103,6 +104,7 @@ impl AlwaysFixableViolation for MultiLineSummaryFirstLine {
/// ```
///
/// [D212]: https://docs.astral.sh/ruff/rules/multi-line-summary-first-line
/// [PEP 257]: https://peps.python.org/pep-0257
#[violation]
pub struct MultiLineSummarySecondLine;

Expand Down

0 comments on commit e9acb99

Please sign in to comment.