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

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