Commit 2f5dbad
committed
Fix Ruff SIM108 lint error: use ternary operator
Replace if-else block with ternary operator at line 302
to comply with Ruff linting rules1 parent 0c6897c commit 2f5dbad
1 file changed
+1
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
299 | 299 | | |
300 | 300 | | |
301 | 301 | | |
302 | | - | |
303 | | - | |
304 | | - | |
305 | | - | |
| 302 | + | |
306 | 303 | | |
307 | 304 | | |
308 | 305 | | |
| |||
0 commit comments