gradio
12a97746 - Ruff update + strictening (#3979)

Commit
2 years ago
Ruff update + strictening (#3979) * Update ruff to 0.0.263 * Get rid of bare except:s * Fix two Ruff E731s by moving expand_{color,size} to the relevant classes * Fix Ruff E731 and some variable shadowing in theme builder * Fix remaining Ruff E731s * Get rid of unused Ruff ignores * Fix ruff B904 issues (raise from) * Fix Ruff B007: loop-control variable not used * Fix Ruff B011 (do not assert false) * Remove unused args and kwargs from Progress.tqdm() (spotted via Ruff B026) * Fix mutable argument default in CheckboxGroup * Noqa ABC-related lint warnings for Interpretable * Add missed assert in test_queueing (ruff B015) * Enable ruff B * Enable ruff C and fix issues * Add changelog * Add UP03[012] after #3984 --------- Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Author
akx akx
Parents
Loading