File tree 2 files changed +4
-0
lines changed
crates/ruff_linter/src/rules/pydocstyle/rules
2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ use crate::registry::Rule;
34
34
///
35
35
/// ```python
36
36
/// class PhotoMetadata:
37
+ ///
37
38
/// """Metadata about a photo."""
38
39
/// ```
39
40
///
@@ -125,6 +126,7 @@ impl AlwaysFixableViolation for OneBlankLineAfterClass {
125
126
///
126
127
/// ```python
127
128
/// class PhotoMetadata:
129
+ ///
128
130
/// """Metadata about a photo."""
129
131
/// ```
130
132
///
Original file line number Diff line number Diff line change 34
34
"bad-quotes-inline-string" ,
35
35
"bad-quotes-multiline-string" ,
36
36
"blank-line-after-decorator" ,
37
+ "blank-line-before-class" ,
37
38
"blank-line-between-methods" ,
38
39
"blank-lines-after-function-or-class" ,
39
40
"blank-lines-before-nested-definition" ,
67
68
"no-space-after-inline-comment" ,
68
69
"non-empty-stub-body" ,
69
70
"one-blank-line-after-class" ,
71
+ "one-blank-line-before-class" ,
70
72
"over-indentation" ,
71
73
"over-indented" ,
72
74
"pass-statement-stub-body" ,
You can’t perform that action at this time.
0 commit comments