-
Notifications
You must be signed in to change notification settings - Fork 1.5k
new errors after flake8 upgrade #4627
Copy link
Copy link
Closed
Description
Describe the bug
flake8-executable: 2.1.1, flake8-pyi: 22.5.1, mccabe: 0.6.1, naming: 0.13.0,
pycodestyle: 2.8.0, pyflakes: 2.4.0) CPython 3.8.13 on Linux
/home/runner/work/MONAI/MONAI/monai/handlers/utils.py:147:51: B023 Function definition does not bind loop variable 'supported_ops'.
/home/runner/work/MONAI/MONAI/monai/handlers/utils.py:151:28: B023 Function definition does not bind loop variable 'supported_ops'.
/home/runner/work/MONAI/MONAI/monai/config/deviceconfig.py:209:57: B023 Function definition does not bind loop variable 'gpu_info'.
/home/runner/work/MONAI/MONAI/monai/config/deviceconfig.py:210:71: B023 Function definition does not bind loop variable 'gpu_info'.
/home/runner/work/MONAI/MONAI/monai/config/deviceconfig.py:211:76: B023 Function definition does not bind loop variable 'gpu_info'.
/home/runner/work/MONAI/MONAI/monai/config/deviceconfig.py:212:74: B023 Function definition does not bind loop variable 'gpu_info'.
/home/runner/work/MONAI/MONAI/monai/config/deviceconfig.py:213:76: B023 Function definition does not bind loop variable 'gpu_info'.
/home/runner/work/MONAI/MONAI/monai/config/deviceconfig.py:214:81: B023 Function definition does not bind loop variable 'gpu_info'.
/home/runner/work/MONAI/MONAI/monai/config/deviceconfig.py:214:98: B023 Function definition does not bind loop variable 'gpu_info'.
9 B023 Function definition does not bind loop variable 'gpu_info'.
9
Check failed!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels