Project-MONAI / MONAI

AI Toolkit for Healthcare Imaging
https://monai.io/
Apache License 2.0
5.93k stars 1.09k forks source link

B909 editing a loop's mutable iterable often leads to unexpected results/bugs #7690

Open KumoLiu opened 7 months ago

KumoLiu commented 7 months ago
flake8
7.0.0 (flake8-bugbear: 24.4.21, flake8-comprehensions: 3.14.0, mccabe: 0.7.0,
pep8-naming: 0.13.3, pycodestyle: 2.11.1, pyflakes: 3.2.0) CPython 3.8.10 on
Linux
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/apps/auto3dseg/auto_runner.py:776:21: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/apps/auto3dseg/auto_runner.py:776:21: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/apps/deepedit/transforms.py:222:21: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/apps/deepgrow/transforms.py:198:21: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/apps/detection/metrics/coco.py:278:13: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/apps/detection/metrics/coco.py:283:21: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/apps/detection/metrics/coco.py:320:13: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/apps/detection/metrics/coco.py:325:21: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/apps/detection/metrics/matching.py:169:17: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/apps/detection/networks/retinanet_detector.py:663:13: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/apps/detection/transforms/box_ops.py:189:9: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/apps/detection/transforms/box_ops.py:190:9: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/apps/detection/transforms/dictionary.py:677:13: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/apps/detection/transforms/dictionary.py:748:17: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/apps/detection/transforms/dictionary.py:1273:13: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/apps/detection/transforms/dictionary.py:1363:17: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/apps/detection/utils/predict_utils.py:37:13: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/apps/nuclick/transforms.py:69:13: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/apps/nuclick/transforms.py:111:13: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/apps/nuclick/transforms.py:174:17: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/apps/nuclick/transforms.py:180:17: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/apps/nuclick/transforms.py:183:13: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/apps/nuclick/transforms.py:184:13: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/apps/nuclick/transforms.py:192:13: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/apps/nuclick/transforms.py:193:13: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/apps/nuclick/transforms.py:218:13: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/apps/nuclick/transforms.py:389:13: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/apps/nuclick/transforms.py:573:13: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/apps/nuclick/transforms.py:619:13: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/apps/nuclick/transforms.py:640:13: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/apps/pathology/transforms/post/array.py:446:29: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/apps/pathology/transforms/post/array.py:484:29: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/apps/pathology/transforms/post/array.py:742:17: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/apps/pathology/transforms/post/array.py:834:17: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/apps/reconstruction/transforms/dictionary.py:63:17: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/auto3dseg/analyzer.py:486:13: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/auto3dseg/analyzer.py:500:17: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/auto3dseg/analyzer.py:501:17: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/auto3dseg/analyzer.py:772:13: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/auto3dseg/analyzer.py:780:17: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/auto3dseg/analyzer.py:787:17: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/auto3dseg/analyzer.py:797:13: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/auto3dseg/utils.py:154:13: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/auto3dseg/utils.py:237:17: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/bundle/reference_resolver.py:251:17: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/bundle/scripts.py:600:25: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/bundle/scripts.py:1799:9: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/bundle/scripts.py:1804:9: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/data/dataset.py:1610:25: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/data/dataset.py:1611:25: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/data/dataset.py:1612:25: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/data/decathlon_datalist.py:80:17: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/data/image_reader.py:125:13: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/data/utils.py:404:13: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/data/utils.py:443:21: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/data/utils.py:445:21: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/data/utils.py:514:17: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/data/utils.py:657:13: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/data/wsi_datasets.py:159:13: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/data/wsi_reader.py:431:17: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/engines/evaluator.py:169:13: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/engines/trainer.py:77:13: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/fl/client/monai_algo.py:49:17: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/fl/client/monai_algo.py:68:9: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/handlers/mlflow_handler.py:451:25: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/handlers/probability_maps.py:88:13: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/handlers/probability_maps.py:89:13: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/inferers/inferer.py:203:17: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/inferers/inferer.py:204:17: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/inferers/inferer.py:248:17: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/inferers/inferer.py:252:17: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/metrics/generalized_dice.py:158:9: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/metrics/generalized_dice.py:159:9: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/metrics/panoptic_quality.py:260:13: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/networks/nets/dints.py:830:17: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/networks/nets/dints.py:839:13: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/networks/nets/efficientnet.py:975:17: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/optimizers/novograd.py:96:21: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/optimizers/novograd.py:98:21: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/optimizers/novograd.py:100:21: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/optimizers/novograd.py:103:25: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/transforms/croppad/batch.py:136:21: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/transforms/intensity/array.py:2442:21: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/transforms/intensity/array.py:2452:17: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/transforms/io/array.py:508:21: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/transforms/lazy/utils.py:209:17: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/transforms/lazy/utils.py:210:17: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/transforms/post/array.py:976:13: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/transforms/regularization/dictionary.py:41:13: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/transforms/regularization/dictionary.py:70:13: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/transforms/regularization/dictionary.py:72:13: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/transforms/regularization/dictionary.py:91:13: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/transforms/transform.py:426:17: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/transforms/utility/array.py:1211:17: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/transforms/utility/array.py:1217:17: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/transforms/utility/array.py:1289:17: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/transforms/utility/dictionary.py:382:17: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/transforms/utility/dictionary.py:741:17: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/transforms/utils.py:1262:13: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/transforms/utils.py:1354:9: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/transforms/utils_create_transform_ims.py:275:13: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/utils/aliases.py:37:17: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/utils/misc.py:400:17: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/utils/misc.py:403:21: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/utils/misc.py:405:21: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/monai/utils/module.py:133:13: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/croppers.py:45:37: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/lazy_transforms_utils.py:28:13: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/lazy_transforms_utils.py:30:13: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_auto3dseg_ensemble.py:171:17: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_auto3dseg_ensemble.py:172:17: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_box_transform.py:234:13: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_config_parser.py:186:17: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_handler_mlflow.py:233:17: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_hovernet.py:177:21: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_k_space_spike_noised.py:63:17: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_k_space_spike_noised.py:64:17: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_k_space_spike_noised.py:78:17: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_probnms.py:29:5: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_probnms.py:30:5: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_probnms.py:35:5: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_probnms.py:36:5: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_probnms.py:37:5: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_probnms.py:42:5: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_probnms.py:43:5: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_probnms.py:51:5: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_probnms.py:52:5: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_probnms.py:57:5: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_probnms.py:58:5: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_probnmsd.py:30:5: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_probnmsd.py:31:5: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_probnmsd.py:38:5: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_probnmsd.py:39:5: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_probnmsd.py:40:5: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_probnmsd.py:47:5: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_probnmsd.py:48:5: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_probnmsd.py:56:5: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_probnmsd.py:57:5: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_probnmsd.py:62:5: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_probnmsd.py:63:5: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_rand_gaussian_noised.py:50:17: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_rand_rician_noised.py:48:17: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_rand_weighted_crop.py:40:9: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_rand_weighted_crop.py:40:9: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_rand_weighted_crop.py:41:9: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_rand_weighted_crop.py:41:9: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_rand_weighted_crop.py:42:9: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_rand_weighted_crop.py:42:9: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_rand_weighted_crop.py:66:9: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_rand_weighted_crop.py:66:9: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_rand_weighted_crop.py:67:9: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_rand_weighted_crop.py:67:9: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_rand_weighted_crop.py:80:9: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_rand_weighted_crop.py:80:9: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_rand_weighted_crop.py:81:9: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_rand_weighted_crop.py:81:9: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_rand_weighted_crop.py:82:9: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_rand_weighted_crop.py:82:9: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_rand_weighted_crop.py:95:9: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_rand_weighted_crop.py:95:9: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_rand_weighted_crop.py:96:9: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_rand_weighted_crop.py:96:9: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_rand_weighted_crop.py:97:9: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_rand_weighted_crop.py:97:9: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_rand_weighted_crop.py:110:9: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_rand_weighted_crop.py:110:9: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_rand_weighted_crop.py:111:9: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_rand_weighted_crop.py:111:9: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_rand_weighted_crop.py:112:9: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_rand_weighted_crop.py:112:9: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_rand_weighted_crop.py:125:9: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_rand_weighted_crop.py:125:9: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_rand_weighted_crop.py:126:9: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_rand_weighted_crop.py:126:9: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_rand_weighted_crop.py:139:9: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_rand_weighted_crop.py:139:9: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_rand_weighted_crop.py:140:9: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_rand_weighted_crop.py:140:9: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_rand_weighted_crop.py:141:9: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_rand_weighted_crop.py:141:9: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_rand_weighted_cropd.py:39:9: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_rand_weighted_cropd.py:39:9: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_rand_weighted_cropd.py:40:9: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_rand_weighted_cropd.py:40:9: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_rand_weighted_cropd.py:41:9: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_rand_weighted_cropd.py:41:9: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_rand_weighted_cropd.py:53:9: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_rand_weighted_cropd.py:53:9: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_rand_weighted_cropd.py:54:9: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_rand_weighted_cropd.py:54:9: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_rand_weighted_cropd.py:55:9: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_rand_weighted_cropd.py:55:9: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_rand_weighted_cropd.py:67:9: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_rand_weighted_cropd.py:67:9: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_rand_weighted_cropd.py:68:9: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_rand_weighted_cropd.py:68:9: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_rand_weighted_cropd.py:80:9: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_rand_weighted_cropd.py:80:9: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_rand_weighted_cropd.py:81:9: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_rand_weighted_cropd.py:81:9: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_rand_weighted_cropd.py:82:9: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_rand_weighted_cropd.py:82:9: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_rand_weighted_cropd.py:95:9: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_rand_weighted_cropd.py:95:9: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_rand_weighted_cropd.py:96:9: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_rand_weighted_cropd.py:96:9: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_rand_weighted_cropd.py:97:9: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_rand_weighted_cropd.py:97:9: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_rand_weighted_cropd.py:109:9: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_rand_weighted_cropd.py:109:9: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_rand_weighted_cropd.py:110:9: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_rand_weighted_cropd.py:110:9: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_rand_weighted_cropd.py:111:9: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_rand_weighted_cropd.py:111:9: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_rand_weighted_cropd.py:123:9: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_rand_weighted_cropd.py:123:9: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_rand_weighted_cropd.py:124:9: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_rand_weighted_cropd.py:124:9: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_rand_weighted_cropd.py:136:9: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_rand_weighted_cropd.py:136:9: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_rand_weighted_cropd.py:137:9: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_rand_weighted_cropd.py:137:9: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_rand_weighted_cropd.py:138:9: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_rand_weighted_cropd.py:138:9: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_resize_with_pad_or_cropd.py:59:13: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_resize_with_pad_or_cropd.py:73:13: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_scale_intensity_fixed_mean.py:48:21: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_scale_intensity_fixed_mean.py:49:21: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
/home/jenkins/agent/workspace/MONAI-premerge/monai/tests/test_spatial_resample.py:147:13: B909 editing a loop's mutable iterable often leads to unexpected results/bugs
229   B909 editing a loop's mutable iterable often leads to unexpected results/bugs
KumoLiu commented 7 months ago

https://github.com/PyCQA/flake8-bugbear/releases/tag/24.4.21