---
source: crates/ruff_linter/src/rules/flake8_bugbear/mod.rs
---
B022.py:9:6: B022 No arguments passed to `contextlib.suppress`. No exceptions will be suppressed and therefore this context manager is redundant
   |
 7 | from contextlib import suppress
 8 | 
 9 | with contextlib.suppress():
   |      ^^^^^^^^^^^^^^^^^^^^^ B022
10 |     raise ValueError
   |

B022.py:12:6: B022 No arguments passed to `contextlib.suppress`. No exceptions will be suppressed and therefore this context manager is redundant
   |
10 |     raise ValueError
11 | 
12 | with suppress():
   |      ^^^^^^^^^^ B022
13 |     raise ValueError
   |


