Commit 8b33f42
xXIlRizzoXx
fix(ruff): noqa PLR0913 on ultralytics_predict (legit 6 args)
The upstream signature already had 5 args (the PLR0913 ceiling). The
class-filter feature adds exclude_classes as a separate string param
to keep the UI wiring (one checkbox + one textbox) symmetric with the
include filter. Bundling both into a tuple/dict would either break
existing kwarg call sites or hide intent at the call site.
Adding a per-function noqa with an explanatory comment so reviewers
see why the limit is intentionally exceeded for this one signature.1 parent 625386f commit 8b33f42
1 file changed
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
83 | 90 | | |
84 | 91 | | |
85 | 92 | | |
| |||
0 commit comments