File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
pytorch_lightning/utilities Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -142,7 +142,7 @@ def is_interactive_compatible(self) -> bool:
142142 def deprecate (self ) -> None :
143143 rank_zero_deprecation (
144144 "`DistributedType` Enum has been deprecated in v1.6 and will be removed in v1.8."
145- " Use the string value `{self.value!r}` instead."
145+ f " Use the string value `{ self .value !r} ` instead."
146146 )
147147
148148
@@ -162,7 +162,7 @@ class DeviceType(LightningEnum, metaclass=_OnAccessEnumMeta):
162162 def deprecate (self ) -> None :
163163 rank_zero_deprecation (
164164 "`DeviceType` Enum has been deprecated in v1.6 and will be removed in v1.8."
165- " Use the string value `{self.value!r}` instead."
165+ f " Use the string value `{ self .value !r} ` instead."
166166 )
167167
168168
You can’t perform that action at this time.
0 commit comments