-
Notifications
You must be signed in to change notification settings - Fork 1.5k
premerge not reporting docstyle errors #4962
Copy link
Copy link
Closed
Description
Describe the bug
successful doc builds may contain not reported errors:
https://github.com/Project-MONAI/MONAI/runs/7955207647?check_suite_focus=true
2022-08-22T15:23:04.4317529Z /home/runner/work/MONAI/MONAI/monai/apps/reconstruction/networks/nets/utils.py:docstring of monai.apps.reconstruction.networks.nets.utils.divisible_pad_t:17: ERROR: Error in "code-block" directive:
2022-08-22T15:23:04.4318125Z maximum 1 argument(s) allowed, 3 supplied.
2022-08-22T15:23:04.4318310Z
2022-08-22T15:23:04.4318592Z .. code-block:: python
2022-08-22T15:23:04.4318841Z import torch
2022-08-22T15:23:04.4318987Z
2022-08-22T15:23:04.4319073Z # 2D data
2022-08-22T15:23:04.4319311Z x = torch.ones([3,2,50,70])
2022-08-22T15:23:04.4319612Z x_pad,padding_sizes = divisible_pad_t(x, k=16)
2022-08-22T15:23:04.4319958Z # the following line should print (3, 2, 64, 80)
2022-08-22T15:23:04.4320231Z print(x_pad.shape)
2022-08-22T15:23:04.4320388Z
2022-08-22T15:23:04.4320477Z # 3D data
2022-08-22T15:23:04.4320711Z x = torch.ones([3,2,50,70,80])
2022-08-22T15:23:04.4321012Z x_pad,padding_sizes = divisible_pad_t(x, k=16)
2022-08-22T15:23:04.4321346Z # the following line should print (3, 2, 64, 80, 80)
2022-08-22T15:23:04.4321616Z print(x_pad.shape)
2022-08-22T15:23:04.4321983Z looking for now-outdated files... none found
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels