Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pytorch_lightning/utilities/enums.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def is_interactive_compatible(self) -> bool:
def deprecate(self) -> None:
rank_zero_deprecation(
"`DistributedType` Enum has been deprecated in v1.6 and will be removed in v1.8."
" Use the string value `{self.value!r}` instead."
f" Use the string value `{self.value!r}` instead."
)


Expand All @@ -167,7 +167,7 @@ class DeviceType(_DeprecatedEnum):
def deprecate(self) -> None:
rank_zero_deprecation(
"`DeviceType` Enum has been deprecated in v1.6 and will be removed in v1.8."
" Use the string value `{self.value!r}` instead."
f" Use the string value `{self.value!r}` instead."
)


Expand Down