mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-03 15:15:33 +00:00
Ignore blank line rules for docs formatting (#12934)
## Summary fixes: #12933 ## Test Plan `python scripts/check_docs_formatted.py --generate-docs`
This commit is contained in:
parent
ef1f6d98a0
commit
c319414e54
2 changed files with 4 additions and 0 deletions
|
@ -34,6 +34,7 @@ use crate::registry::Rule;
|
|||
///
|
||||
/// ```python
|
||||
/// class PhotoMetadata:
|
||||
///
|
||||
/// """Metadata about a photo."""
|
||||
/// ```
|
||||
///
|
||||
|
@ -125,6 +126,7 @@ impl AlwaysFixableViolation for OneBlankLineAfterClass {
|
|||
///
|
||||
/// ```python
|
||||
/// class PhotoMetadata:
|
||||
///
|
||||
/// """Metadata about a photo."""
|
||||
/// ```
|
||||
///
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue