Skip to content

Commit 580c146

Browse files
committed
DOC: Make base class validation docstring style consistent
Make base class validation docstring style consistent: remove the subject.
1 parent 5b1f319 commit 580c146

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/nifreeze/data/base.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ def _cmp(lh: Any, rh: Any) -> bool:
180180
def validate_dataobj(inst: BaseDataset, attr: attrs.Attribute, value: Any) -> None:
181181
"""Strict validator for data objects.
182182
183-
It enforces that ``value`` is present and is a NumPy array with exactly 4
183+
Enforces that ``value`` is present and is a NumPy array with exactly 4
184184
dimensions (``ndim == 4``).
185185
186186
This function is intended for use as an attrs-style validator.
@@ -214,7 +214,7 @@ def validate_dataobj(inst: BaseDataset, attr: attrs.Attribute, value: Any) -> No
214214
def validate_affine(inst: BaseDataset, attr: attrs.Attribute, value: Any) -> None:
215215
"""Strict validator for affine matrices.
216216
217-
It enforces that ``value`` is present and is a 4x4 NumPy array.
217+
Enforces that ``value`` is present and is a 4x4 NumPy array.
218218
219219
This function is intended for use as an attrs-style validator.
220220

0 commit comments

Comments
 (0)