Skip to content
Snippets Groups Projects
Commit 3730534d authored by Daniel CARRON's avatar Daniel CARRON :b:
Browse files

[doc] Ignore remaining numpydoc issues

parent 8f7b9966
No related branches found
No related tags found
1 merge request!15Update documentation
Pipeline #83977 passed
...@@ -275,6 +275,7 @@ exclude = [ # don't report on objects that match any of these regex ...@@ -275,6 +275,7 @@ exclude = [ # don't report on objects that match any of these regex
'\.__len__$', '\.__len__$',
'\.__getitem__$', '\.__getitem__$',
'\.__iter__$', '\.__iter__$',
'\.__exit__$',
] ]
override_SS05 = [ # override SS05 to allow docstrings starting with these words override_SS05 = [ # override SS05 to allow docstrings starting with these words
......
...@@ -118,7 +118,9 @@ class BoundingBoxes(collections.abc.Sequence[BoundingBox]): ...@@ -118,7 +118,9 @@ class BoundingBoxes(collections.abc.Sequence[BoundingBox]):
# We update the default collate function map to use our custom function as # We update the default collate function map to use our custom function as
# explained at: # explained at:
# https://pytorch.org/docs/stable/data.html#torch.utils.data.default_collate # https://pytorch.org/docs/stable/data.html#torch.utils.data.default_collate
def _collate_boundingboxes_fn(batch, *, collate_fn_map=None): def _collate_boundingboxes_fn(
batch, *, collate_fn_map=None
): # numpydoc ignore=PR01
"""Custom collate_fn() for pytorch dataloaders that ignores BoundingBoxes objects. """Custom collate_fn() for pytorch dataloaders that ignores BoundingBoxes objects.
Returns Returns
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment