Skip to content

Commit cccb6e1

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 15cf87b commit cccb6e1

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

pytorch_lightning/core/datamodule.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -180,9 +180,7 @@ def has_setup_fit(self) -> bool:
180180
.. deprecated:: v1.4
181181
Will be removed in v1.6.0.
182182
"""
183-
rank_zero_deprecation(
184-
'DataModule property `has_setup_fit` was deprecated in v1.4 and will be removed in v1.6.'
185-
)
183+
rank_zero_deprecation('DataModule property `has_setup_fit` was deprecated in v1.4 and will be removed in v1.6.')
186184
return self._has_setup_fit
187185

188186
@property

0 commit comments

Comments
 (0)