The flake8_blind_except plugin rather aggressively identifies instances of 'except Exception' as a problem without considering that the body may re-raise the exception. Some of the cases suppressed here follow that pattern, while other perform some other reasonable action that should be taken regardless of what exception was raised.
Additionally, move D402 suppression to the docstring. It seems some (newer?) flake8 versions require this.
The flake8_blind_except plugin rather aggressively identifies instances of 'except Exception' as a problem without considering that the body may re-raise the exception. Some of the cases suppressed here follow that pattern, while other perform some other reasonable action that should be taken regardless of what exception was raised.
Additionally, move D402 suppression to the docstring. It seems some (newer?) flake8 versions require this.