Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentsarago authored Aug 21, 2024
1 parent ccfab4c commit f9d6f73
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def from_extensions(
conf = supported_extensions.get(ext.__class__.__name__, None)
if not conf:
warnings.warn(
f"{ext.__class__.__name__} extension not supported in `CollectionSearchExtension.from_extensions` method.", # noqa: E501
f"Conformance class for `{ext.__class__.__name__}` extension not found.",
UserWarning,
)
else:
Expand Down Expand Up @@ -203,7 +203,7 @@ def from_extensions(
conf = supported_extensions.get(ext.__class__.__name__, None)
if not conf:
warnings.warn(
f"{ext.__class__.__name__} extension not supported in `CollectionSearchExtension.from_extensions` method.", # noqa: E501
f"Conformance class for `{ext.__class__.__name__}` extension not found.",
UserWarning,
)
else:
Expand Down

0 comments on commit f9d6f73

Please sign in to comment.