Skip to content

Commit 15cf87b

Browse files
Bordajustusschock
andauthored
Apply suggestions from code review
Co-authored-by: Justus Schock <[email protected]>
1 parent 19fef09 commit 15cf87b

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

pytorch_lightning/core/datamodule.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ def has_prepared_data(self) -> bool:
162162
Returns:
163163
bool: True if ``datamodule.prepare_data()`` has been called. False by default.
164164
165-
.. deprecated::v1.4
165+
.. deprecated:: v1.4
166166
Will be removed in v1.6.0.
167167
"""
168168
rank_zero_deprecation(
@@ -177,7 +177,7 @@ def has_setup_fit(self) -> bool:
177177
Returns:
178178
bool: True ``if datamodule.setup(stage='fit')`` has been called. False by default.
179179
180-
.. deprecated::v1.4
180+
.. deprecated:: v1.4
181181
Will be removed in v1.6.0.
182182
"""
183183
rank_zero_deprecation(
@@ -192,7 +192,7 @@ def has_setup_validate(self) -> bool:
192192
Returns:
193193
bool: True if ``datamodule.setup(stage='validate')`` has been called. False by default.
194194
195-
.. deprecated::v1.4
195+
.. deprecated:: v1.4
196196
Will be removed in v1.6.0.
197197
"""
198198
rank_zero_deprecation(
@@ -207,7 +207,7 @@ def has_setup_test(self) -> bool:
207207
Returns:
208208
bool: True if ``datamodule.setup(stage='test')`` has been called. False by default.
209209
210-
.. deprecated::v1.4
210+
.. deprecated:: v1.4
211211
Will be removed in v1.6.0.
212212
"""
213213
rank_zero_deprecation(
@@ -222,7 +222,7 @@ def has_setup_predict(self) -> bool:
222222
Returns:
223223
bool: True if ``datamodule.setup(stage='predict')`` has been called. False by default.
224224
225-
.. deprecated::v1.4
225+
.. deprecated:: v1.4
226226
Will be removed in v1.6.0.
227227
"""
228228
rank_zero_deprecation(
@@ -237,7 +237,7 @@ def has_teardown_fit(self) -> bool:
237237
Returns:
238238
bool: True ``if datamodule.teardown(stage='fit')`` has been called. False by default.
239239
240-
.. deprecated::v1.4
240+
.. deprecated:: v1.4
241241
Will be removed in v1.6.0.
242242
"""
243243
rank_zero_deprecation(
@@ -252,7 +252,7 @@ def has_teardown_validate(self) -> bool:
252252
Returns:
253253
bool: True if ``datamodule.teardown(stage='validate')`` has been called. False by default.
254254
255-
.. deprecated::v1.4
255+
.. deprecated:: v1.4
256256
Will be removed in v1.6.0.
257257
"""
258258
rank_zero_deprecation(
@@ -267,7 +267,7 @@ def has_teardown_test(self) -> bool:
267267
Returns:
268268
bool: True if ``datamodule.teardown(stage='test')`` has been called. False by default.
269269
270-
.. deprecated::v1.4
270+
.. deprecated:: v1.4
271271
Will be removed in v1.6.0.
272272
"""
273273
rank_zero_deprecation(
@@ -282,7 +282,7 @@ def has_teardown_predict(self) -> bool:
282282
Returns:
283283
bool: True if ``datamodule.teardown(stage='predict')`` has been called. False by default.
284284
285-
.. deprecated::v1.4
285+
.. deprecated:: v1.4
286286
Will be removed in v1.6.0.
287287
"""
288288
rank_zero_deprecation(

0 commit comments

Comments
 (0)