Skip to content

Commit 9ec856f

Browse files
staciaxTomerBin
authored andcommitted
Fix typo for static method decorator (astral-sh#14038)
1 parent 0de8e4e commit 9ec856f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: crates/ruff_linter/src/rules/flake8_unused_arguments/rules/unused_arguments.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ impl Violation for UnusedClassMethodArgument {
129129
/// Use instead:
130130
/// ```python
131131
/// class Class:
132-
/// @static
132+
/// @staticmethod
133133
/// def foo(arg1):
134134
/// print(arg1)
135135
/// ```

0 commit comments

Comments
 (0)