Commit 8f9efae
committed
Apply ruff/flake8-simplify rule SIM105
SIM105 Use `contextlib.suppress(ImportError)` instead of `try`-`except`-`pass`1 parent 82385fd commit 8f9efae
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
1 | 3 | | |
2 | 4 | | |
3 | 5 | | |
4 | 6 | | |
5 | | - | |
| 7 | + | |
6 | 8 | | |
7 | | - | |
8 | | - | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
0 commit comments