---
source: crates/ruff_linter/src/rules/flake8_simplify/mod.rs
---
SIM105_3.py:10:5: SIM105 Use `contextlib.suppress(ValueError)` instead of `try`-`except`-`pass`
   |
 8 |   def bar():
 9 |       # SIM105
10 |       try:
   |  _____^
11 | |         foo()
12 | |     except ValueError:
13 | |         pass
   | |____________^ SIM105
   |
   = help: Replace with `contextlib.suppress(ValueError)`


