-
Notifications
You must be signed in to change notification settings - Fork 894
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d9ed0aa
commit f5e5caa
Showing
4 changed files
with
72 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
def lorem(): | ||
"""lorem ipsum dolor sit amet consectetur adipiscing elit | ||
sed do eiusmod tempor incididunt ut labore et dolore magna aliqua""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
45 changes: 45 additions & 0 deletions
45
crates/ruff/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__d209_d400.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
--- | ||
source: crates/ruff/src/rules/pydocstyle/mod.rs | ||
expression: diagnostics | ||
--- | ||
- kind: | ||
name: NewLineAfterLastParagraph | ||
body: Multi-line docstring closing quotes should be on a separate line | ||
suggestion: Move closing quotes to new line | ||
fixable: true | ||
location: | ||
row: 2 | ||
column: 4 | ||
end_location: | ||
row: 3 | ||
column: 72 | ||
fix: | ||
content: "\n " | ||
location: | ||
row: 3 | ||
column: 69 | ||
end_location: | ||
row: 3 | ||
column: 69 | ||
parent: ~ | ||
- kind: | ||
name: EndsInPeriod | ||
body: First line should end with a period | ||
suggestion: Add period | ||
fixable: true | ||
location: | ||
row: 2 | ||
column: 4 | ||
end_location: | ||
row: 3 | ||
column: 72 | ||
fix: | ||
content: "." | ||
location: | ||
row: 3 | ||
column: 69 | ||
end_location: | ||
row: 3 | ||
column: 69 | ||
parent: ~ | ||
|