Skip to content

Commit

Permalink
Format docs
Browse files Browse the repository at this point in the history
  • Loading branch information
charliermarsh committed Mar 1, 2024
1 parent 6702c4d commit 3d75d73
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/ruff_linter/src/rules/flake8_type_checking/helpers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ pub(crate) fn is_dataclass_meta_annotation(annotation: &Expr, semantic: &Semanti
/// ```python
/// from functools import singledispatch
///
///
/// @singledispatch
/// def fun(arg, verbose=False):
/// ...
Expand All @@ -167,6 +168,7 @@ pub(crate) fn is_singledispatch_interface(
/// ```python
/// from functools import singledispatch
///
///
/// @singledispatch
/// def fun(arg, verbose=False):
/// ...
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ use crate::importer::ImportRequest;
/// ```python
/// from functools import singledispatch
///
///
/// class Class:
/// @singledispatch
/// def method(self, arg):
Expand All @@ -31,6 +32,7 @@ use crate::importer::ImportRequest;
/// ```python
/// from functools import singledispatchmethod
///
///
/// class Class:
/// @singledispatchmethod
/// def method(self, arg):
Expand Down

0 comments on commit 3d75d73

Please sign in to comment.