-
Notifications
You must be signed in to change notification settings - Fork 1.5k
B026 unrecommanded star-arg unpacking after a keyword argument #7261
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
/home/runner/work/MONAI/MONAI/monai/data/image_reader.py:1303:83: B026 Star-arg unpacking after a keyword argument is strongly discouraged, because it only works when the keyword parameter is declared after all parameters supplied by the unpacked sequence, and this change of ordering can surprise and mislead readers.
/home/runner/work/MONAI/MONAI/monai/inferers/inferer.py:590:21: B026 Star-arg unpacking after a keyword argument is strongly discouraged, because it only works when the keyword parameter is declared after all parameters supplied by the unpacked sequence, and this change of ordering can surprise and mislead readers.
/home/runner/work/MONAI/MONAI/tests/test_video_datasets.py:42:88: B026 Star-arg unpacking after a keyword argument is strongly discouraged, because it only works when the keyword parameter is declared after all parameters supplied by the unpacked sequence, and this change of ordering can surprise and mislead readers.
3 B026 Star-arg unpacking after a keyword argument is strongly discouraged, because it only works when the keyword parameter is declared after all parameters supplied by the unpacked sequence, and this change of ordering can surprise and mislead readers.
Refer to python/cpython#82741.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working