mirror of
https://github.com/apache/superset.git
synced 2026-07-18 12:45:44 +00:00
`update_native_filters_config` hit complexity 11 (limit 10) after the json.loads guard was added in the previous commit. Pre-build `deleted_ids` set and `modified_map` dict to replace the two generator-if expressions and the conditional append, dropping McCabe complexity from 11 to 8. No behaviour change — tests confirm identical output. Also apply ruff auto-format to test file (unnecessary parentheses removal).